Code Fix: Destination users not receiving Task Notification e-mails when a large number of workflow instances are running
KB002231
PRODUCT
Issue Description
When starting a large number of workflow instances, destination users occasionally do not receive their Task Notification e-mail. An error is logged in the Host Server log file stating that โThe specified string is not in the form required for an e-mail addressโ.
Error Message
The following error message is logged in the Host Server log file:
"Error","MessageBus","61007","SendMessageException","MessageBusRuntime","61007 Permanent failure sending message New Task: System.FormatException: The specified string is not in the form required for an e-mail address.
at System.Net.Mail.MailAddressParser.ParseAddress(String data, Boolean expectMultipleAddresses, Int32& index)
at System.Net.Mail.MailAddressParser.ParseAddress(String data)
at System.Net.Mail.MailAddress..ctor(String address, String displayName, Encoding displayNameEncoding)
at SourceCode.MessageBus.Imap.SmtpDestination.ToFullEmail(Dictionary`2 collection)
at SourceCode.MessageBus.Imap.SmtpDestination.Send(String title, MessageExtendedInformation extended, IEnumerable`1 attachments, MessageBodyReader[] messageBodies)
at SourceCode.MessageBus.Server.MessageBusRuntime.SourceCode.MessageBus.IMessageDestination.Send(String title, MessageExtendedInformation extended, IEnumerable`1 attachments, MessageBodyReader[] messageBodies)
Resolution
- Ensure you have K2 4.7 installed.
- Download and Install the K2 4.7 November 2017 Cumulative Update from K2 Partner and Customer Portal.
- Get the K2 4.7 November 2017 Cumulative Update FP14 from Regional Support.
- Install the K2 4.7 November 2017 Cumulative Update FP14 to apply the fix.