State value changes in a list view. How does that apply to RITM's?

Russell Abbott
Kilo Sage

I'm can't find an answer to this question.

If I have a UI action on a RITM, lets call it 'Cancel', it sets the RITM state value to cancelled, and has some other script commands that are not OOTB.

If I find that RITM in a list view and change the State value to 'Cancelled', does it run the scripts as though I clicked the 'Cancel' UI Action?

If this is NOT the case, then should it be advised to disable the ability to change the State value in a list view?

 

Thanks!

2 REPLIES 2

Maik Skoddow
Tera Patron

Hi @Russell Abbott 

yes, absolutely! It is not recommended to change state values in a list view as some business logic might be bypassed, thus bringing the RITM (or any other records) out-of-sync with the underlying workflow or flow. 

Maik

Dr Atul G- LNG
Tera Patron

Hi @Russell Abbott 

 

If possible, please avoid the state/ stage change from list view and mainly on RITM. As RITM has task attached and closing/ updating stage/ state from list view may impact the business logic. 

*************************************************************************************************************
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/dratulgrover [ Connect for 1-1 Session]

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