In this article, we will see how to customize standard error messages for various categories in K2 blackpearl.
Below are the different message categories available in K2 blackpearl.
K2 Automated Testing Software
BenchQA allows full test automation of K2, including fully automated K2 SmartForms and K2 Workflow testing. It promotes test driven development for K2 and ensures continued quality assurance for K2 solutions. Easily apply changes to test cases to accommodate changes to K2 apps and ensure all apps are regression tested to avoid defects and assure continuous quality.
Sometimes, the standard error/info/warning messages don’t provide user friendly messages. You have an option to edit the message content based on error id.
For customizing the standard messages, browse to the HostServerLogging.config file located at
“C:Program Files (x86)K2 blackpearlHost ServerBin”
For example, we will see how to customize the “NoStartProcRights” Error message with Id “24408”.
Below is a standard error message that display when user does not have right to start workflow instance.
We can customize the error message as below, so that user can send an email to support team requesting for rights.
Save the configuration file and restart the K2 service.
Now retry the error message and you can see the updated message displaying with support mail id.