AnsweredAssumed Answered

How to complete a user task, from a system task which is triggered from a timer event ?

Question asked by dagraw2 on Jan 6, 2017
Latest reply on Jan 6, 2017 by gdharley

Hi All,


I am new to Activiti and trying to build a process, below is the problem i am facing.


My Intent :

1. I have 2 parallel user task(A,B). One user task(B) has a boundary timer event and calls one system task(C).

2. The system task (C) , based on some business logic figures out if the User task is done is some other unlinked system.

3. If the User task has been done in some other system, The system task (C) uses taskService.complete(TaskId) to complete the user task.


Problem : As mentioned in the 3rd point, System task (C) is not able to complete the user task (A/B) ?


What can be done about the same.


Boundary Event : 

<boundaryEvent id="boundarytimer1" name="Timer" attachedToRef="uploadInventory" cancelActivity="false">


        <timeCycle>0 0/1 * * * ?</timeCycle>