All Risk identification records flipped from "Complete" state to "In Progress" state on new year .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
All Risk identification records flipped from "Complete" state to "In Progress" state on 31 dec. due to annual frequency set on 1 Jan. but now we want to cancel newly reinitiated workflow and rollback to previously completed workflow. how to achieve this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi @Ganesh65 ,
It happened due to the Assessment Scheduler probably.
The Schedule may set as annually that's why it got triggered at 1 st Jan.
The Problem was that If the Risks are already Moved to InProgress state and the Assessment Summery of Risk is already blank then you need to do the assessment again to get the Asessment scores again.
But if the Scores are there in the Risk. Then there is a process to Revert it.
1. Try to close all the assessment that are related to the Risk Assessment.
2. Change the from Reassessment frequency annual to something else that is requires as per your project need.
3. Then once you update the scheduler save it.
4. Then try to Update the state of the Risk from Draft/ Assess to Monitor Using Fix Script.
var gr = new GlideRecord('sn_risk_risk');
gr.addEncodedQuery('state=assess^ORstate=draft^primary_risk_assessment_methodology='+Your_Risk_assessment_sysid);
gr.query();
while(gr.next()){
gr.state = 'monitor'; //The backend name of Monitor state.
gr.update();
}
Use the process above to resolve your issue.
Regards,
Sagnic
