Display variable in RITM and TASK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2023 09:52 AM
Hi all,
In the catalog item, there's one field to get the location of the user. I am populating it using Auto populate. This field is not visible in the portal.
There's a condition to check if the user belongs to particular location, if user belongs to that location, then displays another variable field on the portal for user to select.
Everything on the portal side is working as expected.
There are only 2 UI Policy.
1. To hide all the variables on portal.
2. To display another variable field based on the user location.
When I submit the request, there's no variable visible on the RITM aw well as TASK. I have made all the variables available in the workflow TASK.
Even if 'Applies on catalog Tasks' and 'Applies on Requested Item' is unchecked for the first UI policy, on the RITM it is not displaying any values. It displays only 'location of the user' variable but the value is blank.
I tried in multiple ways, still not able to debug this.
Can anybody please let me know what changes has to be done?
Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2023 09:59 AM
You need to recheck the dot walk path , i think it would be only parent location
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2023 08:28 PM
@Manmohan K Thank you for your response.
I'm pointing the location to this field. In the portal, I am getting this value.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2023 08:18 PM
your 1st UI policy is hiding that variable on RITM and SC Task since Applies on Requested Item and Applies on Catalog task checkbox is checked.
Are you sure there is data inside Location.Parent.Parent?
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-20-2023 08:26 PM - edited 06-20-2023 08:28 PM
@Ankur Bawiskar Thank you for your response.
But when I uncheck those 2 boxes, it still doesn't show the variables on the RITM and TASK.
I'm pointing the location to this field. In the portal, I am getting this value.