The Zurich release has arrived! Interested in new features and functionalities? Click here for more

resolution_code on Problem record is not getting set read-only through client script and ui policy.

nirwan_ritik
Tera Contributor

Hi all,

When I click on cancel on problem record,

nirwan_ritik_0-1705488277341.png

below window pops up having field resolution_code in it

nirwan_ritik_1-1705488328341.png


I want to make the Resolution code read only for the problem assigned to assignment group starting with GT. I tried ui policy and also client script. It not looks to be working.

Kindly help me on this 🙂

Regards,
Ritik

6 REPLIES 6

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @nirwan_ritik 

 

TRy to write code here

 

LearnNGrowAtul_0-1705488615839.png

 

*************************************************************************************************************
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]

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

Hi Atul,

 

I tried it but it didn't work.

 

Thanks

Jayant_M
Kilo Sage

Hi @nirwan_ritik ,

 

create the same Cancel UI action for your table and write the code in the onClick function to make it read only.

 

Please mark my response helpful if it resolves your issue

Dr Atul G- LNG
Tera Patron
Tera Patron

@Anurag Tripathi need again guidance. 

 

I think it is modal that can be reason or we cant make it what you need. 

*************************************************************************************************************
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]

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