Hi itjwstl,
Do you have HostServer logs from when the email should have sent? (These are typically located in [installdir]K2Host Serverin) If so, are there any error messages in the logs?
If there are no errors in the HostServer logs, are task notifications sending from other processes? If there are no other processes with task notifications, and there are no errors in the logs, can you check the EventBus.ClientRecorderError table in the K2 database and see if there are any entries that correspond with the time the task notifications should have sent?
Hi ltjwstl,
Out of curiosity, can you reset the Recipient to the Originator and see if the email will send out?
Hi ltjwastl,
After you have started the instance of the workflow was there any error shown in K2 Management ?
you may check in the below path
K2 Management site > Workflow Servers> Errors
If there are errors from that certain instance kindly click on details and attach the screenshot here
Cheers,
Kate
Hello,
looking through the log, this error is occurring each time the workflow is being executed
"270232168","20*personal details removed*:51:13","Error","MessageBus","61007","SendMessageException","MessageBusRuntime","61007 Permanent failure sending message : System.Exception: No destinations could send the message .
at SourceCode.MessageBus.Server.MessageBusRuntime.SourceCode.MessageBus.IMessageDestination.Send(String title, MessageExtendedInformation extended, IEnumerable`1 attachments, MessageBodyReader[] messageBodies)","","","NY-K2Test1:C:Program FilesK2Host ServerBin","270232168","a55de56cb3bb480a8d2d59d1fed6d26a",""
"270232204","20*personal details removed*:51:15","Error","General","24148","UMEmptyQError","K2DestQueue.RunDestQueue","24148 The User Manager 127.0.0.1 returned an empty queue with name K2_Test.","anonymous","0.0.0.0","NY-K2Test1:C:Program FilesK2Host ServerBin","270232204","0263bde084a244838a2ad9f44178e493",""
looking at the following knowledge article, I noted the values are not matching as suggested. the service account is not associated with the email account.
could this be the source of the issue?
https://help.k2.com/support-services/kbt150990
sendmailfrom=*personal details removed*
<system self="K2:domaink2service" enableListeners="True" allowAmbiguity="true">
thank you for the suggestion, unfortunately this did not solve the issue
no errors in the management console, just the host server logs
Hi @ltjwstl ,
This is likely due to the mismatch of values like you mentioned. Can you update the sendmailfrom so that it reflects the email address of the K2 service account set in the system self node? After that, restart the K2 service and test if task notifications are working.
Cheers,
Kimberly
K2 will not accept any liability for any issues arising from actions taken in respect of the information provided by any forum member.
Hello,
Can you please confirm that you have the correct mail server set as 'Default' in the server's corresponding Environment Library? Please see this KB https://help.k2.com/support-services/kbt171668.
Hi ltjwstl,
Could you share some details on the error that you saw in the Hostserver log? If the Send Task Notification starts in K2 then it will have the following events in the log, see sample below.
-----------------------
"Info","EventBus","7019","Processing","EventQueueProcessing.Process","7019 Processing event instance with ID: some_id“
"Info","EventBus","7006","Processing","EventQueueProcessing.ExecuteAssembly","7006 Function executed successfully“