Adding Accept Event Actions

You can add specified event to your actions.

About this task

The Accept Event Action waits for a specified event, not a timeout like AcceptTimeEvent, and the event is specified in the Features dialog of the Accept Event Action.

Procedure

  1. Click the Accept Time Event button to open the activity diagram.
  2. To add the event to the diagram, click on the Accept Event Action button button, and drag and drop on the activity diagram where you want to be created. to send the action, click on Send Action Accept Event Action button button, and drag and drop it on the action to send.
    You can specify any of the following actions:
    • Event to send
    • Event target
    • Values for event arguments
    Note: Accept Event Actions show that the process is waiting for an event to occur. The constraints for both, Accept Event Action and Send Action, are that they must refer to a valid event. If the event is not valid, an error appears in the Check view.

    Accept Event Action button

    Note: In the image above, the solid green line represents the data flow and the dash line represents the control flow. The data flow passes data. The control flow passes a control token.

    The data flow must be connected to an action pin, or to an activity parameter, or to an object node, so there is a data definition of the data flow. The direction of the action pin, or the activity parameter, must be consistent with the direction of the flow.

    Accept Event Action button


Feedback