What can I use for current record sys_id in acl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2023 11:12 PM
I have created a acl on sc_req_item and I'm trying to get my current catalog item sys_id. How can i get?
If it would be BR I could use current.item but in acl how can I?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2023 11:31 PM
@Akki1 -
Option 1: Check the Advanced option in ACL and in script section use current.cat_item that provide you the Catalog item sys_id which you can use to evaluate the condition.
Option 2: Just use condition builder to select the catalogue item and build the condition
Thanks & Regards,
Vasanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-22-2023 01:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-22-2023 01:47 AM
@Akki1 - Yes. current object can be used in ACL script. Could you please share the screenshot of what you are trying if possible.
Thanks & Regards,
Vasanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2023 11:48 PM
I think current.item also should work or try current.getValue(item) should also return sys_id of current record.
Please mark helpful if this helped.