Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

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     Project Browser | Double-click Rule Flow Activity element > Parameters

Define parameters to be used within a Rule Flow Activity



See also


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


Define Parameters


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




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