We recently proposed a solution for Road Status and Damage Assessment using the ArcGIS Platform to respond to events. This video is a demonstration of that workflow and highlights the ability of ArcGIS mobile applications to integrate and work together to provide organizations with a solution to answer the following questions:
All of the applications in this demonstration were configured and can be reconfigured for any unique workflows. The form was based on requirements from New York State DOT and the damage assessment form can be swapped out for FHWA or any custom State DOT specific damage assessment form. The applications are commercial off the shelf and fully supported by Esri. Even the notification framework used to notify me that a new work order was generated uses the new Survey123 Webhooks. We even created a work order in WorkForce for ArcGIS using webhooks. All in all, not one single line of code was written to support this workflow. If you have questions don't hesitate to reach out to anyone on the Esri Transportation Practice. Keith King Sean Dolan Gary Waters
Thank you for the great webinar. I know how to create a webhook for Survey123 but can you tell me how you setup the webhook to create an assignment in Workforce?
Thank you,
Michelle
I can answer that one. The assignments in Workforce are managed through a feature service that gets automatically created with the Workforce project. You can add a work assignments by simply adding a feature to that feature service. To do that you call the applyEdits operation on the feature service. Below is a screen shot of how we setup Integromat to update the feature service:
And below is the json that we put into the adds key:
[{"geometry":{"x":{{1.feature.geometry.x}},"y":{{1.feature.geometry.y}},"spatialReference":{"wkid":{{1.feature.geometry.spatialReference.wkid}}}},"attributes":{"status":0,"description":"{{1.feature.attributes.damageFeature}} {{1.feature.attributes.assetID}} has the condition of {{1.feature.attributes.bridgeStatus}}. {{1.feature.attributes.featureComments}}
Bridge located on Route {{1.feature.attributes.routeID}} at measure {{1.feature.attributes.begin_Log}}. Inspected by {{1.feature.attributes.fieldInspector}} {{1.feature.attributes.fieldPhone}}.","notes":"","priority":null,"assignmentType":1,"workOrderId":null,"dueDate":null,"workerId":null,"location":"{{1.feature.attributes.assetID}} @ {{1.feature.attributes.routeID}} and {{1.feature.attributes.begin_Log}}","declinedComment":null,"assignedDate":null,"assignmentRead":null,"inProgressDate":null,"completedDate":null,"declinedDate":null,"pausedDate":null,"dispatcherId":1}}]