Is it possible to base an UI action condition on a catalog item variable?

mdjoseph12
Giga Contributor

Ive created a UI action that I only want to appear on a specific catalog item, but I also want to toggle its visibility based on the value of a specific variable on the catalog item. So far all I have is:

 current.cat_item.sys_id=='66a8d044db7db344f77bf3931d96196c' 

but would is be possible to include:

current.cat_item.variables.'name of variable'==' '

 

 

1 REPLY 1

Giles Lewis
Giga Guru

Yes, you can.

If the UI Action is on the Requested Item table, then the condition syntax would be

current.cat_item.sys_id=='66a8d044db7db344f77bf3931d96196c' && current.variables.variablename=='somevalue'