Since web map viewer in Portal does not support pop-ups for related tables yet, I'm trying to create a workaround with Arcade.
I want to label features based on if they have one of the three Global IDs from the related table.
Example:
If assignmenttype = {E4929F7E-B6D0-4DB9-8381-522FBAE6EE52} display the text "Hydrant Inspection"
if assignmenttype = {89FFDD54-95A3-41C8-B4A6-EEA3C18448F2} display the text "Valve Inspection"
if assignmenttype = {64A1361F-4B63-4949-B081-303D55F93346} display the text "Service Inspection"
What would be the best arcade function to configure?