| Methods / Methods for Notifications | |
Web Services
Retrieves all the failed and scheduled to resend email notifications.
public virtual WFMailDeliverable[] GetExpectingSendMailDeliverable()
| Name | Description |
|---|---|
| None | Not Applicable |
Array of WFMailDeliverable objects.
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));
}
3.2.0.4 and higher