Methods / Methods for Notifications |
IWFWorkflowService svc = GetWorkflowService(); try { //Returns Array of WFMailDeliverable type WFMailDeliverable[] mailDeliverables = svc.GetExpectingSendMailDeliverable(); foreach(WFMailDeliverable m in mailDeliverables) { Console.WriteLine("Mail ID: '{0}'", m.ID); Console.WriteLine("Process Instance ID: '{0}'",m.ProcInstID); Console.WriteLine("E-Mail Subject: '{0}'", m.Mail.Subject); } } catch (Exception ex) { Console.WriteLine("Failed! " + ShUtil.GetSoapMessage(ex)); }