2.36 Skip Condition Tab

Use to specify an XPath expression in an activity that, when evaluated to true, causes that activity to be skipped.

The bpelx:skipCondition attribute causes an XPath expression to be evaluated immediately upon creation of the activity instance. If the skip expression returns a false boolean value, the activity is executed. If the skip expression returns a true boolean value, the activity is completed immediately and execution moves to the activity immediately following that one. For example, you may specify an XPath expression such as the following:

"bpws:getVariableData( 'crOutput', 'payload','/tns:rating' ) > 0">

If a value of 3 is returned, the expression evaluates to true, and the activity is skipped.

You can also use built-in and custom XPath functions and $variable references within the skip condition expression.

This functionality provides an alternative to using a switch activity for conditionally executing activities.

Element Description

Skip Condition

Click the XPath Expression Builder icon to specify an XPath expression. When the expression is evaluated to true, it causes this activity to be skipped.

Related Topics

"Specifying XPath Expressions to Bypass Activity Execution" in Developing SOA Applications with Oracle SOA Suite