- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2021 05:03 PM
Hello SN Community,
I hope someone will help me with this.
I am new to SN but really learning.
I need step by step instruction as to how move back a change request state from Review State to Asses state. Becuase the change failed. Is it possible??? If so please provide step by step as I am new to SN environmnet.
Thank you SN community.
Appreciate your help.
Solved! Go to Solution.
- Labels:
-
Change Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2021 03:31 AM
okay got it. If it is just for one change request, then you do not need to follow the above steps as my thought was you need to setup a functionality for future change request as well.
For one change Request, you need to run a Background script and that should work for you.
Navigate to Background Script module as shown below:
Copy paste the below script and replace in line number 2 the correct sys id of the change request record for which you want to do this change.
var gr = new GlideRecord('change_request');
gr.get('e8f816d5c0a801640131b8101100744c'); //Replace sysID with your ChangeRequest SysID
gr.state = -4;
gr.setWorkflow(false);
gr.update();
Please try this in your Non Prod instances first before executing it in Production, just to be on a safer side.
Hope this helps. Please mark the answer as correct/helpful based on impact.
Regards,
Shloke
Regards,
Shloke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2021 03:40 PM
Hi Shloke,
You are a legend. Thank you for your help. your solution worked. Fantastic stuff.
appreciate your help.
Elias.
I really want to learn the coding for SN and I am not sure where to start as a beginner. do you know where i can start on this Journey.?????
Thanks again.