Workforce - Add Worker Name and Assignment Type to Assignments

849
2
03-25-2020 05:52 PM
Status: Open
JessicaFraver1
New Contributor III

Please consider somehow adding Worker Name and Assignment Type description fields to the Assignments layer of Workforce projects without the need for Arcade or other workarounds.

Currently, dashboard is unable to pull in arcade expressions, so I cannot display worker names in the List widget. Instead, I have to enable an action to open a pop-up that displays the arcade expression value of worker name when you click on a List item. You also cannot order by label name in dashboard charts, so even if you manually entered in every worker's full name for each WorkerId - a tedious process that requires manual updates as workers change - your graph still orders by WorkerId instead of alphabetically by name. 

The useful descriptions of Worker Name and Assignment type could also more easily be brought into other applications like webhooks used in Survey 123. I still have not figured out how I can display the assignment type and worker name in an email sent after submission of a survey created from a view of the assignments feature layer. I can only bring in WorkerId and the AssignmentType integer values, which are not helpful to the email recipient.

2 Comments
ScottKiley

Domain descriptions should always propagate across the entire ArcGIS Platform. Nobody ever wants to see the code value that represents a something meaningful to people in the real world.

JasminePrater

I was able to pull in worker names, because I gave each worker a field in the table, then I added those fields in the List Options with each field on a new line.  Those that aren't selected don't show up, nor do they add extra linebreaks to the list.  It's not as clean as I'm sure we would all like, plus it does add extra fields to the table, but I already had those for another function I was using in the Survey.  The attached photo is a quick screenshot of my setup, for reference.



Dashboard List.png