Hi there, very new to the world of Arcade and i'm failing miserably it seems. What I am trying to do is create 3 symbology levels 'Severe Danger', 'Medium Risk' and 'Low' based on 2 attribute fields. riskrangehuman and riskrangeproperty that are updated offline and I want the symbology of the points to change based on the information entered,
If the value in riskrangehuman is 3 or 2 AND the value in riskrangeproperty is 3 I want it to be categorised as 'Severe Danger'
If the value in riskrangehuman is 2 AND the value in riskrangeproperty is 3, I want it to be categorised as 'Medium Danger'
For everything else I want it to be symbolised as 'Low Risk'
When($feature.riskrangehuman == '3' || $feature.riskrangehuman == '2') && ($feature.riskrangeproperty == '3'), 'Severe Danger'
($feature.riskrangehuman == '2') && ($feature.riskrangeproperty == '3' || $feature.riskrangeproperty == '2'), 'Medium Risk',
'Low risk' )
I get an error saying "Parse Error:Line 4: Unexpected token )"
Any help would be really appreciated