Sub-processes are used to organize related activities into a logical grouping within a process. Use a sub-process to simplify complex process models, improve readability, and manage process logic as a single unit. Sub-processes execute within the same process instance as the parent process and share the parent process context and variables.
Sub-processes can help you:
- Reduce diagram complexity.
- Group related activities together.
- Separate business logic into manageable sections.
- Define distinct areas of a process for error handling or event processing.
- Improve process maintainability and readability.
You can create the following types of sub-processes: