isValidRecord() in ACL returns false when it should return true
This content was last updated in 2019. It may still be useful, but could contain outdated information. Please confirm its accuracy before relying on it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2017 11:53 AM
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?
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2019 03:26 AM
Did you get any answer for this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2019 06:56 PM
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.