populate HR Record Producer variables in HR Document Template
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2024 03:01 PM
Hello,
We need to populate Record Producer variables in HR Document Template. When I am trying to add variables in below format, it is not working and giving blank value.
City: ${variables.city}
However direct fields are working fine, for eg: ${assigned_to}
Can someone help me on this?
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2024 08:28 PM
check this link
Adding variables to the body of a HR Document Template breaks its preview
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
04-29-2024 10:16 PM
No it just work for first variable. In case of multiple variables it never works.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2024 09:21 AM
Hi @Deepak Singh Ra ,
It should be work. Please follow below screenshot. In HR document template add ${variables.<variable name of record producer>}
Please follow link for more reference: Add customized variables in a document template (servicenow.com)
Please mark helpful & accept answer if it's worthy for you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2024 10:17 PM
I am doing the same thing . I never works .