How to prevent users from typing comments in closed HR cases in portal?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2022 12:32 AM
Hi all,
We want to restrict users from being able to enter comments in "Type your message here " box in portal for closed/ Cancelled HR cases. I found an OOB write ACL for sn_hr_core_case.comments to which I added active=true condition. But I find this working only for non roled users and not for the users who have the roles specified in the write ACL. Can anyone please suggest?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2022 12:39 AM
Hello,
Generally we lockdown entire case form once case is closed, what you can do for your requirement is , just active true flag to existing ACL and create new write ACL for comments field with condition as 'Active' false and role should be admin or hr admin so that comments will be disabled for end users except for admins and hr admin.
Please hit like and mark my response as correct if that helps
Regards
Regards,
Musab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2022 12:45 AM
Hi Musab,
I will try creating new Write ACL. But my question is, when I add Active=true to the existing ACL , why is it still allowing the users satisfying the script condition to enter comments for closed cases? Both the condition and the script have to be satisfied for the ACL to work , is it not?
Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2022 12:48 AM
There may be chances that other ACLs might bypass hence better write new ACL as well like I mentioned. I have created two ACLs which is locking down entire form, if you want that config I will share with you.
Regards,
Musab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2022 01:54 AM
Hi Musab,
Supposing we want nobody to enter comments in the portal for a closed case, what do we do?
Thanks