Multiple Escalations on same activity

  • 31 October 2007
  • 2 replies
  • 1 view

Badge +7

Hi,

 I would like to know the behavior of K2 when two escalation are set with the same datetime for an activity:

 

In which order will they execute?

 

For example, if I have a goto escalation and an email escalation? what happens if the goto escalation executes first? does the email escalation will execute?

 

Thanks
 


2 replies

Badge +11

Hi,


I haven't tested this and to be honest, I'm not 100% sure - I suspect it will vary - sometimes the email will be sent first and at other times, the GoTo will execute first.


What happens is that an entry with the corresponding date/time for each escalation is saved in a table.  These entries are then sorted by date/time and only one thread is responsible for picking up the next item to action.  In other words, it largely depends on the order in which SQL Server returns the records from the database.


To be safe, I would suggest scheduling the two Escalations at least one second apart.


HTH,


Ockert

Badge +7

Ok,

 

Thanks Ockert, that's what I thought... 

Reply