Good Morning Tory,
I am currently using two main methods for passing Geometry into Workforce!
Let me know if these help:
1) Pre-calculating Easting & Northings to pass to Workforce
- This method is easier and requires ArcGIS Pro or ArcMap.
Calculate Geometry Attributes (Data Management)—ArcGIS Pro | Documentation
- An Northing & Easting field will need to be added to the Hosted Feature Layer that you are launching your Survey123 Form from and within these you will calculate the Easting and Northing values.
- In the below example I have taken a Tile Set and Calculated all the Centroids of the Polygons into two fields within the Hosted Feature Layer.
- Then you can configure Survey123 to pass these Northing and Easting values in the URL Parameters.
- My example opens the Tile Set in Edit Mode, but there is only one field that is edited.
- Survey123 then uses these Northing and Eastings when placing the Workforce Assignment
- From this Survey123 Form there is a Flow looking at it waiting to make an Assignment from this Hosted Feature Layer.
- There is a GET request that is sent first to take the Tile ID and search for its other attributes to pull the Northing and Eastings we calculated earlier. It then places those in when sending the POST request to create the Workforce Assignment.
2) Using MS Power Automate to dynamically convert Coordinates to Easting and Northings for Workforce
- This is used to automatically create an Assignment in Workforce when a Survey123 Form is Submitted.
- Workforce's Hosted Feature Layers utilize ESRI Web Mercator Spatial Reference 102100 while Survey123 captures coordinates in World Geodetic System 84 Spatial Reference 4326.
- Within this Flow a response is sent to the Geometry Server to change the projection and those are then passed to Workforce so the Assignment is placed in the correct location.
Hopefully my explanation is more thorough now! Let me know if I can help with anything
Have a great day!
Kevin T