timer event attached to an activity is not triggered


I have a (reusable) subprocess within the the process. This subprocess has attached timer event which is configured in expression by writing

  1. var iDuration= Global.getActivitySLAGlob(Me,sla,Me.Task.Name);

    Global.Trace(Me,sRuleName,"tIMERDuration " + iDuration);

    Me.TimerEventDuration = iDuration;

As you can see from the code I know for certain that correct value is passed to

  1. Me.TimerEventDuration

At the same time I set for the same activity also Task Duration which is basically the same code:

  1. var iDuration= Global.getActivitySLAGlob(Me,sla,Me.Task.Name);

    Global.Trace(Me,sRuleName,"Duration " + iDuration);

    Me.Duration = iDuration;

The order of the expression is:

1. Set timer duration

2. Set task duration.

Order of the task doesn't seem to have any impact.

Working time schema is set to default 24h.

Both values are equal

The question is what my the reason that the activity doesn't to proceed further. Instead of that the task switches to expired (is red)

Many thanks for any ideas suggestions

Comments (5)


Dear Dusan,

Thank you for letting us know your questions. Please be mindful that a timer event should only be attached to the boundary of a manual task and not sub-processes. So, that might be the reason why the process is not behaving as expected.

For more information on intermediate events attached to boundaries, please visit the following article:

Best regards,

Laura G


Hi Laura,

thank you for your answer.

But the timer event is attached to the manual task.

Nevertheless I've tried to find the workaround and instead of event attached to task I set up regular timer. The same happens.

Timer is ignored.

I set the the duration of timer with

  1. Me.Duration = 2;


Hi, few things to check:

Is Scheduler service up and running?

Are there any errors in logs that prevents process execution (make sure all traces are enabled)?

Is working time schema 24/7 for all users (including admon)?

Is time zone on your environment matches with time zone set in Business Configuration?

What is the calculated "Expiry Date" for timer (you can see it in Graphical query when hovering over with cursor)?



Dear Martin,

Thank you for further explaining the issue to us. From the image you attached, we noticed that there is an event-based gateway immediately before the timer event that is not working. However, this event-based gateway is also connected to an exclusive gateway that automatically chooses a following path based on a previously-defined condition. The problem with this modeling is that the exclusive gateway will always be activated, so the event-based gateway will always take that path instead of activating the timer event.

Therefore, our suggestion would be to change that part of the model so that it better reflects what you want your process to be.

For more information about gateways, we recommend the following article:

Kind regards,

Laura G


I was able to achieve desired behaviour by inserting the Asynchronous service task after without changing the model