Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Adding an additional comment is changing the state

Navaneeth1
Tera Guru

I have a custom table that inherits from the incident table. Whenever the state value is 3 and I post an additional comment, it changes the state to 1 for this custom table only.

I don't save the form when the additional comment is added, but it still automatically changes the state to the state which has value 1. I tried looking for business rules and client scripts that are doing this but I couldn't find any that runs on this one condition.

Can anyone help me keep the state as 3 when an additional comment is added to the system?

5 REPLIES 5

Anubhav24
Mega Sage

Hi @Navaneeth1 ,

 

Can you check any UI Policy written on the custom table to see if that is setting the value of state back to 1.

 

Please mark helpful/correct if my response helped you.

@Anubhav24 UI Policies don't make the changes permanent right unless I save it right? So, that's why I', guessing this is some business rule or server-side script. I don't save it just changes the value of the state to assigned and it remains there even if I see it from list view without saving.

Hi @Navaneeth1 

Okay , can it be a case that some client script is getting called on change of additional comment and in turn that calls a script include and updates the state.

 

Please mark helpful/correct if my response helped you.

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Navaneeth1 

 

I tried same at my end, when you select State 3 - On hold what reason you are selecting?

 

I did not find any wired behaviours. 

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

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