We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Hi, I want to create a custom field on catalog task and want it to be visible for my particular item

akashgujar
Tera Contributor

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.

10 REPLIES 10

Raghav Sharma24
Giga Patron

1. sc_task is a field and it has fields not variables, if you want to show hide field you need UI policies on task table.

2. variables are added in catalog item, if you want to show hide variables you need catalog UI policies, there the variable will be visible.

 

Your requirement is bit contradictory, please state clearly.

 

akashgujar
Tera Contributor

I have one variable in my catalog item named as Effort hours. So when approver approved the request SC task is creating and I have to show ER status variable on SC Task which is reflecting on catalog task. But when the user is again manually creating catalog task by clicking on new button , so I have to show that variable there on that new catalog task.

 

Ok make your variable as global true . There is a field global on variable mark that as true in your catalog item.

If we create a new field as admin it will be available for all tasks . But I want that variable for only one of my catalog item.