I am using Arc 10.3.1 and attribute assistant. I would like the attribute assistant to autopopulate a field called [Supervisors] with a conditional statement depending upon the values of other fields. So far I have gotten this expression to work
iif([SM_Zone] = "A" , "Greg" ,"<Null>")
but I need more conditions added and when I add more conditions the expression fails. The expression that is failing is:
iif([SM_Zone]="A" & [REQUEST_TYPE] <> "PW (SM)-Right Of Way Weeds"),"Greg", iif([REQUEST_TYPE] = "PW (SM)-Right Of Way Weeds","Bill","Null")
also I would really like to craft the statement with this logic:
if ([SM_Zone] = "A" & [REQUEST_TYPE] LIKE "%RIGHT%"), "Bill" , "Greg")
ie: if the point is in zone A and the type has %RIGHT% in it then the supervisor is bill, else the supervisor is Greg.
Like I mentioned before I have gotten the simple statement to work but when I add other conditions it fails. Could someone please point me in the correct direction or help identify what is causing the failure.