Prev Next

Pass Parameters to Rule Flow Activity

When you generate code for a Rule Flow model, each RuleFlow Activity is rendered as a set of operations or methods. You can pass in Activity Parameters to be used by the Rule Tasks within the Rule Flow Activity, to define what you want the methods to do. You can use the parameters as condition variables or action variables in the Business Rule Decision Table, or as rule variables in the Computation Table for any of the Rule Tasks.

If the Activity Parameter is not accessible to a Rule Task, the system displays an error message.

Access

Context Menu

Project Browser | Double-click Rule Flow Activity element > Parameters

Define parameters to be used within a Rule Flow Activity

Step

Action

See also

1

On the 'Parameters' page, create and define each parameter, in particular the 'Type' and 'Default' values.

Define Parameters

2

Save each parameter and, when you have finished setting all parameters, close the 'Properties' dialog.

Example

In this hierarchy, the parameters m_rent and m_application can be used by any of the Rule Tasks under the ProcessApplication Rule Flow Activity.

Learn more