Invalid State Transition error message on Catalog Task
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2025 09:50 AM
Hello all,
Good day!!
I am getting an error message when I am closing the catalog task using UI action button "Close task".
But this error message is showing up in QA instance but NOT in dev instance.
Task is getting closed, but the error message is showing up.
So, what could be the problem??
Where did this error message configured in the system?
Regards,
Lucky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2025 09:58 AM
Hi @Lucky1 ,
In the list view of client script and Business Rule search for this error message in the script filed using filter.
You might get client script or BR from where this message is coming.
Regards,
Rohit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2025 10:09 AM
Hello Rohit,
No, I searched in Client scripts and business rules with "Invalid State transition" name but I couldn't find any.
Also, for your information, I have already searched in the code search in the Studio. and I see there is no where in the system this line of code is used.
Again, reminding everyone, this error message is only showing up in QA instance but NOT in dev instance.
Regards,
Lucky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2025 10:03 AM
is state model defined on sc_task table with the state transitions?
check here
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2025 10:14 AM
Hello Ankur,
Yes I see there is a state model record on sc_task table "Restricting state on sctask".
I compared it with both dev and qa and they are same.
Regards,
Lucky