Use¶
Selects which field or local variable becomes the output of the rule chain.
When multiple source fields map to a CDM field, or several local field
variables exist, Use selects which one is committed. Use always
removes the input fields and leaves only one output, even when an
output field is explicitly defined. Use allows multi-sized results.
Writing Use(:Result) => :Result keeps the named field in the rule
chain so it remains addressable as :Result downstream.
Parameters¶
- 1 —
primaryMandatory — accepts: field -
The field or local field variable to commit to the CDM field.
- N —
extrasOptional — accepts: field -
Additional fields or local field variables — used when committing to a multi-sized CDM field.
Input type¶
DATEFLOATINTSTRING
Output type¶
Same type as the input — array-shaped when used with [].
Requires¶
- Allows multi-sized results.
Examples¶
Single result
Multi-sized result
Use a CDM field
Keep the result accessible downstream
Leaves :Result in the rule chain so it can still be referenced.