Select to view content in your preferred language

How to update most recent survey date using power automate?

525
1
08-17-2020 12:17 PM
by Anonymous User
Not applicable

There was a brief demo in the UC2020 ArcGIS Survey123: Workflow Automation with Webhooks video on updating the most recent survey date to the fire hydrant. I would like to do the same with my surveys. However, I am running into a few errors. Any chance there will be a more formal walkthrough of how to do this in power automate? Ismael Chivite

Tags (2)
0 Kudos
1 Reply
JamesTedrick
Esri Esteemed Contributor

Hi Justice,

Apologies for the delay in response.  The basic steps are:

  1. Receive the Survey information
  2. Determine which feature needs to be updated.  This is done by using an HTTP action to query the Feature Service Layer of your assets, using a unique identifier (asset id, asset, globalid, etc.) that is stored in the form
  3. Update the feature using an ApplyEdits action on the feature layer of your assets, again using an HTTP operation.

Note for the feature layer HTTP actions, you will likely need a token (as the layer should be secured); currently Power Automate cannot access the token from the webhook submission, so you will need to supply a token for the webhook to use. 

0 Kudos