<?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: automatic workforce assignments in ArcGIS Workforce Questions</title>
    <link>https://community.esri.com/t5/arcgis-workforce-questions/automatic-workforce-assignments/m-p/820123#M897</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Aaron, this is great advise and I will investigate these options.&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Jana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 May 2019 23:02:50 GMT</pubDate>
    <dc:creator>JanaKaeppler1</dc:creator>
    <dc:date>2019-05-16T23:02:50Z</dc:date>
    <item>
      <title>automatic workforce assignments</title>
      <link>https://community.esri.com/t5/arcgis-workforce-questions/automatic-workforce-assignments/m-p/820121#M895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello GeoNet Community.&lt;/P&gt;&lt;P&gt;I wonder whether anyone would have experience in using automated processes in workforce.&amp;nbsp;How would I achieve for workforce to automatically generate an unassigned assignment when a&amp;nbsp;related Survey123 form has picked up certain data. My example here would be: A Survey123 form picks up identified welfare needs. As these needs get picked up an associated workforce project would then automatically create an unassigned assignment for each identified need? Is there a way this could be achieved?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks!&lt;/P&gt;&lt;P&gt;Jana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 May 2019 00:43:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workforce-questions/automatic-workforce-assignments/m-p/820121#M895</guid>
      <dc:creator>JanaKaeppler1</dc:creator>
      <dc:date>2019-05-16T00:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: automatic workforce assignments</title>
      <link>https://community.esri.com/t5/arcgis-workforce-questions/automatic-workforce-assignments/m-p/820122#M896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is definitely possible but likely will involve some custom development. Basically you'll want to add a webhook to your survey that fires when a survey is submitted. You'll need to configure a web server to accept the&amp;nbsp;payload from Survey123. When you receive the payload, you're web server will have to determine what to do, in this case you'll want it to create a new assignment in your workforce project. That web server will need to be publicly accessible.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One possible way to do this is to use AWS Lambda&amp;nbsp;with API Gateway. You would create some code as your lambda function and configure API gateway to expose that as a REST API. Then point your Survey123 webhook to this REST API.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another option which is less ideal but possibly easier to implement is to have a script that runs on a schedule. It will check for new surveys in the feature layer and if there is a new survey it could create the Workforce assignment.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We provide the &lt;A href="https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.apps.workforce.html"&gt;Workforce Python API &lt;/A&gt;module that you may find useful, you certainly can use other tools/languages though. We have documented the Workforce schema and provided some information about automation &lt;A href="https://doc.arcgis.com/en/workforce/android-phone/help/workforce-schema.htm"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 May 2019 12:44:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workforce-questions/automatic-workforce-assignments/m-p/820122#M896</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-05-16T12:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: automatic workforce assignments</title>
      <link>https://community.esri.com/t5/arcgis-workforce-questions/automatic-workforce-assignments/m-p/820123#M897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Aaron, this is great advise and I will investigate these options.&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Jana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 May 2019 23:02:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workforce-questions/automatic-workforce-assignments/m-p/820123#M897</guid>
      <dc:creator>JanaKaeppler1</dc:creator>
      <dc:date>2019-05-16T23:02:50Z</dc:date>
    </item>
  </channel>
</rss>

