Reference Topics > Miscellaneous > Messaging through events and operations
  
Messaging through events and operations
Items on the Concurrency Diagram can be stimulated by event or operation messages. These messages allow tasks to communicate with each other. Items linked with classes communicate using both events and operations, but interface devices use event messages only. Events and operations are attached to message flows as follows:
Source
Destination
Notes
Interface Device
Class or item linked to a class
Operations at the destination only Events in both directions
Class or item linked to a class
Class or item linked to a class
Operations and events in both directions
Class or item linked to a class
Interface Device
Operations at the start only Events in both directions.
To call a new operation or send a new event
1. On the Concurrency Diagram toolbar, select for an operation message or for an event message.
2. Click the message flow.
3. Click the destination item for the message.
* 
You can also drag an existing event or operation from a Modeler pane onto your diagram.
To change the properties of an event or operation instance
1. Right-click the event or operation on your diagram.
2. Click Instance Properties.
3. Click the Options tab in the Property pages.
4. Enter as follows:
Sequence Number —in Dewey decimal format. Letters indicate concurrent messages
Result — to indicate return values
Iterative — to show an iterative message
5. Click the Actual Parameters tab in the Property pages.
6. Enter as follows:
Actual Parameters — to attach input parameters
To change the properties of an event or operation
1. Select the event or operation in the Modeler pane.
2. Change the required properties in the Property pages.