Service Now Catalog variables visibility only in task not on form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2024 12:29 PM
How to make sure that the service catalog variables are visible only on the task but not on the form while a user is requesting a request ? For eg I don't want the department part to come up while filling my form , but when I create my request task in that I can populate the department variable ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2024 11:04 PM
Hi sounds helpful i did that as i only want on my task . But when i update my task and change it to complete state and try visiting my task once again the department field gets disappeared automatically . I cannot see any information if i visit again . I also set the condition such as the person requesting my task should not be empty as every task is opened by someone still when i update or complete my request things dis appear . I also tried catalog UI scripts for on change , on submit but still its not working .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2024 10:07 PM
Variable keep Global. Onload Hide the Variable. By using Catalog client script through you can build logic hide and show.