To disable comment section when the HR case is inactive(Closed Complete, Closed Incomplete)

mahitha_som
Tera Contributor

Hi All,

 

We have a requirement to disable(Hide/Make Read-only) "Type your message here" under activity section in My requests for closed cases. Can anyone please let me know, how this can be achieved?

I have tried this with data policy, it doesn't allow the user to add comments by displaying an error message after he clicks on post button. But this field is still visible and allows user to type the comment and click on post button. 

mahitha_som_0-1750442342836.png

 

2 REPLIES 2

Chaitanya ILCR
Mega Patron

Hi @mahitha_som 

create a UI policy like highlighted (create it on hr core case table with inherited true so that it'll be applied to all the child hr tables

ChaitanyaILCR_0-1750444282884.png

 

OOB there is a similar thing on incident table as well in case if you want to refer to

ChaitanyaILCR_1-1750444367962.png

 

 

Please mark my answer as helpful/correct if it resolves your query.

Regards,
Chaitanya

 

mahitha_som
Tera Contributor

Hi @Chaitanya ILCR 
Thank you for your help. When I tried with Data policy, I used UI policy too, but it doesn't help much.
But it can be achieved with the help of ACL. Its working as expected now.

Regards,

Mahitha
Mahitha