Book a Demo

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

Prev Next

Local Pre/Post Conditions

Actions can be further defined with pre-condition and post-condition notes, which constrain an Action's entry and exit.

Example Activity diagram with local constraints in Sparx Systems Enterprise Architect

Attach a constraint to an Action

Step

Action

1

Right-click on the Action and select the 'New Child Element| Attach Constraint' option.

A Note is created on the diagram, connected to the Action.

2

Right-click on the Note and select the 'View Properties' option.

The 'Constraint' dialog displays.

3

In the 'Constraint Type' field, click on the drop-down arrow and select the required constraint type.

4

In the 'Constraint' field, type the text for the constraint.

5

Click on the OK button to save the constraint.

Learn more