The CreatorCon Call for Content is officially open! Get started here.

UI policies on variable set

ShaziyaS4380655
Tera Contributor

 

Hi @Ankur Bawiskar

I have written two ui policies on variable set one to hide two fields on all catalog items , and other two show mandatory fields on all catalog items and this variable set is used by all the catalog items , but when i open the catalog items it is hiding all the fields , and i want to show two fields on catalog tasks that iam hiding on all the catalog items . can u help over this.

7 REPLIES 7

Sarthak Kashyap
Tera Expert

Hi @ShaziyaS4380655 ,

 

 

Can you please check the box - "Reverse if false".

 

Please mark my answer correct and helpful if this works for you

Thanks,

Sarthak

 

Ankur Bawiskar
Tera Patron
Tera Patron

@ShaziyaS4380655 

Then ensure your Catalog UI policy doesn't run on Catalog Task

Applies on Catalog Task - Uncheck

💡 If my response helped, please mark it as correct ✔️ and close the thread 🔒 — this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

it should run on catalog task , so that fiels will be visible on catalog task based on short description , and should be hided on the catalo item

@ShaziyaS4380655 

so that's what I mentioned.

If you uncheck "Applies on catalog task" on your ui policy then your UI policy won't run on catalog task

you can have separate logic to show/hide your variables on catalog task then

💡 If my response helped, please mark it as correct ✔️ and close the thread 🔒 — this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader