Adding an action task node
An action task contains rule action statements to be executed as part of the
ruleflow.
Procedure
- Add an action task node to the ruleflow in one of the following ways:
- Hover over the node or the transition after which you want to add the action task node and click
the Add action task
icon in the
toolbar. - Click the Add action task
icon in the
ruleflow toolbar and connect the node to the ruleflow.
- Hover over the node or the transition after which you want to add the action task node and click
the Add action task
- (Optional) Click the default name of the node to edit it.
- Click the Edit actions
next to
Actions to edit the action task. Enter the actions for the task in the editor. For example:
You can write the rule statement with the rule language or the advanced rule language. For more information about writing actions with the advanced rule language, see ARL task model examples.set the total of 'the rental agreement' to the price of 'the rental agreement' best offer + the coverage subtotal of 'the rental agreement'; - (Optional) Define initial actions and final actions for the action task
node. Initial actions apply before the action task is processed and final actions apply after the action task is processed. You define initial and final actions in the same way as you define actions for an action task.