Requirement:
The requirement is to throw a user-friendly message in place of the default/vanilla error message thrown by escript on the UI in Siebel.
We need to replace this Siebel error message with a User-Friendly error message “Error Invoking the Business Service in Siebel”
Solution:
Follow the below steps to implement this requirement.
1. In Siebel Tools, place the try, catch and finally block
1. In Siebel Tools, place the try, catch and finally block
2. Configure the catch block in your script as below:
Notes:
Just add your Siebel error code in the str.indexOf(“<error code>”) in the catch block and throw a message as per your requirement.
Just add your Siebel error code in the str.indexOf(“<error code>”) in the catch block and throw a message as per your requirement.
3. Compile the changes in your SRF and launch the Siebel Client to see the above Siebel error message replaced with a user-friendly error message as below:
No comments:
Post a Comment