How to find the variables of catalog items in UI Policy Conditions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2023 02:32 AM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2023 03:15 AM
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2023 03:43 AM
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
Please mark correct if my response has solved your query.
Cheers,
Mohammed Basheer Ahmed.