2.146 Pre Assert Dialog or Post Assert Dialog or Assert Dialog

Use to create an assertion condition that is executed upon receipt of a callback message in request-response invoke activities, receive activities, and onMessage branches of pick or scope activities.

The assertion specifies an XPath expression that, when evaluated to false, causes a BPEL fault to be thrown from the activity. If no fault name is specified in the Pre Assert or Post Assert dialog, it defaults to an AssertFailure exception.

The type of assertion condition you select (preassert or postassert) is displayed in the Type column of the activity.

Element Description

Name (BPEL 1.1 projects only)

Enter a name or accept the default name of Assert_number.

Message

Specify a message to be displayed.

Expression

Click the XPath Expression Builder icon to create an expression.

Fault QName

Click the Browse icon to select the fault to be thrown when the XPath expression is evaluated to false.

Namespace URI

Displays the fault element you selected with the Browse icon.

Local Part

Displays the local part of the qualified name you selected with the Browse icon.

Related Topics

Throwing Faults with Assertion Conditions in Developing SOA Applications with Oracle SOA Suite