AnsweredAssumed Answered

A simple arcade question

Question asked by on Sep 4, 2018
Latest reply on Sep 6, 2018 by xander_bakker

Hi - I am new to arcade so need to ask a very simple question...

Is there an 'and' function?

I want to show a warning symbol if a threshold (1951) is met. Each of the objects in the feature class has a different threshold hence I want to isolate each object, then set a value for it. 

I've tried the expression below but 'and' mustn't be an option. 


If ($feature.OBJECTID=9) and ($feature["PI_Value"] >1951)
{return "warning"} else {return "ok"}


Any help would be greatly appreciated...