Question
SopraSteria
FR
Last activity: 1 Aug 2016 5:02 EDT
Custom Error messages
I am looking for details of how to show custom error messages( that can be understood by Business users). As of now my application is showing all system generated error messages which is hard to understand by users. Please share the best practises around the same topic.
***Updated by Moderator: Lochan. Removed user added Ask the Expert tag. Apologies for confusion, shouldn't have been an end-user option***
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Pegasystems Inc.
IN
Hi Chetan,
In case you have privileges to enroll to UI Specialist (7.1) course on Pga Academy, there is a module, Customizing Error Messages, in the 8th chapter - Validating User Inputs - which explains the process to customize error messages.
PEG
PL
Hi,
You have mentioned that "application is showing all system generated error message whic his hard to understand by user" , could you give one example of such error, so that we could suggest how to overcome that error.
SopraSteria
FR
Error message example
Cognizant Technologies
AU
As i understood, you want to override/customize default System error Message, as per my understanding While running the flow whenever u get the error, Click on Live UI and find it's corresponding property starts with "py" or "pz" like "pzShowAssignmentPageErrors" . Open your Flow, and Open any connector before where you are getting the error messsage, under Set Properties, define the name as py or pz property and Value as your Error message. but remember after that step you have alter the error message else Similar error of that property will raise the Error Message defined through out the process
Accepted Solution
Pegasystems Inc.
IN
Hi Chetan,
In case you have privileges to enroll to UI Specialist (7.1) course on Pga Academy, there is a module, Customizing Error Messages, in the 8th chapter - Validating User Inputs - which explains the process to customize error messages.
SopraSteria
FR
Thanks Tushar & Alok.
Sopra-Steria
IN
Hi,
Thanks Tushar & Alok.
This is not related to any specific flow or flow action (Connector), This error will be appearing while openning any case on any assignment and possibility can be more than 5 case types and more than 40 assignments in all cases.
So, Suppose based on Access role to objects if I am not giving the access to modify any assignment or to perfrom any tasks then technical error messages are displaying like chetan has already attached the screen.
So, How to customize this technical error message as a Unique Business understandable error message ?
Thanks,
Truviq Systems
NL
Hi Chetan & Girraj,
See if the below approach is helpful for showing custom messages
1. Create a section where you show custom error messages for respective system error.
2. Override the harness Review/Perform and display this error section when hasMessages returns true, if not display existing section in the harness section.
You have to be very specific in implementing this to ensure that it will not effect other areas of the application.
Thanks,
Suneel