Hide Fields in the section based on the field value on the record producer form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Friday
we have record producer which will create a record in target table upon submission and now my requirement is to hide particular fields in the section on the form based on the other filed value on the form for the new records which will be creating from now.
For that I have written a onload catalog client script as below but still is not hiding the field as expected, your help with your expertise would be helpful.
Thanks in advance!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
19 hours ago
so what's your exact question
Example: INC001 is created via record producer so when INC001 is opened and that variable has your matching value then hide that field
If that's what you require then the script should work fine
If that's not your requirement then what's your exact use-case?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
18 hours ago
No need to write catalog client script as the record will be created in incident table so the there we will need normal UI Policy or client script
.
Also for new Records you can write condition in the advanced View....
This is the record on the incident table and as the caller is David Loo it is hiding impact and Urgency field based on the caller
