cancel
Showing results for 
Search instead for 
Did you mean: 

TimeEvent with two timeCycle expressions

mstrom
Champ in-the-making
Champ in-the-making
Hi there,

What's the best practice for a Timer Event that has two different cron expressions? It seems like bpmn's specification only allows one timeCycle node.

Thanks!
2 REPLIES 2

balsarori
Champ on-the-rise
Champ on-the-rise
A timer event definition can have exactly one element of either timeDate, or timeDuration, or timeCycle. Why do you want to have two different cron expressions in a timer event?

You can use an expression for the timer event definition to set the value based on a process variable.


<timerEventDefinition>
  <timeCycle>${mycron}</timeCycle>
</timerEventDefinition>

mstrom
Champ in-the-making
Champ in-the-making
Thanks for the reply. In this case, it takes two cron expressions for me to schedule what I need. 8am Mon-Sat, 2pm Sun.
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.