I have a point layer that contractors use to record the status of plantings. Initially, contractors record an observation for each plant. If the plant needs to be replaced, they click on their observation point and record the planting details at the time of replanting. The calculated expression will automatically update the symbology of the point from the value recorded in the ObsStatus field to the domain value "Alive Healthy" (by updating the value in the Current Status field using the arcade script). My issue is that the script works in ArcGIS Online, but not in Field Maps 24.1.0. Why?
var replantingdate = $feature.ReplantDate
var currentstatus = $feature.CurrentStatus
var obsstatus = $feature.ObsStatus
if (!isEmpty(replantingdate)) {
return "Alive healthy"
} else {
return currentstatus = obsstatus
}


