AgilePoint provides you the flexible framework that you can write your custom Manual Activity, i.e. AglieWork. In the case that you need to obtain the overdue work items of the assigned participant, here is the sample code that you can use to grab the overdue work items as WFManualWorkItem objects.
private void MyAgileWork_WorkItemOverdue(Object sender, System.EventArgs e)
{
// TODO
Logger.WriteLine("MyAgileWork_WorkItemOverdue, Activity Instance={0}", base.m_ActivityInstance.DisplayName);
Logger.WriteLine("Check Number of WorkItems…");
Logger.WriteLine("WFManualWorkItemEventArgs args = e as WFManualWorkItemEventArgs");
WFOverdueWorkItemEventArgs args = e as WFOverdueWorkItemEventArgs;
WFManualWorkItem w = args.WorkItem as WFManualWorkItem;
}
No comments:
Post a Comment