A choreography diagram is used to analyze how participants exchange information to coordinate their interactions. A choreography diagram can be used to expand and analyze in detail the exchange of messages associated with a conversation node in a conversation diagram.
In the following example, the exchange of messages between a patient and a doctor is analyzed:
Identify the object. The name should clearly convey the object's purpose to non-technical users, while the code, which is used for generating code or scripts, may be abbreviated, and should not normally include spaces. You can optionally add a comment to provide more detailed information about the object. By default the code is generated from the name by applying the naming conventions specified in the model options. To decouple name-code synchronization, click to release the = button to the right of the Code field.
|Related node||Specifies the conversation node with which the choreography task is associated. Use the tools to the right of the list to create, browse for, or view the properties of the currently selected object.|
Specifies whether the task is a choreography task or choreography sub-process (which can itself contain choreography tasks, listed on the Choreography Tasks tab).
If you revert from a choreography sub-process back to a choreography task, then any tasks that you have created inside it will be deleted.
|Reusable||Specifies whether the task may be reused in other contexts.|
|Reuse task||Specifies the choreography task that is being reused in this context.|
|Initiating and Responding participants||[atomic tasks only] Specify the participants that interact through the choreography task. The initiating participant and her message are colored white and the responding participant and her message are colored grey. Use the tools to the right of the list to create, browse for, or view the properties of the currently selected object. Select the Multiple check box to specify that there is more than one initiating or responding participant.|
|Initiating and Return messages||[atomic tasks only] Specify the messages that the participants exchange through the choreography task. Use the tools to the right of the list to create, browse for, or view the properties of the currently selected object.|
|Loop characteristics||Specifies that the task is a loop or multiple-instance (parallel or sequential) choreography task.|