Managing ReleaseOps Deployment Requests when cloning an instance in the pipeline Introduction Cloning production over another instance in a ReleaseOps pipeline replaces that instance's update sets with production's. Deployment Requests (DRs) that are still in progress lose their update sets on that instance. On Dev, these are the DRs' source update sets. On any other instance, these are the update sets the DRs already moved there. ReleaseOps's record of what it already moved is also out of date. This article explains how to prepare for the clone and how to restart those DRs afterwards. Perform all Deployment Request steps on the ReleaseOps controller instance.Do not clone over the controller instance itself. ReleaseOps excludes its tables from clones, so the controller would lose its Deployment Requests and releases. Before the clone Complete releases that are past code freeze. Find them with: sn_releaseops_release_list.do?sysparm_query=stateIN30,40,50,60. These are releases in Preparing, Ready for deployment, Deploying or Reconciling.Each one must be Complete before you clone. Bring the release schedule forward, or postpone the clone.The reason: a DR can only be assessed again while its release is 'Active'. Check the scheduled-job clone settings. A business rule normally keeps scheduled job definitions (sysauto, sysauto_script) in sync with the sys_trigger. Cloning doesn't run business rules.Give sys_trigger and the scheduled-job tables the same setting in the clone's Exclude and Preserve Data lists: either include both, or neither.If the settings differ, the cloned instance can end up with scheduled jobs that never run. See KB3143252 to learn more. Identify the DRs you'll handle after the clone. Open DRs that are not Completed or Cancelled: sn_releaseops_deployment_request_list.do?sysparm_query=stateNOT IN60,70Find their update sets with: sn_releaseops_deployment_request_update_set_list.do?sysparm_query=deployment_request.stateNOT IN60,70 If the clone target is Dev, export the update sets. The clone replaces Dev's update sets, so on Dev, export all update sets associated with DRs which you identified: a single update set: Export to XMLan update set batch: open the parent and use Export Update Set Batch to XMLIf the target is any instance other than Dev, nothing needs exporting: the update sets are still on Dev. After the clone Check the scheduled jobs on the cloned instance Confirm sys_trigger record named ReleaseOperationTrackerWatcherJob exists and is active. Reset the Deployment Requests Perform these steps on the controller instance for each DR that you want to continue after cloning. Cancel the DR. Use "Cancel", If the DR is in Assessing, use the "Cancel Deployment Request" related link instead, which requires 'sn_releaseops.releaseops_admin' role.Skip this for 'Draft' and 'Failed' DRs. Close the DR's open issue tasks. These are the Preview, Commit, Test, Scan, and Deploy issue tasks. Set their State to Closed Skipped. Delete the update set info records(sn_releaseops_update_set_info) associated with the DRs you cancelled. ReleaseOps uses these records to skip update sets it has already moved. After the clone, they are wrong.It requires 'sn_releaseops.releaseops_admin' role. Move the DR back to 'Draft'. Use the "Move Back to Draft" related link, which requires 'sn_releaseops.releaseops_developer' role.If the clone target is Dev instance, restore and relink the update sets. On Dev, go to "Retrieved Update Sets" > Import Update Set from XML. Preview and commit each exported update set. Each commit creates a new local update set, in state "Complete", with a new sys_id.On the controller, open the DR's Deployment Request Update Sets related list. Change Update set ID from the old sys_id to the new one. You can only edit this while the DR is in "Draft". Start the assessment again using "Ready to Assess" UI action for all DRs.