Local Pre/Post Conditions

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

 

Activity-ActionPrePost

How to

To attach a constraint to an Action

Step

Action

1

Right-click on the Action and select the Add | Constraint context menu option.

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

 

2

Right-click on the Note and select the View Properties context menu 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