How to show ui action only for one catalog item

Vani14
Tera Contributor

we have created approve ui action button for approval table and that button has to be displayed only for one catalog item

1 ACCEPTED SOLUTION

Community Alums
Not applicable

Hi @Vani14 ,

Please check 

current.sysapproval.cat_item == 'sys_id of cat item'

 

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

Thanks and Regards

Sarthak

View solution in original post

17 REPLIES 17

Ankur Bawiskar
Tera Patron
Tera Patron

@Vani14 

Out of the box there is already approve/reject UI actions on approval table.

Why to have another one?

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

@Ankur Bawiskar  we have created custom approve UI action for a particular catalog that requires e signature

@Vani14 

update as this in the UI action condition

current.sysapproval.ref_sc_req_item.cat_item.name == 'Your Catalog Item Name Here'

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

@Ankur Bawiskar  i have update but still i am able to see this UI action for all catalog items