Ani
Ani

Reputation: 742

Camunda modular design

I want to manage a huge workflow in Camunda.

I have decided to split this into different processes like Create, Configuration, Review & Confirm. Each of these processes have 10 to 15 tasks. These processes should be executed in sequence.

If I want to design my workflow like this, how will I link each process. What is the proper way for Camunda modular design.

Upvotes: 1

Views: 505

Answers (1)

FrVaBe
FrVaBe

Reputation: 49361

You would probably go with some kind of SubProcess. If you plan to model different processes you most likely will use Call Activities and execute them one ofter another in some kind of root process.

Beware of the fact that each sub process starts its own process instance and thus you have to handle different execution scopes. That will be relevant if you request information from the system like e.g. the List of UserTasks. You can not use the processInstanceId of the root process in this case and will have to use a businessKey.

You also have to handle the process variables and decide which variables you want to propagate to the sub process.

Upvotes: 3

Related Questions