By the end of this chapter you will be able to:
- Rollback several Streams at once
- Rollback and re-do from the Console
- Rollback a single Stream Set (a run)
Rollback several Streams at once
This method of rollback is generally used when developing – in particular, when building a history over a number of runs, when you have changed the rules for building the history (so you need to start loading your data again from scratch).
- Open the model Channel Package Check
- Keeping your left mouse button pressed down, drag your cursor over all the Streams in your model – it doesn't matter if you include other components
- All Streams and any other components you included should now be selected
- Right-click anywhere on the model pane – but on the background, not on any modelling component
- From the menu select Rollback Selected Objects
- Roll back the Streams using the options:
- Rollback all data
- Untick Keep Old Stream Sets
- A log entry will be produced telling you what data has been cleared – in this case, all data in all selected components in the model
Rolling back (and re-running) from the Console
This method of rollback is generally used when testing – in particular, when a run was only partially successful, but you have changed the rules in the parts of the model that were successful (so you want to re-load these).
- Open the model Channel Package Check
- Run the stream Channel List Reconciliation
- Open the Console and find the log for the analysis run
- Double-click on this entry
- Go to the Stream Sets tab
- You will find two buttons:
- - Rollback all data...
- - Rollback data and run the analysis again...
Use the button Rollback data and run the analysis again... to repeat the analysis run from the previous exercise.
Rollback a single Stream Set (a run)
This method of rollback is commonly used when testing a large model. If a single component has been updated and you want to re-run t without causing the rest of the model to re-run, then this approach is suitable.
- Open the model Channel Package Check
- Right-click on Latest Package Update
- Select Rollback
- Accept the default options (the Keep Old Stream Sets flag is ticked)
- When the rollback has completed, look at the Stream Set list for this stream – you will see a single Stream Set (the most recent one) is yellow
- Run analysis on this stream
- The yellow (incomplete) Stream Set will be rebuilt – but this run will not cause any of the stream's predecessors to run