Is it possible to start a new Case / Process Instance from inside another Process
Hello
I am planning to Integrate 2 processes in BPM.
At the last task of Process 1, when user clicks on Submit, it should start a new Case on Process 2 with Inputs from Process 1.
Basically start a new Case of Process 2 when process 1 ends.
What would be the easiest way to implement this.
I understand, Using a Sub process idea can work.
Calling Process 2 as a Subprocess of Process 1.
Is there another way of doing this ?
All Ideas are welcome.
Thanks in Advance.
1 answer
You can use a script task and use the startProcess API statement
use the Javadoc in documentation
you could also use REST API
https://documentation.bonitasoft.com/bonita/7.6/bpm-api#toc23
regards
Seán
Comments
Thanks.
Will try to use the API and will post here if I am successful.