cancel
Showing results for 
Search instead for 
Did you mean: 

How to start a specific version of a process definition via CallActiviti

kayj
Champ in-the-making
Champ in-the-making
Hi,

I have a BPMN model "A", which contains a CallActiviti.
The CallActiviti triggers the execution of BPMN model "B".

There are several versions of the process definition "B" defined in the database. Is it possible to specify the version resp. process definition id, which should be called? I need to handle it in a flexible way via code.

Thanks,

KayJ
1 REPLY 1

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi KayJ,

by default CallActivityBehavior class calls the latest process definition. To specify the process definition you have to change this behavior and extend process model with extension elements.

Regards
Martin