Show/hide containers in RITM/task
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
6 hours ago
I have a request I'm building with 7 containers.
They all start hidden, and then based on what is selected in an initial select box, the appropriate container shows. This part is working perfectly. However, when the RITM/task are created, all 7 are showing there. In my show/hide UI policy for each one, I have "Applies on Catalog Item" and "Applies on Requested Items" both checked.
My goal is that only the container that is visible in the request be the the only one to show in the RITM/task.
If anyone could help get me on the right path, I'd appreciate it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
6 hours ago
the logic which works on catalog form, the same will run on RITM as well with that checkbox True
Is that not working as expected?
How are you planning to keep track of which containers are visible during catalog submission?
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5 hours ago
Hi Ankur,
Thank you for your reply.
No, it is not behaving as I think it should. I have 1 UI policy to hide all 7 containers on load (order 200). My last 7 UI policies are the show/hide for each container (order 1900-2400).
When I launch the catalog item, all 7 are hidden. As I select each type in the request type variable, each container opens as expected and then closes when another type is selected. That is working perfectly.
However, when I submit the request and the RITM is created, all 7 containers are visible with all their variables, albeit there's only data in the section that had been filled out. As you can see above, I have the Applies On check boxes checked, so my expectation is that if a container is not visible on the request being submitted, then it also should not be visible on the RITM.
- Joanne
