Set variable mandatory on catalog task based on other variable

BijoyDeb
Tera Contributor

Hi All,

I searched on community a lot for this use case, but nothing that can fit in my requirement

I have three variable on my catalog---

Application - refers to cmdb ci

Category - choice

Subcategory - choice

 

Category and subcategory are always visible on catalog item, but not mandatory.

But, lets say if application is linkdin and user is trying to close the catalog task, in that case both category and subcategory should be mandatory.

 

I thought of writing ui policy oncatalog task, but I can't select variable or question in filter conditions

 

BijoyDeb_0-1729012331006.png

What is the way that I can fulfill this scenario.

Any guidance will be appreciated

 

Thanks in advance!!

 

 

6 REPLIES 6

Voona Rohila
Kilo Patron
Kilo Patron

Hi @BijoyDeb  -  Did you try the approach I suggested?


Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP

Sumanth16
Kilo Patron

Hi @BijoyDeb ,

 

Please refer below thread:

https://www.servicenow.com/community/now-platform-blog/what-is-the-best-way-to-make-catalog-task-var...

 

If you find it helpful, please mark my answer as correct so that it can useful to others.

 

Thanks & Regards,
Sumanth Meda