Creating action tasks

You can add an action task to specify rule action statements to be executed as part of the ruleflow.

About this task

An action task contains rule action statements to be executed. You define the actions of an action task in the same way that you define the actions for business rules, by using BAL. Unlike the actions of business rules, however, action tasks can only use the action phrases associated with ruleset parameters. You can also define actions in IRL.

To add action tasks to the ruleflow diagram, you add the action task object to the ruleflow, define the contents of the action task and, if required, add a documentation to the action task.

Procedure

To add an action task:

  1. In the Rule Editor palette, click Action task button Create an action task and click in the ruleflow diagram.

    An action task is added to the diagram with a generic task name, for example, task_0. The action task name appears in the Outline view.

  2. In the Properties view, tabs are provided to specify an action statement, an initial action and final action. In each tab you can select Use BAL for action to write the action in BAL or write the action in IRL.

Results

You can view and edit the action task, initial and final action code at any time in the Properties view.