Hi, I am using activiti-5.21 and my bpmn file is attached.
I have a receive task in a waiting state, also there is a boundary timer event is attached to it. Time duration is 'PT1M'.
I can see the timer job in ACT_RU_JOB with correct end due date. But it never gets fired. I have only set jobExecutorActivate = true, nothing else.
Also I have cancelActiviti=true. From the documentation, I understand that this will cancel the receive task and proceed to boundary event outgoing flow. Is it correct? What will happen if there is no outgoing flow defined for boundary event. i.e. if timeout does not happen, the flow will go to receive task -> target ref, but if timeout happens, boundary event will be followed, but as it does not have any outgoing flow, what will be the outcome.
Not sure what I am doing wrong here. Thanks in advance.
As for your question on flow when Boundary event has no connector. This is an illegal scenario and should not deploy (the deployment parser should fail it). Boundary events must be connected to something.
Also, looking at your process, you need to have an outgoing flow for the email task to be valid.
Re: Boundary Timer Event not firing on receive task
In Fact I am having similar issue as well. I am very new to Activiti BPM process. I tried all possible solution provided in this forum, yet i am not able to fix the issue. My problem is that I am not even seeing an entry in the ACT_RU_JOB table consistenly. All i am doing is at the end of the sub process, I will connect to another user task with the boundary timer in it. Once the duration expires, outgoing flow will be executed which is nothing but the complete flow. I am able to test the scenario locally using junit test cases and use job executor to manually fire the timer and verify it is going to the next appropriate flow. But when it runs in the background after deployment to test server, i am facing this issue. Tried enabling enabled both asynexecutoractivate and jobexecutoractivate properties. It doesn't work still. I am using Activiti version 5.21.0