Why "gs.addErrorMessage()" of Global domain is not working in another domain?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2024 09:22 PM - edited 06-19-2024 09:23 PM
Hello Everyone,
I have a business rule created in 'global' domain which restricts users from updating an incident to on-hold without entering on-hold reason. In case user doesn't enter reason, the following error message will be shown:
gs.addErrorMessage("Please enter valid Reason before updating State to On-Hold.");
This is perfectly working and also error message is displaying when I am logged into 'global' domain.
However, when I am in another domain, the BR is working to restrict the user from updating incident, but the above error message is not getting displayed.
Can anyone tell me why - and how can I show this message irrespective of domain?
Please mark this post as a solution and also as helpful, if this resolves your issue or query.
Thanks,
Subhadeep Ghosh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2024 09:30 PM
Have you explored the reference guide for Scoped & Global
Johnny
Please mark this response as correct or helpful if it assisted you with your question.