How to reopen one Cancelled Incident back to its original state
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2019 02:29 AM
Hi All,
I want to reopen one Cancelled Incident back to the original state and make all the fields editable.
It was in InProgress State and after that State was changed to Cancelled.
Can anyone suggest me how to achieve this ?
Thanks,
SNOW@Das
Labels:
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2019 02:38 AM
You can write a background script and reopen if it is a one time purpose. You can try this out once.
var inc = new GlideRecord('incident');
inc.get('SYS_ID of Incident');
inc.state = '2';
inc.setWorkflow(false);
inc.update();