Answered

Sub process tasks are not terminating when terminate end event is reached.

Hi,

I am trying to model a scenario whereby a transactional sub process has a parallel gateway just after the start event, the first path has a cancel intermediate event and then a cancel end event (meant to allow the user to cancel the sub-process), the other path has two tasks and finishes with a terminate end event. See attached for a model of the process.

I would expect that if two tasks are processed and the terminate end event is reached before the cancel intermediate event is triggered, that

a) the main process should continue; AND

b) the "Cancel" parallel flow should be invalidated (i.e. you should no longer see this task as an event in the work portal).

The first part (a) occurs correctly, but (b) does not. I can still see the "Cancel" task in the work portal.

See "Problem Description" attached which clearly shows the issue.

Can you advise me on how I can model & automate this scenario correctly.

(I don't want to use reusable or multiple sub-processes because I want to easily access the main process data model from the sub-process).

Thanks,

Iain

Best Answer
photo

Dear Lain,

According to your explication, you are using embedded sub-process. When you are using this kind of sub-process, you are in the same parent process just that it is used to optimize your process. Also, an terminal end event does not work because all end events end the work flow, but not the process.

In order to work as you need, the sub-process needs to be as reusable sub-process. That is, they are independent and thus are created individually.

Regards

photo
0

Dear Lain,

According to your explication, you are using embedded sub-process. When you are using this kind of sub-process, you are in the same parent process just that it is used to optimize your process. Also, an terminal end event does not work because all end events end the work flow, but not the process.

In order to work as you need, the sub-process needs to be as reusable sub-process. That is, they are independent and thus are created individually.

Regards