Prevent deletion of category result

SandeepKSingh
Kilo Sage

Need to prevent delection of assessment Category result if evaluation method is "Vendor Risk Management".

What script shall I write?

1 ACCEPTED SOLUTION

Ravi Gaurav
Giga Sage
Giga Sage

Hello,

 

Can you try before delete and give the condition as below:-

RaviGaurav_0-1724335126299.png

and Write the script "

    current.setAbortAction(true);
 

 

--------------------------------------------------------------------------------------------------------------------------


If you found my response helpful, I would greatly appreciate it if you could mark it as "Accepted Solution" and "Helpful."
Your support not only benefits the community but also encourages me to continue assisting. Thank you so much!

Thanks and Regards
Ravi Gaurav | ServiceNow MVP 2025,2024 | ServiceNow Practice Lead | Solution Architect
CGI
M.Tech in Data Science & AI

 YouTube: https://www.youtube.com/@learnservicenowwithravi
 LinkedIn: https://www.linkedin.com/in/ravi-gaurav-a67542aa/

View solution in original post

1 REPLY 1

Ravi Gaurav
Giga Sage
Giga Sage

Hello,

 

Can you try before delete and give the condition as below:-

RaviGaurav_0-1724335126299.png

and Write the script "

    current.setAbortAction(true);
 

 

--------------------------------------------------------------------------------------------------------------------------


If you found my response helpful, I would greatly appreciate it if you could mark it as "Accepted Solution" and "Helpful."
Your support not only benefits the community but also encourages me to continue assisting. Thank you so much!

Thanks and Regards
Ravi Gaurav | ServiceNow MVP 2025,2024 | ServiceNow Practice Lead | Solution Architect
CGI
M.Tech in Data Science & AI

 YouTube: https://www.youtube.com/@learnservicenowwithravi
 LinkedIn: https://www.linkedin.com/in/ravi-gaurav-a67542aa/