Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 23 Next »

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 Recordsetssee 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.

    

OptionDescription
Rollback a number of StreamSetsEnter the number of stream sets to roll back. PhixFlow removes this number of stream sets, starting with the most recent.
Rollback to a specific run

Enter the run ID of a stream set to which you want to rollback. You can find the run IDs in the Managing Recordsets. PhixFlow removes all the streams from the most recent, up to and including the specified run ID.

For a transactional stream, PhixFlow removes the specified run ID only. All other stream sets, even more recent ones, are retained. 

From DateEnter a date. PhixFlow removes stream sets whose period start date is more recent than the specified date.
Rollback all dataPhixflow removes all stream sets for this stream.
Keep old Stream sets

This box is ticked by default.

 Tick to rollback the data but to keep the stream set itself. In the stream set list, the stream set is empty and marked incomplete.

 Untick to delete the stream set. Both the data and the stream set itself are removed from the stream set list. You cannot repopulate deleted stream sets.

Close the window without running rollback.
Run the rollback process, then click Yes to confirm.

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:

  1. Go to the console.
  2. Find the log messages related to rollback.
  3. 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.

  • No labels