Create ACL not working on table level.

pranay_14
ServiceNow Employee
ServiceNow Employee

I have a custom table where I need to create records of specific source_type 'XY' only and owner is not empty . I have created an create ACL with script condition as 

answer = (current.owner != '' && (current.isNewRecord() || current.source_type == 'XY'));
 
The source_type is never checked. How to fix this?
7 REPLIES 7

I am able to create records for other source_types as well , its not checking the source_type.

then write client script like when condition is match, the remove the option source type from source type list

Ankur Bawiskar
Tera Patron
Tera Patron

@pranay_14 

what's your actual business requirement 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