< Previous | Next >

Defining business rules

In this lesson, you will convert the artifacts from WebSphere® Business Modeler into an artifact that you can deploy to the server.

Business rules must exist to specify criteria that allow the automated processes to run without further human intervention. In WebSphere Business Modeler you defined the template and if-then rule for autoApproval. However, the one implementation details that is still missing is to initialize the output variable before running the if-then rule.

Complete the following steps:

  1. In the project tree, expand ClipsAndTacksF1 and select Integration Logic > Rule Logic > processes/orderhandling.
    Project navigation tree
  2. Double-click AutoApprovalF1. If the Generated File Warning displays, click Yes. The business rule set editor opens.
  3. Click the Add Action Rule icon Add Action Rule icon under Rules.
  4. To copy the input variable to the output variable, click Action and select Output:Order. Then select = and then Input:Order.
    Action menu
  5. Right click on the new rule and select Move Rule Up
  6. Save your work.

At this point, all of the errors are resolved. The following image shows the completed rule logic.

AutoApprovalF1 rule logic

< Previous | Next >