End task from another task

1
0
-1

Hello to everyone,

After completing Step 1, two tasks are opened in parallel (for two different professionals):

1) Step 2 is an optional task
2) Step 3 is a mandatory task

When Step 3 is done I would like to check if Step 2 is pending, and if it is, finish it. Is possible ? How ?

Many many thanks !!!!

Carlos Castillo

2 answers

1
0
-1
This one is the BEST answer!

This should do the trick:

2023-05-22-17_55_18-Bonita-Studio.png

Put the two parallel tasks in a subprocess (in Bonita you just call another process by a call activity). After step 2 is completed, a normal end event is reached, i. e. the upper path is finised, but step 3 is still pending. After step 3 is completed, a terminate end event is reached. This type of event terminates the entire called process - regardless whether step 2 is still been pending or not.

1
0
-1
Notifications