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

The Rule Model enables you to define Business Rule elements and associate them with a Rule Task. In the example, you might define a set of rules to perform an eligibility check for a customer, to determine if the customer is eligible to rent a car.

How to:

To define Business Rule elements and associate them with a Rule Task, follow the steps below:



See also


Create a diagram of type Rule Model; the Rule Model pages display in the Toolbox.




Drag and drop a Rule Task element (Determine Eligibility in the example) from the Rule Flow Activity diagram package onto the Rule Model diagram.




Drag as many Business Rule elements as necessary from the Toolbox (or Project Browser if they exist already) onto the diagram.

You type the rule as the element name here, then define the parameters of the rules using the Rule Composer.


Composing Business Rules


Create a Dependency relationship between each Business Rule element and the Rule Task element.

However, when you bring the rule into the Rule Composer, it automatically creates the Dependency relationship anyway.




Repeat steps 2 - 4 for the next Rule Task element.




The resulting Rule Model resembles the following diagram:


After you have modeled rules for all the Rule Task elements in the Rule Flow diagram, the Business Domain model is ready for code transformation. The code templates for generating technology-specific rule code work hand-in-hand with the EASL code templates to generate the code for the Rule Flow diagram.

Learn more:

Learning Center topics:

(Alt + F1) | Modeling Languages | Business | Business Rule Model
(Alt + F1) | Business Modeling | Business Rules | Define Business Rules