SYSTEMDATE
Pulls in a date value from the AsSystemDate table. SystemDate is frequently used within Validations or for further manipulation of the SystemDate within a Function. For example, a Function using DaysAdd, DaysDiffOf, MonthsAdd, etc.
| TYPE = SystemDate | |||
|---|---|---|---|
| Element | Attributes | Attribute Value | Element Value |
|
<MathVariable> |
TYPE |
SYSTEMDATE |
System date |
| LOG |
Yes: the result is stored in AsActivityMath table to be used by other activities. No: the result is not stored. This is the default behavior. |
||
| DATATYPE |
DATE |
The Value will always reflect DATE. |
|
|
CLEARVALUE |
Value: Yes / No Default Value: No |
Optional Element: 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. |
|
XML Example
<MathVariable VARIABLENAME="SystemDateMV" TYPE="SYSTEMDATE" DATATYPE="DATE">SystemDate</MathVariable>