- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2024 05:35 AM
we have created approve ui action button for approval table and that button has to be displayed only for one catalog item
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2024 06:25 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2024 06:20 AM
@Community Alums it is not working

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2024 06:25 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2024 06:29 AM - edited 05-21-2024 05:30 AM
@Community Alums
this condition is working but we need to add double quotes and also it is working only for the form button. for the list context menu, this condition is not working
current.sysapproval.cat_item == "sys_id of cat item"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2024 08:35 AM
@Community Alums this condition is working but we need to add double quotes and also it is working only for the form button. for the list context menu, this condition is not working
current.sysapproval.cat_item == "sys_id of cat item"
could you please help me on this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2024 05:54 AM - edited 05-20-2024 05:55 AM
Hi @Vani14 you can use this like a condition for your custom ui action
just replace the cat_item_sys_id by your catalog item sys id
gs.getProperty("glide.servlet.uri") + gs.action.getGlideURI().indexOf('cat_item_sys_id') != -1
Please mark my answer correct and helpful if this works for you.
Thanks