Creating an accept event action
You can create an Accept Event Action through an Activity Diagram or a Modeler pane.
When you create an accept event action you must create or select an Event to use.
If you select an Event of type Opaque that has 'In' or 'In and Out' Parameters, Modeler creates Output Pins on the Accept Event Action for those Parameters.
If you select an Event of type Signal that has Attributes, Modeler creates Output Pins on the Accept Event Action for those Parameters (Unmarshall check box selected) or an Output Pin that is linked to the Signal (Unmarshall check box cleared).
If you select an Event of type Call that is triggered by an Operation that has 'In' or 'In and Out' Parameters, Modeler Output Pins on the Accept Event Action for those Parameters.
To create an accept event action through an activity diagram:
1. On an Activity Diagram tab, click the Accept Event Action button, and then on the Activity Diagram click in free space or within an Activity Partition, Interruptible Activity Region or Structured Activity Node.
or
2. If you want to use an existing Event as the Linked Item:
From the Select Object dialog, select the Event you want to use as the Linked Item, and then click OK.
If you want to create a new Event to use as the Linked Item:
a. From the Select Object dialog, click New.
b. From the Select Event and Operation dialog, select the Event Type for the Event you are creating, either Call Event, Change Event, Opaque Event, Signal Event or Time Event.
c. Click OK.
3. Type the name of the Accept Event Action, and then press the Enter key.
Alternatively:
Drag the Event that is to be the Linked Item of the Accept Event Action from a Modeler pane to an Activity Diagram.
To create an accept event action through a Modeler pane
1. In a Modeler pane, right-click the Activity or Structure Activity Node that is to own the Accept Event Action, and select New > Action Node > Accept Event Action.
2. If you want to use an existing Event as the Linked Item:
From the Select Object dialog, select the Event you want to use as the Linked Item, and then click OK.
If you want to create a new Event to use as the Linked Item:
1. From the Select Object dialog, click New.
2. From the Select Event and Operation dialog, select the Event Type for the Event you are creating, either Call Event, Change Event, Opaque Event, Signal Event or Time Event.
3. Click OK.
3. Type the name of the Accept Event Action, and then press the Enter key.
Was this helpful?