I'm trying to implement the following workflow:
there are 3 separate subProcesses (dbTaskPrescoringProcess, level1PrescoringProcess and level2PrescoringProcess) that should be executed in concurrently. So I've added the following properties to each process: activiti:async="true" activiti:exclusive="false"
A service task ("Level2 Prescore") in level2PrescoringProcess should be executed by one of the following events:
- Timer event
- Signal event (throws in level1PrescoringProcess).
So Event-Based Gateway is used.
Of course I've added parallelGateways to the input and output to these subProcesses.
In the result I have two problems:
1. Level2 Prescore service task of level2PrescoringProcess starts with significant delay (more than timer event value, tried even PT1S).
2. dbTaskPrescoringProcess executes twice. Sometimes even after the parent process has been finished ("Print result" service task has been completed).
I am beginner in Activiti so please advice what I did wrong?