Invalid State Transition error message on Catalog Task

Lucky1
Tera Guru

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?

Lucky1_0-1743094217233.png

 

 

 

 

Regards,

Lucky

9 REPLIES 9

Rohit  Singh
Mega Sage

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

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

Ankur Bawiskar
Tera Patron
Tera Patron

@Lucky1 

is state model defined on sc_task table with the state transitions?

check here

AnkurBawiskar_0-1743094981787.png

 

AnkurBawiskar_1-1743095018553.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

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