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




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.


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

The 'Constraint' dialog displays.


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


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


Click on the OK button to save the constraint.

Learn more