The validate activity validates the values of process variables against their associated XML and WSDL data definitions. You can add a list of variables to this activity for validation, regardless of whether or how they are used within a BPEL process.
During simulation, if a variable is found to contain an invalid value, the process terminates with a
Note that you can also validate the specific variables used within an assign activity. See
Note also that if the Keep Source Element Name attribute is enabled on a copy operation, it can cause the target variable to be invalid.
For an overview of WS-BPEL validation features, see
Selecting Activity Labels
Join Condition. See
Creating a Join Condition for an Incoming Link
Suppress Join Failure. See
Adding Comments to a Process
Adding Documentation to a Process
Setting Visual Properties and Using Your Own Library of Images
Execution State. See
Viewing the Execution State of an Activity or Link
To add a validate activity to the process:
to the Process Editor canvas.
You can add a background color to the validate task.
Double-click the validate to open the Select Variable dialog.
Alternately, in the Properties view, click in the Variables field and click Dialog (...).
dialog, select one or more process variables for validation against their XML or WSDL definition.
The following illustration shows a simple example of using a validate activity to check the values of variables after an assign activity.