Override expressions
Use an override expression to modify a Record value by changing the value of one or more of its fields. An override expression:
-
Creates a new Record value where one or more fields have new values, without changing the original value.
-
Converts a JSON object value into a Record value.
-
Provides a convenient way to assign multiple values to the field of Record value using one Assign step instead of multiple steps.
The override expression has the following forms:
-
<Expr>{ "<FieldName>": <Expr>, … , "<FieldName>": <Expr>}
-
<Expr>{<Expr>}
For detailed information about expressions in Robots and how they are edited and evaluated, see Expressions.