I have a question have you worked on error handling and logging in K2 workflow.
1. Adding K2.processInstance.logger.LogInfoMessage(source,message);
to exception rule code behind with custom error message.
2. Create a class library project , define a class which override void LogMessage(MessageObject messageObject, string logStrMsg)
3. Creating a email with message object error message as content of it and sending to K2 admin.
4. Then adding the dll created as an extension K2 host config file.
Can you please tell me what message source has – does it contains the workflow solution name or process name?
Is these steps correct or I am missing anything. Can you please suggest?