Summary
This command retrieves a date value from the specified “path”. The path must specify a value that resolves to a date.
Attributes
- path (required)
- type (not required) – This attribute specifies the data type. This parameter does not need to be added by the designer but will be added by either the compile or decompile process automatically and it does appear in many examples.
The previous value attributes can also be used with this command.
Parameters
- none
Example
<script scriptId="randomCheck1"> <body> <s:alert> <s:expression> <s:or> <s:not><s:isSet/></s:not> <s:not><s:isSet> <s:question> <s:question path="/day1/ds3.evdt4"/> </s:question> </s:isSet></s:not> <s:gte> <s:datePath path=":value"/> <s:datePath path="/day1/ds3.evdt4:value"/> </s:gte> </s:or> </s:expression> <s:correction> <s:string value="optional"/> </s:correction> <s:text> <s:string value="Date of contact is before the date of randomization. Please clarify."/> </s:text> </s:alert> </body> <target typeId="evdt6_" when="preprocess" shouldReconcile='true'/> <dependent path="/day1/ds3.evdt4"/> </script>
Need more help?
Please visit the Fountayn Contact Information page.