Is there a way to calculate the time between a job being assigned and completed in workforce? I cannot seem to find any examples or resources any pointers would be useful.
Many thanks
Hi Thomas,
This doc topic has some information on how to do this:
Automate and script Workforce—Workforce for ArcGIS | Documentation
Craig
Thanks Craig, I will make my way there. Much appreciated!
Hi Craig,
Thomas,
The doc doesn't have an outlined example of how to calculate the total time spent on an assignment, but the section titled Assignment status date and time fields does document the various date/time fields for each status.
You'd want to subtract the assignedDate from the completedDate.
The rest of the section explains how the date/time fields work.
Let me know if that helps.
Craig