Looking to append my existing survey123 points automatically to workforce as assignments. Can this be done without Python?
Ok thanks. Can this also allow for auto dispatch (auto assignment) to a worker?
Simplest way would be to build your survey based on the assignments layer that was created for you workforce project - see link below. That way any submitted survey record directly creates a new assignment within workforce.
Use Survey123 with existing feature services—Survey123 for ArcGIS | ArcGIS
What I did was just place the Survey123 feature service in both the worker and dispatcher web maps. Seems to be working that way. Can I trip emails once an assignment has been set to complete, etc?
The two options for that workflow are:
1. Using webhooks with some kind of custom endpoint
2. Polling the survey123 features layer using a script. You'd write a Python (or other language) script that runs every 5 minutes (or whatever interval you decide) on a server. The script identifiers new features and then will create an assignment in the Workforce Assignments layer.
Aaron,
How would any new point that is created in Survey123 be added to Workforce at the same time?
Thanks
Hi Joe,
You don't necessarily need Python. Workforce assignments are stored in a Feature layer. So anything that can add features to a feature layer can accomplish this. That said, Python is the most popular tool used.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.