Not able to update the change request status from schedule to implementation?

vimal11592
Tera Expert

Hi ,

I am trying to create the change request using SNOW rest API so far I am able to do the following:

  • Create the change request
  • Update the approval and request for approval. As it is standard request it gets approved automatically and goes to next state called schedule.
  • Now I am trying to move the request from scheduled to implementation but it is not happening. 

If we do using UI action it opens up confirmation pop up and once we confirm that it gets to the next steps i.e. implementation.

I have looked into the UI Action and found the following code:

action.setRedirectURL(current);

current.state=83;
current.work_start = nowDate; //update Close Tab with implementation start date/time
current.update();

 

So if we are trying to pass the same value from the rest call it gives the following error message:

{
  "error": {
    "detail": "",
    "message": "Standard Change Request cannot move to state: 83"
  },
  "status": "failure"
}

Can someone please take a look and suggest me how can I do this from REST call.Thanks in Advance.



Vimal

3 REPLIES 3

Ashutosh Munot1
Kilo Patron
Kilo Patron

Hi,

Is there any business rule on the table which restricts the state movement?

Is there any pre implementation task?

Thanks,
Ashutosh

No There is no pre implementation task.

Heather White
Mega Guru

Did anyone have success with this?  I am having the same issue.