IDENTIFIER MathVariable Type
The IDENTIFIER math variable type provides the same functionality as a Field element with an Identifier datatype. It generates a unique value by combining values derived from other fields together with a sequence number. The IDENTIFIER math variable type can appear in <Math> and <ScreenMath> configurations.
| Element/Tag | Attributes | Parent Element | Description | Element/Attribute Value |
|---|---|---|---|---|
|
<MathVariable> |
|
|
||
|
VARIABLENAME |
Required |
Literal text string | ||
|
TYPE |
Required |
IDENTIFIER
|
||
|
DATATYPE |
Required |
TEXT If the Type is IDENTIFIER, the datatype is preset to TEXT. |
||
|
LOG |
Optional |
Yes/No Literal text string. A value of "Yes" will log results to AsActivityMath. |
||
|
CLEARVALUE
|
Optional |
Value: Yes / No Default Value: No
Yes: The value of the math variable will be deleted after the execution of all the Attached Rules at the end of activity processing and will not be visible on the Math tab in the Activity details screen. No: The value of the math variable will be retained after activity processing and will be displayed in the Math tab in the Activity details screen. |
||
|
<Parts> |
|
<MathVariable> |
Required: |
XML Example
<Math ID="MyMath" GLOBAL="No">
<MathVariables>
<MathVariable VARIABLENAME="ConfirmationNumberMV" TYPE="IDENTIFIER" DATATYPE="TEXT" LOG="Yes">
<Parts>
<Part TYPE="FIELD">SomeFieldName</Part>
<Part TYPE="FIELD">MyMath:Prefix</Part>
<Part TYPE="VALUE">N</Part>
<Part TYPE="SEQUENCE" FORMAT="0000000000">ConfirmationNumberMV</Part>
</Parts>
</MathVariable>
<MathVariables>
</Math>