HR TASK - when state changes to close complete additional note and work note are read only. why ?

eyal abu hamad
Mega Sage

U want the HR task when it changes to close complete to not make the comments section read only

eyalabuhamad_0-1745739766171.pngeyalabuhamad_1-1745739779726.png



state close complete

eyalabuhamad_2-1745739821397.pngeyalabuhamad_3-1745739835995.png

 

1 ACCEPTED SOLUTION

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @eyal abu hamad 

It could be an out-of-the-box (OOTB) behavior. You can check the HR Task table to see if any scripts, business rules (BR), or policies are applied that might be making it read-only. I checked in my PDI, and OOTB, when I move the HR task to a closed state, the additional comments get hidden. This suggests that it's defined OOTB. Please verify the logic, BR, or script on the HR task.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

View solution in original post

2 REPLIES 2

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @eyal abu hamad 

It could be an out-of-the-box (OOTB) behavior. You can check the HR Task table to see if any scripts, business rules (BR), or policies are applied that might be making it read-only. I checked in my PDI, and OOTB, when I move the HR task to a closed state, the additional comments get hidden. This suggests that it's defined OOTB. Please verify the logic, BR, or script on the HR task.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

I forgot about the UI policy 🤣
thank you, the name of the ui policy is "Lock fields when Task is closed" and its on the HR Task table
comments and work notes set to read only when the state change to closed complete, close in complete or canceled