How to Add Inputs for Business Rule

To add inputs for business rule:

  1. In the Create Business Rules dialog, from the menu next to the Add icon select Add Input Variable... to create the input variable.

    This displays the Add Input Variable dialog box.

  2. In the Add Input Variable dialog box, expand the Process folder and select the Variables folder immediately inside the Process.
  3. Right-click the Variables folder, and from the list select Create Variable... as shown in Figure 25-8.

    This displays the Create Variable dialog box.

  4. In the Create Variable dialog box, in the Name field enter a value. For example, enter RatingRequest as shown in Figure 25-9.

    Figure 25-9 Create Variable Dialog

    Description of Figure 25-9 follows
    Description of "Figure 25-9 Create Variable Dialog"
  5. In the Create Variable Type area click the Browse Elements icon. Use the navigator to locate the schema element type for the input variable. For example, select the ratingrequest type. Add any needed types using the Type Chooser.
  6. Click the Import Schema File icon to import the schema. For example, import CreditRatingTypes.xsd. Also import any other required schema for your application.
  7. In the Type Chooser dialog, select ratingrequest and click OK.
  8. In the Create Variable dialog, click OK.
  9. In the Add Input Variable dialog, click OK.