IF-Else Function

Top Previous Topic Next Topic  Print this topic

If-Else function is a block with three entries. Depending on the boolean value of the entry named condition, true or false entry will be selected.

 

The sample below describes the syntax of the if-else-function:

 

 

<das:if-else-function>

               <das:in-param name="condition" src="ret1"/>

               <das:in-param name="true" src="const2"/>

               <das:in-param name="false" src="const3"/>

               <das:return-value id="ret3"/>

</das:if-else-function>

 

 

Attributes:

id - unique identifier of this resource in the current processing job.

 

Children elements:

<das:in-param> - the function must have exactly three named params. The name of the params must be condition, true and false.

<das:return-value> - specifies the id from which the result value of the function will be referenced in the current job.