You can link an operation to a process so that the operation is implemented by the process or the process invokes the operation. Both cases are modeled using the Execute operation type on the Implementation tab of the process property sheet. You can only link operations to atomic processes and not decomposed processes.
Execute Operation Process Action Type | |||||
---|---|---|---|---|---|
Activity Received Messages | Activity Sent Messages | ||||
Operation Type | Receive Request | Receive Request and Reply | Reply | Reply Fault | Invoke Operation |
Undefined |
Received = None |
N/A |
N/A |
N/A |
Sent = None |
One-Way |
Received = Input |
N/A |
N/A |
N/A |
Sent = Input |
Request-Response |
Received = Input |
Received = Input Sent = Output |
Sent = Output |
Sent = Fault |
Received = Output Sent = Input |
Solicit-Response |
Received = Output |
Received = Output Sent = Input |
Sent = Input |
Sent = Fault |
Received = Input Sent = Output |
Notification |
Received = Output |
N/A |
N/A |
N/A |
Sent = Output |
We select the operation in the Implemented by field,
select Receive request and reply in the Action
type list, and then click the New
tool to the right of the Message mapping list in the
Received message and Sent
message groupboxes to create variables for the received and
sent messages: