Select to view content in your preferred language

Workflow Manager Webhook is not executing Extract Changes

460
0
09-19-2023 06:06 PM
HéctorMeléndez
Esri Contributor

I have followed this blog: "Using the Feature Service Webhook Extract Changes Option in ArcGIS Workflow Manager" to configure a webhook with a reference feature service. I have tested the feature service ExtractChanges endpoint with Postman and is performing as expected. When I edit my feature service the webhook is triggered and Workflow manager creates a job. The job has the initial payload of the webhook attached but not the extract changes. If I look at the JobsActionOutputs table there is no 'value' property in the array. Below is the configuration of the workflow manager Create webhook.

Webhook configuration with Output Value and Extraction Path configured. The extraction path returns an array since the webhook can contain one or more edits in a single request.

HctorMelndez_2-1695171948793.png

 

Parameters for output and extraction path:

  • oids - $['edits'][0]['features']['adds'][*]['attributes']['OBJECTID']
  • locations - $['edits'][0]['features']['adds'][*]['geometry']
  • edited_dates - $['edits'][0]['features']['adds'][*]['attributes']['last_edited_date']

JobActionOutputs:

HctorMelndez_1-1695171339449.png

 

 

0 Kudos
0 Replies