Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

isValidRecord() in ACL returns false when it should return true

yhxqqsn
Tera Contributor

We have an M2M table, u_task_cmdb_ci_appl, from the task table to the cmdb_ci_appl table. The table is displayed as a related list on change requests to show applications related to CIs affected by the change request. In the related list, fields from the cmdb_ci_appl table are shown, using dot walking in configure -> list layout

An ACL exists for the cmdb_ci table that allows a user to see cmdb records if the current record "isvalidRecord()".

This ACL is preventing users from seeing the dot walked field values in the related list of the M2M table, u_task_cmdb_ci_appl. The "isValidRecord()" in the ACL script is returning 'false'.

The cmdb_ci_appl records from which the dot walked fields come are not new records so I am expecting the 'isValidRecord()" to be returning 'true'.

Has anyone seen this happen in their instances?

2 REPLIES 2

Divakar3
Kilo Contributor

Did you get any answer for this?

Sorry, no. Since it was 3 years ago on an account I don't have access to anymore I don't remember how we resolved it or if we found another way to get the information we wanted.