State Transition Error getting in change model

Saib1
Tera Guru

Hi ,

 

I am trying to move the change from Authorize to Review via UnAuthorized Change Model

Getting below error

Error Message

Invalid state transition. Can not update from state 'Authorize' to state 'Review' with given values.
 
I checked on the Script Include - ChangeRequestStateModel_emergency , i am seein the Review is there 

 authorize: {
        nextState: [ "scheduled" ],

        draft: {
            moving: function() {
                return this.toDraft_moving();
            },

            canMove: function() {
                return this.toDraft_canMove();
            }
        },

        scheduled: {
            moving: function() {
                return this.toScheduled_moving();
            },

            canMove: function() {
                return this.toScheduled_canMove();
            }
        },

        review: {
            moving: function() {
                return this.toReview_moving();
            },

            canMove: function() {
                return this.toReview_canMove();
            }
        },

        canceled: {
            moving: function() {
                return this.toCanceled_moving();
            },

            canMove: function() {
                return this.toCanceled_canMove();
            }
        }
    },

 

what could be the reason and where to check now ? On the

1 REPLY 1

Ct111
Tera Sage

Check this thread.

It seems you need to change something at condition level in configuration. Take this thread as reference and verify your setting as per your requirement

 

Mark my ANSWER as CORRECT and HELPFUL if it helps