Adding an additional comment is changing the state
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-23-2024 04:06 AM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-23-2024 04:11 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-23-2024 07:23 AM
@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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-23-2024 10:05 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-23-2024 04:15 AM
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]
****************************************************************************************************************