The CreatorCon Call for Content is officially open! Get started here.

What can I use for current record sys_id in acl

Akki1
Tera Contributor

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?

4 REPLIES 4

Vasantharajan N
Giga Sage
Giga Sage

@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

@Vasantharajan N 

Can current object be used?

Its not working

@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

PrasadJoshi
Tera Contributor

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.