cancel
Showing results for 
Search instead for 
Did you mean: 

A process with two or more call activities

bernonyjoseph
Champ in-the-making
Champ in-the-making
Hi guys,

I get issue with a process including two call-activities objects. I explain:

- I created two simple processes(A and B), but one of them starts with a user task.
- In a parent process I want to put togetter the two other ones. so I created a cal-activity for each one of them and in my parent proces.

The issue is when I execute the parent process, it goes through the fist process(A) but does not get back to the parent in order to go to the second call-activity.


Can anyone help me please?

Thanks in advance.

Bernony

4 REPLIES 4

frederikherema1
Star Contributor
Star Contributor
How did you model the call-activities? If you have start -> CallActivityA -> CallActivityB -> end, this is the excepted behaviour. B will not start until A is completed, and since it contains a user-task, it will wait for it tom complete.

You need to add a parallel gateway (see user guide) in front of the 2 call-activities, in order to have both A and B started when the parent process starts.

bernonyjoseph
Champ in-the-making
Champ in-the-making
HI,
Thanks for your answer.

I did model it like you suggest:  start -> CallActivityA -> CallActivityB -> end.

The processB under CallActivityB is the following:

start -> USERTask -> ServiceTask-> end

At the end of CallActivityA, the userTask in processB is not displayed.

Maybe userTask is not allowed at the beginning of a process called through CallActivity or there's a special configuration for such userTask.

Thanks


Bernony

bernonyjoseph
Champ in-the-making
Champ in-the-making
Hi,
Sorry, but it works.

You must wait a bit before the userTask is diplayed in the activi UI.

Thanks a lot.

Bernony

frederikherema1
Star Contributor
Star Contributor
Great, thanks for clarifying…