- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2021 11:10 AM
Hello,
I have a requirement to hide one specific variable like (EmpID) on catalog form and request item RITM. But that variable should visible on sctask form
can suggest how to achieve this.
Thanks
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2021 11:32 AM
Hello
as per the best practice of servcienow.You can use UI Policy to hide that variable.
Go the Related List of your cactalog item>open UI Policies Tab>New
Mark the Check Box to True for catalog item view and RITM View or your choice
Add below data as per your specification and right click on banner and save.
Now you can go related list, in catalog UI Policy action click New
or you can use onLoad Catalog Cclient Script:- Go the Related List of your catalog item> Client Script Tab>New
g_form.setVisibility("emp_id",false);
Please Mark Correct and Helpful
Thanks and Regards
Gaurav Shirsat

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2021 11:42 AM
Hello
I forgot to tell you that
If You want that Variable to be available in Task View, You need to add that Variable in Catalog Task.
in the Catalog Task of Your Workflow, You will find the Variable section at very bottom.
you need to add that variable to available section i.e. to the Right Side.
Please Mark Correct and Helpful
Thanks and Regards
Gaurav Shirsat