Triggering a system message to show on a pop-up in UI Action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-03-2025 06:21 AM
Hello ServiceNow Devs,
I'm trying to get a message into Workspace Client script of UI Action as in the screen shot below to show in a pop-up in SOW but I'm getting the key instead if the message when I change the language, if I try to trigger again I'm Getting the message in the respective language. Any idea how to over come this?
Here is the code I've used.
Here are the screen shots of what's happening:
Tried it in Portuguese language, initially I'm getting it in English and then if I close the dialogue button and click again then it is showing in Portuguese
first time click
Second Time click
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2025 12:21 AM
Hi @labandar .
Try clearing the cache of your instance and then give a try. it should work. If you are changing the language then to see the impact you need to refresh the page.
-------------------------------------------------------------------------
If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.
Regards
Runjay Patel - ServiceNow Solution Architect
YouTube: https://www.youtube.com/@RunjayP
LinkedIn: https://www.linkedin.com/in/runjay
-------------------------------------------------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-05-2025 07:24 AM
@Runjay Patel I tried clearing the cache, refreshed the page, still the same.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2025 01:36 AM
Is this happening always?
Is this happening for all users?
Did you try with an actual user whose language is Portuguese rather than impersonating?
Are you sure the message is configured correctly?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-05-2025 07:30 AM
@Ankur Bawiskar Yes, it's happening always on the SOW when i try to translate for all users and also I tried with the users with different language as well. And it is configured correctly you can see the script above and here's the configured message for your reference.