Hi, I want to create a custom field on catalog task and want it to be visible for my particular item
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2023 11:50 PM
Hi, I want to create a custom field on catalog task and want it to be visible for my particular catalog item. I tried to add UI Policy for that particular item but in UI policy action the variable is not reflecting which I have to add or SC_task.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2023 09:13 AM
1 - Access the table of your instance where the catalog items are located.
Depending on how your instance is configured, you can open the structure of your service catalog by typing "sc_catalog.list" in the filter navigator.
After doing this, you choose your service catalog as shown in the image below:
2 – When you click on your services catalog, it will open the general structure of your services catalog containing catalog items, categories, etc.
3 – Choose the item you want to make changes to:
4 - After choosing the item you want to make changes to, you will have a view like the image above, in the related list, you have access to the variables tabs, ui policies, etc.
Click on new to create a new variable, configure it the way you want, with name, order, type, etc.
5 – After creating the variable and saving its settings, click on the “Catalog Ui Policies” tab and click NEW.
6 – The Police UI configuration screen will open where you first enter a description, the condition, where this police UI will appear. Then right click on the top and then click on save.
7 – Then List the new field you created in the variables in this police UI, and define it in the Visible, Mandatory and etc. columns.
In this part, just choose between true or false.
After saving, perform the tests.
Remember that these changes must be made in dev first in a separate update set. Then test and move up to QA or PROD.
I hope I helped, I also leave the link to the servicenow ui policies documentation below, I advise you to read it as there is a lot of important information about it.
And if I was useful or helped, I would appreciate it if you liked it 😊