- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2024 02:23 AM
Hi,
I need to add a new stage for the problem flow. The problem is that I can't manage to transition to that new state. As the picture shows, I created a new state called "A" between "Assess" and "Root Cause Analysis" to put an example.
I try to change the UI Action that transitions from "Asses" to "Root Cause Analysis" so it changes to "A" state instead. To get that I just use:
But when I click the button, the next error emerges:
How can I make that transition to the new state without getting this error?
Thank you.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2024 02:33 AM
Hi @Vemisal
Greetings!!
If you just doing this from learning side, that's fine, bcz adding a new state is like a customization and need to align all other UI action/ scripts to work fine.
You can check the OOTB , state model for Prb
and see where to make changes so that your code work.
Need to define the new state
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]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2024 02:33 AM
Hi @Vemisal
Greetings!!
If you just doing this from learning side, that's fine, bcz adding a new state is like a customization and need to align all other UI action/ scripts to work fine.
You can check the OOTB , state model for Prb
and see where to make changes so that your code work.
Need to define the new state
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]
****************************************************************************************************************