I've got this arcade script I use in ArcGIS Pro to symbolize my layer based on whether or not it has a value in the specified field. It doesn't work when I try to put this into a web map. What do I need to change so I can use this for AGOl symbology? I'm trying to avoid adding a field just for symbolization.
var x = $feature.PLAT_NUM;
IIF(IsEmpty(x), "Pending","Active");