<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Automatically generating assignments in Workforce in ArcGIS Workforce Questions</title>
    <link>https://community.esri.com/t5/arcgis-workforce-questions/automatically-generating-assignments-in-workforce/m-p/818196#M842</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What does "leak_point" contain? Seems like that might be an empty list. Are you sure features are returned from your query?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Sep 2019 20:29:33 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2019-09-18T20:29:33Z</dc:date>
    <item>
      <title>Automatically generating assignments in Workforce</title>
      <link>https://community.esri.com/t5/arcgis-workforce-questions/automatically-generating-assignments-in-workforce/m-p/818188#M834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was wondering if there was a way to create assignments in Workforce automatically with survey123 or any other means without having to generate assignments manually. I am simply looking into automating certain tasks so any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2018 14:08:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workforce-questions/automatically-generating-assignments-in-workforce/m-p/818188#M834</guid>
      <dc:creator>RPGIS</dc:creator>
      <dc:date>2018-07-10T14:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically generating assignments in Workforce</title>
      <link>https://community.esri.com/t5/arcgis-workforce-questions/automatically-generating-assignments-in-workforce/m-p/818189#M835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, our team provides and maintains sample scripts here:&amp;nbsp;&lt;A class="link-titled" href="https://github.com/Esri/workforce-scripts" title="https://github.com/Esri/workforce-scripts"&gt;GitHub - Esri/workforce-scripts: A set of scripts to help administer Workforce projects.&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We leverage the Workforce submodule in the Python API which is documented here:&amp;nbsp;&lt;A class="link-titled" href="https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.apps.workforce.html" title="https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.apps.workforce.html"&gt;arcgis.apps.workforce module — arcgis 1.4.2 documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just added some Jupyter notebooks to the Repo which show how to automatically created assignments from existing layers, csv files, and sql databases. If you happen to be at the Users Conference this week, there is a session on Wednesday which will go over this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2018 14:13:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workforce-questions/automatically-generating-assignments-in-workforce/m-p/818189#M835</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-07-10T14:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically generating assignments in Workforce</title>
      <link>https://community.esri.com/t5/arcgis-workforce-questions/automatically-generating-assignments-in-workforce/m-p/818190#M836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aaron,&lt;/P&gt;&lt;P&gt;Unfortunately, I don't get the&amp;nbsp;chance to attend the UC this year. But being able to populate assignments&amp;nbsp;into Workforce by using existing&amp;nbsp;feature layers and/or Survey 123 would be extremely valuable - it would help with a lot of workflows!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2018 19:59:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workforce-questions/automatically-generating-assignments-in-workforce/m-p/818190#M836</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-07-10T19:59:05Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically generating assignments in Workforce</title>
      <link>https://community.esri.com/t5/arcgis-workforce-questions/automatically-generating-assignments-in-workforce/m-p/818191#M837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aaron,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where red can I find your information on automatically creating the work orders from an existing feature layer. This is something I need to work on and it would be helpful to have your information on how to do this. Thank you.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Apr 2019 14:46:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workforce-questions/automatically-generating-assignments-in-workforce/m-p/818191#M837</guid>
      <dc:creator>JenniferStarbuck1</dc:creator>
      <dc:date>2019-04-05T14:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically generating assignments in Workforce</title>
      <link>https://community.esri.com/t5/arcgis-workforce-questions/automatically-generating-assignments-in-workforce/m-p/818192#M838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are two notebooks the show this workflow:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/workforce-scripts/blob/master/notebooks/dev_summit_2019/Step%203%20-%20Add%20Assignments%20From%20Existing%20Layer.ipynb"&gt;https://github.com/Esri/workforce-scripts/blob/master/notebooks/dev_summit_2019/Step%203%20-%20Add%20Assignments%20From%20Existing%20Layer.ipynb&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/workforce-scripts/blob/master/notebooks/examples/2%20-%20Importing%20Assignments.ipynb"&gt;https://github.com/Esri/workforce-scripts/blob/master/notebooks/examples/2%20-%20Importing%20Assignments.ipynb&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Apr 2019 15:06:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workforce-questions/automatically-generating-assignments-in-workforce/m-p/818192#M838</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-04-05T15:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically generating assignments in Workforce</title>
      <link>https://community.esri.com/t5/arcgis-workforce-questions/automatically-generating-assignments-in-workforce/m-p/818193#M839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Howdy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting stuck on the second input box&amp;nbsp;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/459749_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am thinking I need to customize line three to my workforce project. How do I do this/where do I find the information custom to my project?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Sep 2019 17:16:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workforce-questions/automatically-generating-assignments-in-workforce/m-p/818193#M839</guid>
      <dc:creator>RobbieEisenrich</dc:creator>
      <dc:date>2019-09-17T17:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically generating assignments in Workforce</title>
      <link>https://community.esri.com/t5/arcgis-workforce-questions/automatically-generating-assignments-in-workforce/m-p/818194#M840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to import the workforce module before that line. &lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;from arcgis.apps import workforce&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;You can find the item id of your project in the url on the item details page for the Workforce Project item, or in the url when the project is open in the Workforce web app.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Sep 2019 23:33:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workforce-questions/automatically-generating-assignments-in-workforce/m-p/818194#M840</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-09-17T23:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically generating assignments in Workforce</title>
      <link>https://community.esri.com/t5/arcgis-workforce-questions/automatically-generating-assignments-in-workforce/m-p/818195#M841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Apologies, I have this 'arcgis.apps import workforce' on a earlier line. Below is the full note book&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/459902_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Running this I still receive no output and a blank map. Any idea on where I may be going wrong. If it is easier my email is reisenrich@matchpointinc.us&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Sep 2019 19:22:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workforce-questions/automatically-generating-assignments-in-workforce/m-p/818195#M841</guid>
      <dc:creator>RobbieEisenrich</dc:creator>
      <dc:date>2019-09-18T19:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically generating assignments in Workforce</title>
      <link>https://community.esri.com/t5/arcgis-workforce-questions/automatically-generating-assignments-in-workforce/m-p/818196#M842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What does "leak_point" contain? Seems like that might be an empty list. Are you sure features are returned from your query?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Sep 2019 20:29:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workforce-questions/automatically-generating-assignments-in-workforce/m-p/818196#M842</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-09-18T20:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically generating assignments in Workforce</title>
      <link>https://community.esri.com/t5/arcgis-workforce-questions/automatically-generating-assignments-in-workforce/m-p/818197#M843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;leak_point is a feature service i have set up with two points in it. How should i be referring to it?&lt;/P&gt;&lt;P&gt;layer = gis.content.get("28f6b055244344d7aca27b98ffa0fbe6").layers[0]&lt;BR /&gt;leak_point = layer.query("1=1", out_sr=3857).features&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is a snap shot of the item id&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/459925_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Sep 2019 22:10:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workforce-questions/automatically-generating-assignments-in-workforce/m-p/818197#M843</guid>
      <dc:creator>RobbieEisenrich</dc:creator>
      <dc:date>2019-09-18T22:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically generating assignments in Workforce</title>
      <link>https://community.esri.com/t5/arcgis-workforce-questions/automatically-generating-assignments-in-workforce/m-p/818198#M844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you do&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;print(layer.query("1=1", out_sr=3857).features)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;what does that print in your notebook?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, you have invalid attribute names. Anything that is&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;feature.attribute[]&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;needs to reference a field name in your layer. So your priority and description are invalid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, the first parameter in&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;gis.map()&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;is a location that gets geocoded, so your map might not show since your string may be able to be geocoded.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Sep 2019 23:06:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workforce-questions/automatically-generating-assignments-in-workforce/m-p/818198#M844</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-09-18T23:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically generating assignments in Workforce</title>
      <link>https://community.esri.com/t5/arcgis-workforce-questions/automatically-generating-assignments-in-workforce/m-p/818199#M845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!!!!!&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/459932_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I worked through the steps you gave me and got it to work.&amp;nbsp; First did the print option but I got no output as you suspected. I then tired a different feature service with only one layer in it and this worked. I also adjusted the priority and description fields to match fields in my layer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Such a cool tool! Thank you for putting this out there!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2019 00:16:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workforce-questions/automatically-generating-assignments-in-workforce/m-p/818199#M845</guid>
      <dc:creator>RobbieEisenrich</dc:creator>
      <dc:date>2019-09-19T00:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically generating assignments in Workforce</title>
      <link>https://community.esri.com/t5/arcgis-workforce-questions/automatically-generating-assignments-in-workforce/m-p/818200#M846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Howdy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I am having one last issue. I am testing with another layer that does not have a address field (Location). Is it possible to pull the location from somewhere else or does the address field have to be present with any layer I am using ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2019 14:29:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workforce-questions/automatically-generating-assignments-in-workforce/m-p/818200#M846</guid>
      <dc:creator>RobbieEisenrich</dc:creator>
      <dc:date>2019-09-19T14:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically generating assignments in Workforce</title>
      <link>https://community.esri.com/t5/arcgis-workforce-questions/automatically-generating-assignments-in-workforce/m-p/818201#M847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could put any string in there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2019 14:37:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workforce-questions/automatically-generating-assignments-in-workforce/m-p/818201#M847</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-09-19T14:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically generating assignments in Workforce</title>
      <link>https://community.esri.com/t5/arcgis-workforce-questions/automatically-generating-assignments-in-workforce/m-p/818202#M848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Howdy again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to get the location working. Would it also be possible to pass parameters through from a newly created field in the assignments feature service? I tested with a new field in various data types but kept getting a error with the name of the new field in the assignments layer I generated&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/460242_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Sep 2019 03:20:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workforce-questions/automatically-generating-assignments-in-workforce/m-p/818202#M848</guid>
      <dc:creator>RobbieEisenrich</dc:creator>
      <dc:date>2019-09-24T03:20:25Z</dc:date>
    </item>
  </channel>
</rss>

