Hi all,
I created activity that will give escalation email notification but not using "Escalate After" or "Escalate On" as I see in Template
I need to escalate Document that has Expired Date value base on 22 hours BEFORE Expired Date
With K2 Studio I did hard coded :
dtExpiredDate = DateTime.Parse(K2.ProcessInstance.DataFields("ExpiredTime").Value)
dtEscalation = dtExpiredDate.AddHours(-22)
K2.SetEscalationRule(dtEscalation)
For instance Now is 4/3/2006 12:00:00 AM
ExpiredTime = 4/4/2006 12:00:00 AM
So dtEscalation should be 4/3/2006 2:00:00 AM
Error Message :
" An escalation date can not be smaller than the startdate "
I guess validation rule for Escalation base on Date Not Time,
give advise please...
Regards
Widodo
Validation for Escalation base on Date or Time?
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.