gs.getMessage() not working in BR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2024 05:35 AM
Hi ,
I am trying to apply translation on the task description. For this, I have tried using gs.getMessage('string') call in the business rule which is displaying only English translation and not the other language translation.
Have updated the translations in the Message table as well in which only English is working.
How can I resolve this issue?
- Labels:
-
Human Resources Service Delivery

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2024 10:39 AM
@sijiCatherine I recommend to look at the OOtB configuration we provide on HR Tasks that allow for the translations of the Short Description and the Description. If you go to the HR (Task) Template, you will find a "Use global descriptions for translations". This is what facilitates the translation for these objects. This is a documented feature you can find more information here.
If my answer has helped with your question, please mark my answer as an accepted solution and give a thumbs up.
Regards,
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2024 10:53 AM
1. Ensure the Key is same for Both English & another Language
2.In getMessage you need to pass the ‘Key’ value of sys ui message
Syntax;
gs.getMessage(‘keyvalue’);
Regards,
Shyamkumar
Regards,
Shyamkumar