Variable values not getting cleared on request summary
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-02-2025 05:07 PM - edited ‎07-02-2025 05:21 PM
I have a form with several Catalog UI Policies configured. When I fill out a field on the form and then change my selection in a question above it, the variable value is cleared on the form as expected, based on the Catalog UI Policy. However, the cleared variable still appears in the Request Summary/Additional Details section. Since our approval email pulls data from the Request Summary/Additional Details, variables that are no longer visible on the form are being included in the email, even though they were cleared on the form itself.
I’ve tried various approaches to ensure these cleared variables don’t appear in the Request Summary, including using Catalog UI Policies, but the issue persists. I even built a script to clean them out, which works perfectly, but my manager wants this resolved without relying on a script. These variable does not appear on request item or the catalog task just on request summary. Can not hide the variable itself from summaries as we still want them to be sent out when end user does select/ fill them out.
Any help / suggestions would be apricated.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-02-2025 08:45 PM
it means variable is not getting cleared when user submits the REQ.
If it's present in this table (sc_item_option_mtom) it will show in Request Summary
Ensure your UI policy or client script clears the variable values when it's hidden from form
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
‎07-02-2025 09:31 PM
Thanks for your reply, the issue was I was making the variables visible with my catalog UI policies instead of hiding them and the clear variable value only works for a catalog UI policy when you are hiding the variable instead of showing it