Missing comments field on approval records

matthew_magee1
Giga Guru

hello all,

I've given a select number of people the ability to see the Approve/Reject buttons on an approval record, even if they are not the actual Approver.

I noticed when I impersonate one of these 'privileged' users, the comments field will show then automatically disappear. I've looked through all UI Policies/client scripts, but can't figure out what is hiding the comments field. Without it, this privileged user won't be able to reject an approval record.

When I impersonate the actual Approver, I can see the comments field

 

Appreciate any assistance

1 ACCEPTED SOLUTION

matthew_magee1
Giga Guru

Turns out that field (Comments) is tied to an ACL for the sysapproval_approver table. So I updated the script on the write ACL for that table to include the group check (gs.getUser().isMemberOf('<myGroup>')

 

All is good

View solution in original post

3 REPLIES 3

vinothkumar
Tera Guru

Check is there any read or write ACL has been written on comments field. As the user needs to pass the write ACL as well to view that field on the approval form

matthew_magee1
Giga Guru

Good thought. Didn't see any ACL's that point to the comments field. If it is out of the box, then it should pop up, but didn't. Let me know if you know of any out of the box ACLs that might pertain to this field.

matthew_magee1
Giga Guru

Turns out that field (Comments) is tied to an ACL for the sysapproval_approver table. So I updated the script on the write ACL for that table to include the group check (gs.getUser().isMemberOf('<myGroup>')

 

All is good