Quick explanation of my end goal: I have two features selected, on on layer A and one on layer B. This tool should only affect the two features, and not the entire layer. I want a couple specific field values from feature A to be analyzed. If they meet criteria, the corresponding fields on Feature B will have their values set to match. I am using Model Builder
I am using Get Field Value to get the value. I have plugged that into Calculate Field in the following ways and gotten these errors:
- expression = Error: "Invalid Arcade expression, Arcade error: Semicolon or new line expected"
- code block = Error: "Invalid Arcade expression, Arcade error: Object not found String"
- going into the code block and changing String (what it added by default when choosing code block) to %String% or %"String"% = Error: "Invalid Arcade expression, Arcade error: Identifier expected"
- going in and using "%String%" = fills the field with %String%
- going in and using %CustomerName% (what i renamed the output of Get Field Value) =
- "Invalid Arcade expression, Arcade error: Semicolon or new line expected"
I've tried a few other things that I found on the internet. nothing has worked.