Sub-Choreography
A Sub-Choreography contains multiple choreography tasks representing a complex interaction sequence. It groups related message exchanges into a reusable choreography fragment.
What is a Sub-Choreography?
A Sub-Choreography groups multiple choreography tasks into a compound interaction. It encapsulates a sequence of message exchanges that together form a logical interaction unit.
Visual Representation
A Sub-Choreography shows as a larger rounded rectangle with participant bands and a plus sign marker indicating expandable content. When expanded, it shows internal choreography tasks.
Key Characteristics
- Multiple interactions: Contains several choreography tasks
- Collapsible: Can be shown expanded or collapsed
- Reusable: Can be referenced from multiple choreographies
- Complex exchanges: Models multi-step interaction protocols
Common Use Cases
Negotiation Protocol
Group the back-and-forth messages of price negotiation into a Negotiation sub-choreography.
Order Processing
Encapsulate order submission, confirmation, and fulfillment messages in an Order sub-choreography.
Authentication Flow
Group authentication challenge and response exchanges into an Authentication sub-choreography.
Frequently Asked Questions
Related BPMN Elements
Try this element in Crismo
Create beautiful BPMN diagrams with our modern process modeling platform.