An escalation date cannot be smaller than the startdate
We have received this kind of error in our production. The error is clear but I cant understand why it occured, because the code was designed to escalate a few days after the stardate. Any idea how this error was hit?
+13
Put this code in there to catch any exceptions:
DateTime = DateTime.Parse(strDateTime)
'If we don't do this the start date might indicate it started in the past
If DateTime < Date.Now Then
DateTime = Date.Now
End If
K2.SetEscalationRule(DateTime)
Reply
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.