I'm creating an attribute rule for a symbology label field to change when an asset type field is changed. I'm wondering if it's possible to store the original value and then revert to it if someone decides it's incorrect? I've tried storing the OG value as a variable and then returning that at the end of an IIF or When statement.
Here's what I've tried so far and it's not working:
var original_symbol = $originalFeature.symbol
if($feature.ASSETTYPE == 'Drop Manhole'){
return 'MANHOLE_DRP';
} else {
return original_symbol;
}