- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2019 09:38 AM
A colleague accidentally moved a demand from approved to completed (SN was slow, so she accidentally clicked the approve button twice, which inadvertently moved the demand to completed.) By her doing this, the project was not created.
Any thoughts? I'm assuming I either have to delete the demand and recreate it somehow (not sure how that would work since it was created off of the idea), or manually create the project separately and not have them linked together.
We are using Kingston.
Thanks--
Christine
Solved! Go to Solution.
- Labels:
-
Demand Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2019 09:56 AM
Your admin, developer can run one time fix script to reopen demand.
Use below to re-open demand
var dmn = new GlideRecord('dmn_demand');
dmn.addQuery('sys_id',"3b040317534113004e77ddeeff7b1279"); // update sys_id of demand record as per your instance
dmn.query();
while(dmn.next()){
dmn.state = "1";
dmn.setWorkflow(false);
dmn.update();
}
Regards,
Sachin

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2019 09:56 AM
Your admin, developer can run one time fix script to reopen demand.
Use below to re-open demand
var dmn = new GlideRecord('dmn_demand');
dmn.addQuery('sys_id',"3b040317534113004e77ddeeff7b1279"); // update sys_id of demand record as per your instance
dmn.query();
while(dmn.next()){
dmn.state = "1";
dmn.setWorkflow(false);
dmn.update();
}
Regards,
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2019 06:00 AM
Thank you. We will give it a try!