The Test action type also supports a series of conditional properties that can be used to interact with the primary test action. They represent the values of an expression and when the expression is true, the conditional actions defined will be executed. For example, specify an Exit action to exit the well test sequence. In the XML configuration these conditional actions are specified in the <ExitOnTagValueActions> element.
To learn about how these elements relate to other elements in a well test configuration XML structure, see Well Test Hierarchy.
Example
|
<Actions> <Action type="Test" timeoutValue="TMWTTGT" timeoutValueType="UDC" timeoutValueUpdate="True" timeoutRelativeFacilityLink="" udc="POMSV" operator="=" value="1000" conditionRelativeFacilityLink="Separator" sleeptime="5000"> <SleepTimerActions> <Action type="UisCommand" command="POLL" relativeFacilityLink="Separator" statusUDC="SYCMDSTAT"> <Parameters /> </Action> </SleepTimerActions> <ExitOnTagValueActions> <Action type="Exit" udc="MSG" relativeFacilityLink="Separator" valueType="Text" attribute="" value="POMSV=1000" /> </ExitOnTagValueActions> </Action> </Actions> |
The <ExitOnTagValueActions> element has the following properties:
| Property | Description |
|---|---|
|
Case Sensitive |
Yes |
|
Required |
Yes |
|
Number of Instances Allowed |
1 |
|
Parent Element |
<Action> |
|
Child Elements |
<Action> |
|
Attributes |
None |
The <ExitOnTagValueActions> element has no attributes.