Run an Arcade Script
I need some help running an Arcade script that returns a number from aformula that will update a condition index field. I've been going through the documentation but have so far come up empty.
On the Run Arcade Script activity, I'm passing in the attributes property of a feature (ie. myFeature.feature.attributes) that I need to be accessible in the script, I can see the expected result under the 'parameter' property in the DEV console. Where I'm running into issues is accessing the parameter information in the script, when I run the workflow with the below arcade script, it returns "Error: Line 1: Unexpected token.... "
{"feature":=$InspectionFeature.feature.attributes};
var value2 = 1;
return $feature.ROADWAYSEVERITY*value2;
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
0 Kommentare