- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2019 12:03 AM
Hi,
I have a requirement to add new state in problem. I have created a new ui action button "Awaiting Information" and when we click this will ask to enter additional comments and once added the state of the problem needs to change to "Awaiting Information".
Below is the ui action script. However i am getting error "Invalid state transition. Can not update from state 'New' to state 'Awaiting Information' with given values.
I have added the new state in the task table and modified the script includes,ProblemStateSNC, ProblemStateUtilsSNC to add the new state. Please guide what i am missing here.
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2019 04:17 AM
Hello, you need to check State Models for problem. For new state specify condition that it should change state from "New" to "Awaiting Information"
I was also facing the same issue for normal change request. I was getting Can not update state form Authorize to New.
For that I have modified Sate Model for Normal change request.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2019 03:44 AM
This works for me for Change management.
Thanks Pooja!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2020 01:46 AM
Thanks for the help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2019 06:10 PM
Attempting to add a new state model can be a problem if the new state does not exist as an option.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2020 12:10 PM
Please check this KB >> https://hi.service-now.com/kb_view.do?sysparm_article=KB0827823
This might help you to identify the cause.