AnsweredAssumed Answered

TimerBoundaryEvents & new job in ACT_RU_JOB table

Question asked by mlody on May 17, 2017
Latest reply on May 18, 2017 by kitkatboy

Hi all,

 

I have following business case:

User wants to receive notifications N days before particular task due date. Moreover, there is possibility to change due date from application.

 

So, I've created user task and timer boundary event, which is connected with it. Everything works fine - when user task is active in process, notification is sent to the user on calculated date based on process variable. However, timer boundary event does not finish user task. In this case, when timer boundary event is fired and job is completed, user can change due date in application and expects next notification N day before new due date. Unfortunately, when user changes due date, new job is not created. I suppose I have to create it manually, but API does not allow such kind of operation. I am able to do it by direct iBatis call:

dbSqlSession.getSqlSession().insert("insertTimer", timerEntity);

It is not good solution. Could you please help me with this case? Thank you in advance.

Outcomes