I get an error using K2.SetEscalationRule(DateTime) method...
Assuming I have a DateTime (StartEscDate) which is 6 hours after Now, if I use
K2.SetEscalationRule(StartEscDate), it fails saying that the escalation date is smaller than the start date. It can't be possible since I checked it using :
if (DateTime.Now < StartEscDate)
{
K2.SetEscalationRule(StartEscDate);
}
else
{
K2.SetEscalationRule(DateTime.Now.AddMinutes(1));
}
But it works if I use K2.SetEscalationRule(StartEscDate,0,0,0,0,0)...
Does anyone know what is the difference and why
K2.SetEscalationRule(DateTime) method fails ?