cancel
Showing results for 
Search instead for 
Did you mean: 

How to call another process ?

danielbreitner
Champ in-the-making
Champ in-the-making
Hi Activiti - Folks Smiley Happy


I am just starting with your wonderful engine and I am wondering how I can call another process without doing it programmatically ?

Is there a way to do this ?

best regards,


Daniel Breitner
8 REPLIES 8

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
:?:  :?:  :?:  by modelling it?

danielbreitner
Champ in-the-making
Champ in-the-making
Yes of course.

But how do I model it ?

There is no such thing as "call another process".
Ans using a subprocess doesn´t seem to work.

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
Ans using a subprocess doesn´t seem to work.

Why not?

danielbreitner
Champ in-the-making
Champ in-the-making
Ok,maybe I should have posted an example:

process A is calling process B, process B is calling process C and process D is also calling process C.
So we have a diagram like this:


A -> B -> C
       D ->

The processes need to be callable by REST, so that they can be triggered from outside.

The only thing that came to my mind was to create 4 independent processes and to let one call another.
But this was something that I couldn´t do in activiti designer

trademak
Star Contributor
Star Contributor
Why couldn't you do this with the Activiti Designer?
You can use a call activity, right?

Best regards,

danielbreitner
Champ in-the-making
Champ in-the-making
Forgive me, for I am a noob Smiley Wink

Is "call activity" the element that lets me call another process?

If so, how do I specify the process to call?
if would have expected a field to select one of the activiti files for example, but all i can do is to enter a value into "Calles Element" … what do I have to enter here ?

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
Maybe you should read the docs a little, and maybe even buy the activiti in action book by tijs rademaker… It's all in there

danielbreitner
Champ in-the-making
Champ in-the-making
Ok, here is the answer (for those people who might have as little knowledge as I have):

Add a "Call activity" node and add in Section "Main config" for Called Element the ID of the process you are about to call.
This is case sensitive.

Thread can be closed.