- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-11-2025 07:55 AM
Hi, I have a record producer created in the csm scope. I have selected applies to target record checkbox, but there is a ui action - value action- clear value selected as well. So it is clearing up the values in the backend (variables) section. How do i show the variables that are only filled on the form and not the other fields.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-11-2025 08:00 AM
So what's your concern
1) clearing of variable on target record -> if yes then check if any UI policy is configured which applies on target record and has UI policy action with Clear Value checkbox checked
2) hide empty variables -> you can use onLoad client script + Display business rule
Check which variables are filled and then hide the ones which are empty
use my blog
Hide empty variables on RITM and TASK record
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-11-2025 08:00 AM
So what's your concern
1) clearing of variable on target record -> if yes then check if any UI policy is configured which applies on target record and has UI policy action with Clear Value checkbox checked
2) hide empty variables -> you can use onLoad client script + Display business rule
Check which variables are filled and then hide the ones which are empty
use my blog
Hide empty variables on RITM and TASK record
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-13-2025 08:06 AM
Hope you are doing good.
Did my reply answer your question?
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-14-2025 09:18 AM
Thank you Ankur, I was looking for option2 - which answers my question, but mine is in csm scope, which we are doing it in the case table, will it work in scoped application as well?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-14-2025 07:46 PM
yes it should work for scoped app as well, so create those components in CSM scope
Also ensure you enhance the script and logic for case table
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