hello!
I am hoping someone might have a solution/workaround to this. I want to be able to use two (non-numeric) fields to dictate symbology in AGOL. Initially, I tried an arcade expression like the one seen in this article, however, doing this with two text fields acts like it works in the viewer, but ends up returning an error.
Method of writing an arcade expression for two fields, which does not work
Followed by:
warning error after trying to use the expression
Which inevitably means that this does not work.
___________________________
Is there another way to write an arcade expression that returns a number based on two (text field) statuses?
I have tried a When(IIf() method along with variables for each combination of category and status, which didn't work because of booleans.
Here is a bit of information on the data I am working with:
- The two fields are
1. Issue Category which is a single select option in a survey123 web form
2. Status which was added as a field after the survey but is entered through a list/domain. The only options are open/closed.
Each issue category needs to have an open and closed status. We have set up SVG symbols with either a red or green background with an icon to identify information.
Currently, we found a workaround to set the symbology in ArcGIS Pro and then upload a web map. This is fine for now, but it limits the ability to quickly change symbology if necessary.

If anyone has done something like this before or has any guidance, anything is appreciated!!
Thank you!