Comments section always visible and editable.

VullankiL
Tera Contributor

Hi All,

If I open a record from the table which extends global "Task" table, then based on my ACL conditions the "Additional Comments" field under Notes section become read-only as expected.

VullankiL_0-1757071305855.png

 


But under the Comments section, it is always editable to add message for all users. I believe it is because of task.comments ACL. How to avoid or override this one. 

Please provide the solution.

Thank you

11 REPLIES 11

Ankur Bawiskar
Tera Patron
Tera Patron

@VullankiL 

any user having read and write role will see and add comments.

Yes task.comments field level ACL is there on task table

To override the behavior you can create your own table.comments READ and WRITE ACL and handle the logic.

Since you created your own field level ACL it will take precedence.

AnkurBawiskar_0-1757072693301.png

 

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

Thank you @Ankur Bawiskar ,
I have created my own table.comments Write ACL, but still it is only applying to the Additional Comments field showing in the "Notes" section.
Not applying to the Comments section. It is always showing "Type your message here.." and is always editable.

 

@VullankiL 

so it means your field level WRITE is not blocking.

Did you check using access analyzer which field level WRITE ACL is allowing the edit?

[Vancouver Release] Customers gain enhanced access visibility with ServiceNow Access Analyzer 

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

Yes @Ankur Bawiskar ,
For write access - it is showing as "Blocked", but still the field editable for that user..