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 08:54 PM
what if you disable both the UI policies?
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 09:17 PM
If both UI Policies are disabled, then on RITM it displays 2 variables, but the location is blank. And 'Requested For' field is not visible.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2023 09:10 PM
Hello,
try with giving higher order to the second UI policy. Also the variable which is showing empty value on RITM, check whether the variable with same name is present on catalog item or not. If the variable with same name is present then hide that variable and show the variable you want on RITM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2023 09:22 PM
@Ashwini Jadhao Thank you for your response.
I have give the order to UI Policy, still the variables are not visible in RITM and TASK.
There's only one variable for location.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2023 01:02 PM
did you ever get a solution to this issue as I am experiencing the same thing the variables not carrying over to the ritm or sc task. thanks