cancel
Showing results for 
Search instead for 
Did you mean: 

Call process recursively

jordisolisc
Champ in-the-making
Champ in-the-making
Hello,
Is it possible to create a process that calls one subprocess recursively.
I mean, a process:

start-> task a -> task b -> end

From task b call one subprocess, the subprocess is like this:

start-> task a -> task b -> end

And the same from task b…

The objective is divide one complex task into "n" simple tasks, amb from a simple task to divide into "nn" tasks more…


Is it possible???
Thanks
4 REPLIES 4

gant
Champ in-the-making
Champ in-the-making
yes, it is, just use call activities for A and B. There you can even specify if the sub processes should run asynchronously.

be aware of infinite loops….

Regards

b_schnarr
Champ in-the-making
Champ in-the-making
Is this still valid? Is it possible to call a task in a process instance recursively just by putting the task in a call activity? I am referring to the workflow-pattern 22: http://www.workflowpatterns.com/patterns/control/new/wcp22.php

In several papers, I read that BPMN 2.0 does not have any constructs for realizing recursions?

A clarification would be very helpful.

Thanks and best regards
Ben

martin_grofcik
Confirmed Champ
Confirmed Champ

b_schnarr
Champ in-the-making
Champ in-the-making
Thanks a lot!