Business Process and Data Transformation Language Reference
<if>
|
|
<if condition="1"> <true> ... </true> <false> ... </false> </if>
Attribute or Element | Description | Value |
---|---|---|
Required. An expression that, if true, causes the contents of the <true> element to execute. If false, the contents of the <false> element are executed. | An expression that evaluates to the integer value 1 (if true) or 0 (if false). This expression must use the scripting language specified by the containing <process> element. | |
See |
||
<annotation> element | ||
<true> element | Optional. If the condition is true, activities inside the <true> element are executed. | |
<false> element | Optional. If the condition is false, activities inside the <false> element are executed. |
<sequence name="thread1"> <call name="A" /> <call name="B" /> <sync calls="A,B" type="all" timeout="10" /> // Did the synchronization time out before it finished? <if condition='synctimedout="1"'> <true> <trace value="thread1 timeout: Call A or B did not return." /> </true> // If not, then the calls came back, so assign the results. <false> <assign property="context.TheResultsFromEast" value='syncresponses.GetAt("A")' action="append"/> <assign property="context.TheResultsFromWest" value='syncresponses.GetAt("B")' action="append"/> </false> </if> </sequence>
Copyright © 1997-2019 InterSystems Corporation, Cambridge, MA
|
Content for this page loaded from EBPLR.xml on 2019-02-22 02:07:30
|