Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Insert excerpt | ||||||||
---|---|---|---|---|---|---|---|---|
|
Overview
Each time you run analysis on a model, PhixFlow creates a new set of data for each
table. You can view this data by right-clicking on a table and selecting
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Recordsets remain available until you run an archive task on the
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. |
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
from one of the following places:
- In a model: right-click on a
- table icon and select
Insert excerpt _rollback _rollback nopanel true
- Table.
- In the repository: right-click on a
- table name and select
Insert excerpt _rollback _rollback nopanel true
- Table.
- In the repository: use Ctrl+click to select multiple
- tables, right-click one of the
- table names and select
Selected Objects.Insert excerpt _rollback _rollback nopanel true - In a list of
- recordsets: select one or more
- recordsets, then right-click on one
- recordset and select
Insert excerpt _rollback _rollback nopanel true
- Recordset. PhixFlow automatically populates the data for the rollback options, as it knows the properties of the selected
- recordset(s).
Anchor | ||||
---|---|---|---|---|
|
In the Rollback window, select an option and specify the
recordsets to rollback.
Option | Description |
---|---|
Rollback a number of |
Recordsets | Enter the number of |
recordsets to roll back. PhixFlow removes this number of |
recordsets, starting with the most recent. | |
Rollback to a specific run | Enter the run ID of a |
recordset to which you want to rollback. You can find the run IDs in the Managing Recordsets. PhixFlow removes all the |
tables from the most recent, up to and including the specified run ID. For a transactional |
table, PhixFlow removes the specified run ID only. All other |
recordsets, even more recent ones, are retained. | |
From Date | Enter a date. PhixFlow removes |
recordsets whose period start date is more recent than the specified date. | |
Rollback all data | Phixflow removes all |
recordsets for this |
table. |
Keep old |
Recordsets | This box is ticked by default.
|
the recordset itself. In the |
recordset list, the |
recordset is empty and marked incomplete.
|
the recordset. Both the data and the |
recordset itself are removed from the |
recordset list. You cannot repopulate deleted |
recordsets. | |||||||||
| 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
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 | ||||
---|---|---|---|---|
|
Recordsets
If you rollback data due to errors, you can repopulate an incomplete
recordset with the correct data. This is because the all
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
table.
Tip |
---|
Make sure you have corrected any problems that caused the error before repopulating the |
recordset with data. |
To repopulate an incomplete
recordset:
- 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
recordsets in an transactional
table; see the Managing Recordsets → Reprocess
Recordset option.
Live Search | ||||||||
---|---|---|---|---|---|---|---|---|
|
Panel | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
|
Learn More
For links to all pages in this topic, see Managing Models and Data
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|