Join us Dec. 16 for The Community Hour, our first global virtual User Group event!

How to find the variables of catalog items in UI Policy Conditions

Alon Grod
Tera Expert

Hi,

 

Im trying to create a UI Policy to make a field visible only when a variable of a specific catalog item is populated with specific value but i cant find the catalog item's variable in the related lists.
What should I do?

Screen Shot 2023-01-05 at 12.31.58.png

 

6 REPLIES 6

I do not want to add on the catalog item. After submitting a request using catalog item, a task has been created in sc_task table. On this task, I have a field and I want to make this field visible only when specific variable is populated with specific value during the process of submitting the request.

Follow the below steps:
Go to workflow where the task is being created, add the specified variable in that section
Write a client script
Access the variable via g_form.variable_name

and write a condition using scripts