Hi Paul,
Yes there is a file which contains all of these error messages and you can edit them.
The file is called HostServerLogging.config and is located in K2 blackpearlHost ServerBin.
Search for the number you want to modify and then change the text.
You might need to restart your K2 Server to see your changes.
However, realise that any K2 reconfigure, repair or version upgrade will most probably override that file and you will need to re-apply your changes.
Hope this helped!
Regards,
JohanL
Hi psturmey
If you are using SmartForms to action a task, then you can capture these errors in a rule and then display an custom message.
You can add a form level rule with the event "When the Form is in Error" and then use an advanced condition to check the contents of the Error Message (Context Browser -> System Values -> Error).
For example, you can check if the error message contains 26030 and if so then display a custom error message. Another on to check is 24411, which from memory occurs when the task has been redirected.
Hi Andrew
This solution works great -I can now make custom error message
thanks
Paul
Andrew_Blinco wrote:
Hi psturmey
If you are using SmartForms to action a task, then you can capture these errors in a rule and then display an custom message.
You can add a form level rule with the event "When the Form is in Error" and then use an advanced condition to check the contents of the Error Message (Context Browser -> System Values -> Error).
For example, you can check if the error message contains 26030 and if so then display a custom error message. Another on to check is 24411, which from memory occurs when the task has been redirected.
See this, how too example:
How to raise a user friendly message when a user tries to open a task that is allocated (already opened by another user)
Scroll down to the Instructions portion to see step by step.