- 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 05:43 AM
Hi @Vani14
You can add condition in UI Action like current.document_id == 'sys_id';
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 05:53 AM
i have added the condition as current.sc_req_item.cat_item == 'sys_id of catalog item'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2024 05:57 AM
@Vani14 ,
As you mention you created UI Action on Approval table correct? In approval table we don't have any field called sc_req_item.
We have document_id in approval table.
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:01 AM
@Community Alums i have added condition as current.document_id == 'sys_id of catalog name' but its not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2024 06:12 AM
Hi @Vani14 ,
I checked please try with this condition
current.sysapproval == sys_id of catalog name'
Please mark my answer correct and helpful if this works for you.
Thanks and Regards
Sarthak