Introduction
Each time you run analysis on a model, PhixFlow creates a new set of data for each stream. You can view this data by right-clicking on a table and selecting Show Recordsets; see Managing Recordsets for more options.
Recordsets remain available until you run an archive task on the stream; see Task.
Rollback data
To rollback data you need to open the rollback window, you can access this from several places:
- In a model: right-click on a stream icon and select Rollback Stream.
- In the repository: right-click on a stream name and select Rollback Stream.
- In the repository: use Ctrl+click to select multiple streams, right-click one of the stream names and select Rollback Selected Objects.
- In a list of stream sets: select one or more stream sets, then right-click on one stream set and select Rollback StreamSet. PhixFlow automatically populates the data for the rollback options, as it knows the properties of the selected stream set(s).
Rollback Options
In the Rollback window, select an option and specify the stream sets to rollback.
Details about the rollback process are displayed in the console.
For large data sets, it may take some time to rollback all the data in a stream set.
Example
When testing an analysis model it is likely you will read and clear all the data frequently, in this instance you would use the following configuration:
Repopulating Incomplete Stream Sets
If you rollback data due to errors, you can repopulate an incomplete stream set with the correct data. This is because the all stream sets in a model that were created during the same analysis run have the same Run ID. PhixFlow can use the run ID to pull the correct data into an incomplete stream.
Make sure you have corrected any problems that caused the error before repopulating the stream set with data.
To repopulate an incomplete stream set:
- Go to the console.
- Find the log messages related to rollback.
- Right-click the log message and select Repeat to reinstate data; see Rollback or Repeat Cycles Window.
For information about rerunning incomplete stream sets in an transactional stream; see the Managing Recordsets → Reprocess StreamSet option.