ActiveVOS Designer User’s Guide

Validate

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 bpel:invalidVariables fault.

Note that you can also validate the specific variables used within an assign activity. See Assign for details.

Note also that if the Keep Source Element Name attribute is enabled on a copy operation, it may cause the target variable to be invalid.

For an overview of WS-BPEL validation features, see Validating Variables.

Required Properties

Optional Properties

Variables

Name. See Selecting Activity Labels

Join Condition. See Creating a Join Condition for an Incoming Link

Suppress Join Failure. See Process Properties

Comment. See Adding Comments to a Process

Documentation. See Adding Documentation to a Process

Setting Visual Properties and Using Your Own Library of Images

Extension Attributes and Extension Elements. See Declaring Extension Elements and Attributes.

To add a validate activity to the process:

  1. From the Activity palette, drag a validate activity to the Process Editor canvas.
  2. Double-click the validate to open the Select Variable dialog.
  3. Alternately, in the Properties view, click in the Variables field and select the Dialog Button.

  4. In the Select Variable 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.

validate activity

XML Syntax

<validate variables=”BPELVariableName-list”
    standard-attributes>
  standard-elements
</validate>