Hi,
In the application, I have a status called Resolved, the next activity to Resolve is Closed and Re-open. If the user dosen't close or re-open the request in 2 days. I want to Finish the process, with updating the status as Closed to application DB. To achive this I have written a Esculation rule in the Closed activity.
Code:
{
int Days = Convert.ToInt16(K2.ProcessInstance.DataFieldss"intRequestReopenDays"].Value.ToString());
int Hours = 0;
int Minutes = 0;
int Seconds = 0;
K2.SetEscalationRule(Days, Hours, Minutes, Seconds,0);
}
Please let me know, is this a right approach.