Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Define Computation Rules
Define a computation rule
Step |
Action |
See also |
---|---|---|
1 |
From the Project Browser, drag and drop the appropriate attribute from a Class in the Fact model into the Computation Rule Actions field. Both the Computation Rule Actions field and the Expression field enable you to use intellisense to display a list of possible entries for the fields; press (Ctrl+Spacebar ) in the field to display the list of entries.
|
|
2 |
In the Expression field, type the expression to be evaluated.
|
|
3 |
In the Rule Bindings field, type the rule number from the Rule table of the rule being modeled, to link the table data to the rule.
|
|
4 |
If the rule depends on another rule being satisfied first, type the number of that rule in the Rule Dependency field.
|
|
5 |
Click on the Save icon in the Rule Composer toolbar to save the computation rule. If the computation rule is also a Rule Conditions rule, add the condition variable in the Decision table and bind the appropriate rule in the Rule Bind section.
|
|