<?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: Workforce Editing Workers Table Via REST API and integromat in ArcGIS Workforce Questions</title>
    <link>https://community.esri.com/t5/arcgis-workforce-questions/workforce-editing-workers-table-via-rest-api-and/m-p/802952#M626</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Craig&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have added some additional fields in order to record some items of stock individual workers have on board their vehicles in integer fields.&amp;nbsp; The idea was to reduce the quantity by a certain amount when work was complete and monitor their stock levels. The integromat runs and it appeared to be working however i noticed discrepancies in the values so i went through the integromat history and viewed the results. The scenario shows a successful update where the stock has been reduced&amp;nbsp; by 1 item and the correct values passed through, but in the next scenario it appears as if the value has been reset and the previous scenario did not work as expected. this does not happen every-time it just seems to happen occasionally, most of the time it works.&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/495525_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;First Scenario shows item 2 at 21&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/495591_pastedImage_4.png" /&gt;&lt;/P&gt;&lt;P&gt;Integromat shows succesful update with reduction of 21 to 20&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/495526_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next scenario shows ITEM 2 at 21 again&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Jun 2020 08:27:10 GMT</pubDate>
    <dc:creator>PaulSweeney3</dc:creator>
    <dc:date>2020-06-05T08:27:10Z</dc:date>
    <item>
      <title>Workforce Editing Workers Table Via REST API and integromat</title>
      <link>https://community.esri.com/t5/arcgis-workforce-questions/workforce-editing-workers-table-via-rest-api-and/m-p/802950#M624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a workers table&amp;nbsp; as part of a workforce project that i have added fields to and i use integromat to update each field following the submisison of a survey123 form as required. I thought it was working fine until i noticed that some of the edits are not sticking despite a successful result being returned. is there a reason that a workers table might not take these edits. i was wondering if it may be something to do with the fact its the workers table and it is constantly updating that perhaps there may be some conflict with any attempts i am making in addition to it. Is the workers table not a reliable table to use for additional information that needs regular updates with this method.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2020 16:26:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workforce-questions/workforce-editing-workers-table-via-rest-api-and/m-p/802950#M624</guid>
      <dc:creator>PaulSweeney3</dc:creator>
      <dc:date>2020-06-03T16:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: Workforce Editing Workers Table Via REST API and integromat</title>
      <link>https://community.esri.com/t5/arcgis-workforce-questions/workforce-editing-workers-table-via-rest-api-and/m-p/802951#M625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Paul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We don't usually hear of users adding extra fields to the Workers layer and updating the fields in this manner.&amp;nbsp; Can you go into some details on the use case and what information you're storing in the fields?&amp;nbsp; I can't recall a scenario like this before, all cases of adding other fields are for the Assignments layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Workforce mobile app does update the Workers layer at regular intervals to record the Worker's location changing and their active state.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Craig&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2020 22:11:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workforce-questions/workforce-editing-workers-table-via-rest-api-and/m-p/802951#M625</guid>
      <dc:creator>CraigGillgrass</dc:creator>
      <dc:date>2020-06-04T22:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: Workforce Editing Workers Table Via REST API and integromat</title>
      <link>https://community.esri.com/t5/arcgis-workforce-questions/workforce-editing-workers-table-via-rest-api-and/m-p/802952#M626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Craig&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have added some additional fields in order to record some items of stock individual workers have on board their vehicles in integer fields.&amp;nbsp; The idea was to reduce the quantity by a certain amount when work was complete and monitor their stock levels. The integromat runs and it appeared to be working however i noticed discrepancies in the values so i went through the integromat history and viewed the results. The scenario shows a successful update where the stock has been reduced&amp;nbsp; by 1 item and the correct values passed through, but in the next scenario it appears as if the value has been reset and the previous scenario did not work as expected. this does not happen every-time it just seems to happen occasionally, most of the time it works.&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/495525_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;First Scenario shows item 2 at 21&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/495591_pastedImage_4.png" /&gt;&lt;/P&gt;&lt;P&gt;Integromat shows succesful update with reduction of 21 to 20&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/495526_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next scenario shows ITEM 2 at 21 again&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2020 08:27:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workforce-questions/workforce-editing-workers-table-via-rest-api-and/m-p/802952#M626</guid>
      <dc:creator>PaulSweeney3</dc:creator>
      <dc:date>2020-06-05T08:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: Workforce Editing Workers Table Via REST API and integromat</title>
      <link>https://community.esri.com/t5/arcgis-workforce-questions/workforce-editing-workers-table-via-rest-api-and/m-p/1137136#M2261</link>
      <description>&lt;P&gt;FWIW I'm running into something similar on the Assignments layer. I'm trying to update the Priority field with a score calculated from a Survey123 form, and I'm using Microsoft Power Automate. I've tested extensively and pinpointed the issue to conflicting edits. The workflow to reproduce is:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Mobile worker is editing in offline mode&lt;/LI&gt;&lt;LI&gt;The mobile worker submits the survey and initiates the Power Automate flow&lt;/LI&gt;&lt;LI&gt;Power Automate posts the new Priority to the assignment&lt;/LI&gt;&lt;LI&gt;Mobile worker "finishes" the assignment or otherwise makes edits&lt;/LI&gt;&lt;LI&gt;Mobile worker syncs edits&lt;/LI&gt;&lt;LI&gt;The assignment loses the Power Automate edits but retains the mobile worker's edits.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Something similar happens when the Power Automate flow runs while a dispatcher is editing.&lt;/P&gt;&lt;P&gt;My ideas are that:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;You somehow delay the flow from running instantaneously&lt;/LI&gt;&lt;LI&gt;You run a script overnight that updates those values for the next day&lt;/LI&gt;&lt;LI&gt;You figure out a way to check whether a feature is being edited, and make the flow wait to post its update until the feature is no longer being edited.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;There must be a way to do idea 3, because the dispatcher side has the edit button disabled when mobile workers are actively editing:&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screen Shot 2022-01-25 at 2.21.27 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/32293i6835E1B9D1E978EC/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2022-01-25 at 2.21.27 PM.png" alt="Screen Shot 2022-01-25 at 2.21.27 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe this illuminates something for you or ESRI...&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 21:47:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workforce-questions/workforce-editing-workers-table-via-rest-api-and/m-p/1137136#M2261</guid>
      <dc:creator>Jesse</dc:creator>
      <dc:date>2022-01-25T21:47:21Z</dc:date>
    </item>
  </channel>
</rss>

