Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Insert excerpt
_Banners
_Banners
nameanalysis
nopaneltrue

Introduction

Overview

Each time you run analysis on a model, PhixFlow creates a new set of data for each

stream

table. You can view this data by right-clicking on a table and selecting 

Insert excerpt
_recordsets_show
_recordsets_show
nopaneltrue
see Managing Recordsets for more options.

Recordsets remain available until you run an archive task on the

stream

table; see Task

Rollback Data

For non-transactional tables, which have a Period of Daily, Monthly or Variable, you can back-out the changes to data caused by an analysis run. This resets the data to a previous recordset; see Rollback Window.

Warning

Do not roll back recordsets in transactional tables.

To rollback data you need to

For tables with a Period of Transactional individual records are updated overtime. For example, application users make individual edits to records in the table. This means PhixFlow cannot rollback to a recordset in all tables where the data is consistent.  

To rollback to an earlier recordset, open the rollback window

, you can access this from several

from one of the following places:

  • In a model: right-click on a
stream
  • table icon and select 
    Insert excerpt
    _rollback
    _rollback
    nopaneltrue
     
Stream
  • Table.
  • In the repository: right-click on a
stream
  • table name and select   
    Insert excerpt
    _rollback
    _rollback
    nopaneltrue
     
Stream
  • Table.
  • In the repository: use Ctrl+click to select multiple
streams
  • tables, right-click one of the
stream
  • table names and select   
    Insert excerpt
    _rollback
    _rollback
    nopaneltrue
     Selected Objects.
  • In a list of
stream sets
  • recordsets: select one or more
stream sets
  • recordsets, then right-click on one
stream set
  • recordset and select
    Insert excerpt
    _rollback
    _rollback
    nopaneltrue
     
StreamSet
  • Recordset. PhixFlow automatically populates the data for the rollback options, as it knows the properties of the selected
stream set
  • recordset(s).

Anchor
options
options
Rollback Options

In the Rollback window, select an option and specify the

stream sets

recordsets to rollback.

    


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

Enter the run ID of a

stream set

recordset to which you want to rollback. You can find the run IDs in the Managing Recordsets. PhixFlow removes all the

streams

tables from the most recent, up to and including the specified run ID.

For a transactional

stream

table, PhixFlow removes the specified run ID only. All other

stream sets

recordsets, even more recent ones, are retained. 

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

This box is ticked by default.

Insert excerpt
_check_box_tick
_check_box_tick
nopaneltrue
 to rollback the data but to keep

the stream set

the recordset itself. In the

stream set

recordset list, the

stream set

recordset is empty and marked incomplete.

Insert excerpt
_check_box_untick
_check_box_untick
nopaneltrue
 to delete

the stream set

the  recordset. Both the data and the

stream set

recordset itself are removed from the

stream set

recordset list. You cannot repopulate deleted

stream sets

recordsets.

Insert excerpt
_dialog_cancel
_dialog_cancel
nopaneltrue
Close the window without running rollback.
Insert excerpt
_dialog_finish
_dialog_finish
nopaneltrue
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

recordset.

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:

Image Modified

Anchor
rerun
rerun
Repopulating Incomplete

Stream Sets

Recordsets

If you rollback data due to errors, you can repopulate an incomplete

stream set

recordset with the correct data. This is because the all

stream sets

recordsets 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

table.

Tip

Make sure you have corrected any problems that caused the error before repopulating the

stream set

recordset with data.

To repopulate an incomplete

stream set

recordset:

  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

recordsets in an transactional

stream

table; see the Managing Recordsets → Reprocess

StreamSet option.

Recordset option.

Live Search
spaceKey@self
additionalnone
placeholderSearch all help pages
typepage

Panel
borderColor#00374F
titleColorwhite
titleBGColor#00374F
borderStylesolid
titleSections on this page

Table of Contents
maxLevel3
indent12px
stylenone


Learn More

For links to all pages in this topic, see Managing Models and Data

Insert excerpt
_terms_changing
_terms_changing
nopaneltrue