XPATH
Use the XPATH type to allow a math variable to be set up that will parse through the stored XML as a source object for the data element name and return the value from the XML.
Important: This math variable is most effectively used in situations where an external call is received by OIPA and provides information that needs to be parsed. It is not recommended for general configuration.
| TYPE=XPATH | ||||
|---|---|---|---|---|
| Element | Attributes | Parent Element | Description | Element/Attribute Value |
|
<MathVariable> |
TYPE
|
Requires SOURCE math variable that has a DATATYPE of "XML". Use DEFAULT to override a null value return.
|
||
|
Yes: the result is stored in AsActivityMath table to be used by other activities. No: result is not stored. This is the default behavior.
|
||||
|
CLEARVALUE |
Optional Element |
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. |
||
XML Example
<MathVariable VARIABLENAME="XPathTextMV1" TYPE="XPATH"
SOURCE="XmlFieldlMV"
DATATYPE="TEXT">"Examples/ExampleText"
</MathVariable>