Form Template on problem record based on user language
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2025 03:34 AM
Hello,
I have a requirement to create a template on the Problem table.
In English: it should be called This is a Template with field description: english text
In German: it should be called Dies ist eine Vorlage with field description: german text
- users with english language should see only This is a Template
- and users with german language should see onlyDies ist eine Vorlage
Since I saw that you can't do translations on sys_template, for now I created 2 templates and I was thinking to create a logic based on the current user's language to show one or another but don't know if this is the best approach.
Is there another way/methods to do this?
Thank you,
Elena
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2025 03:55 AM
Hi @Elena Spıru ,
you can use query BR to hide those
you can create 2 template
for this to be more scalable
1. create a language field on on the sys_template table
2. whenever a template is created set the language of the template
3. use a query BR on the template table to only show the logged in user's language related templates
Please mark my answer as helpful/correct if it resolves your query.
Regards,
Chaitanya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2025 12:29 AM
Hello! Thanks for the suggestion but the query BR should be in which table? because if you have it on the sys_template, it won't trigger when you open a problem record.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2025 03:56 AM
you can't use script in the condition
but check this link and it has workaround and enhance
Email Client Template should visible to specific role.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2025 12:29 AM
Hey! Thanks but I see the workaround is for email client template and my task was for the form templates.