- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-17-2017 05:13 AM
Hi All,
Currently Comments field let you add message even to the closed ticket but we have a requirement that it should let add a message only when a ticket is open.I'm not sure how should I go and do it any leads will help a lot,.
Thanks,
Nikhil Gadodiya
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-17-2017 05:16 AM
Hi Nikhil,
This would be done via ACLs. No scripting necessary - a condition builder such as "Active | is | true" is likely granting write access to one or more fields while the record is active and another ACL is granting access to comments after that. Ensure your access control lists prevent writing after the record is closed.
Docs: Access control rules
Docs: Contextual security
Security Best Practices - ServiceNow Wiki

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-10-2018 09:53 PM
Hi Craig,
I wanted to hide additional comments text area for closed cases.
Reason: User should not add additional comments on closed cases.
Thanks,
Poojitha BN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-17-2017 05:18 AM
For who is it open? End users can't comment on a closed ticket OOB.
//Göran

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-17-2017 05:19 AM
Hi Nikhil,
To accomplish this, you have to modify the ACLs, you have to select the table and the field as comment and restrict the write access by providing appropriate role or return the answer as false.
Using Access Control Rules - ServiceNow Wiki

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-28-2018 11:40 PM
Hi Nikhil,
I have a same requirement like Hide additional comments text area for closed cases in HR Portal.
I have added below condition to sn_hr_core_case.comments Write ACL.
Condition : Active is true
This is not working only when I open closed case for first time in Portal.
Note : After refresh or after 2nd click its working.
On first load:
after refresh:
Please let me know how to fix this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-28-2018 11:46 PM
I haven't work with HR, but it sounds like you might have more ACLs there. Is there any more acl that hits: sn_hr_core_case.comments?