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 08:08 PM
if both the places it's same then it should throw error in both or no error in both.
Try to raise a case with ServiceNow.
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:04 AM
Hi @Lucky1 ,
Check if state model is set for catalog task table
Please mark my answer as helpful/correct if it resolves your query.
Regards,
Chaitanya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2025 10:15 AM
Hello Chaintanya,
Yes, I see there is a state model defined on the sc_task table.
Regards,
Lucky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2025 10:20 AM - edited 03-27-2025 10:24 AM
Hi @Lucky1
check the state that you are trying to move the catalog task to looks like you are moving it closed
check if that state(closed?) is allowed from current state check the enter condition.
Ex: in this case state asses is allowed form Only new state
you can update your state's enter condition with current state(work in progress?) against state you are trying to move the sctask to(closed?) open the close state and add work in progress in enter condition
that's what what is throwing that error that you have shared
Please mark my answer as helpful/correct if it resolves your query.
Regards,
Chaitanya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2025 10:25 AM
Yes Chaitanya,
I have checked the enter conditions both in dev and QA.
I opened the Closed Complete State transition record, and I see the State selected is Closed Complete and the Enter condition is:
State is one of Work in progress and Peer review.
I really wonder, why the error message is not showing up in dev and only showing up in QA.
Regards,
Lucky