State value changes in a list view. How does that apply to RITM's?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2024 02:35 PM
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2024 06:15 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2024 03:06 AM
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]
****************************************************************************************************************
