Pipeline outputs

Automation

About pipeline outputs

Pipelines generate a number of forms of output data:

These are presented in the Outputs Summary, accessed by clicking on the Outputs heading.

Run results

Run Status

The status of the displayed run is displayed next to the Run History popup.

Run status next to the Run History popup

Run History

The Run Number button indicates the current run number. Clicking the button opens the Run History popup, showing details of previous runs. Click on a previous run to navigate to its outputs.

Run History popup listing previous runs

Whilst the pipeline is running it displays run time elapsed.

When the run ends it displays the total run time, alongside whether the run was successful, or encountered an error and failed.

If the pipeline was Auto Run, the inputs which triggered the run are listed.

Create a detailed Run Log
Use the Append Metadata operation to create an output dataset listing how and when a pipeline was run, the revision numbers of the pipeline and its inputs, etc.

Run Log

The Run Log popup lists the events occurring during a run, allowing you to monitor progress during the run and check the duration of each stage. The Run Log popup also lists the pipeline revision number that a run was initiated from, and who ran the pipeline.

If the pipeline was Auto Run, the inputs which triggered the run are listed.

Run Log listing each stage with timings

Error reporting

If an error occurs at run time, it will be reported in the Run Status bar, with details of the error in the Run Log popup.

There are two classes of run error:

  • Run failed
    The run failed due to invalid data (for example, trying to perform calculations on invalid dates) or invalid pipeline configuration. Refer to the Run Log for details. Where possible, Quantemplate will record the location of the error which caused a run to fail: Stage, Operation, Output column (from the stage), Function (if applicable), and the first invalid value encountered. Additional invalid values may be present in a column.
  • Technical error
    The run failed for technical reasons such as a platform error or loss of connectivity. Contact support@quantemplate.com if the problem persists.

Validation Summary

If Validate operations have been used in the pipeline, a summary of the results of each validation operation will be displayed.

Validation report summary listing stages and results

The summary bar shows the proportion of rows passed, rows with warnings and rows with failures. If a validation rule returns a failure or warning, this is indicated with an icon in the result column. Hover over the summary bar to see the number rows passed, failed or warned.

Validation Summary showing rows passed, failed or warned

Click on a summary result to view the full Validation Report.

By default, the results are sorted in the order in which they appear in the pipeline. Results can also be sorted by stage name, operation name or result.

Mapping Summary

If Automap Values operations have been used in the pipeline, a summary of the operations used will be displayed.

In the outputs view, the mappings column lists the number of distinct values input to the operation and the number of distinct values output.

In the example below, 90,533 distinct values were input and 25,760 values were output.

Note that unmatched items can be set to map to a single value, which will affect the number of output values.

The summary bar shows the proportion of rows which are mapped, automapped and unmapped. Hover over the summary bar to see the number of rows for each category.

In the example below, 3 rows were already approved, 64,772 were automapped and 25,758 were unmatched.

Mapping Summary showing automapped and unmatched counts

Click on an item in the summary to view the full Mapping Report, detailing each mapping and allowing it to be approved for future runs.

By default, the results are sorted in the order in which they appear in the pipeline. Results can also be sorted by stage name or operation name.

View, export and download outputs

About output datasets

The Data Repo is the storage area for clean datasets and reference data in Quantemplate. Pipeline output datasets can be exported to the data repo to be made available for Analyse reporting, or to trigger export to another system via API. They can also be written to a feed to send them to a partner organisation.

Stage outputs which have been made exportable are displayed alongside their row count, export destination and export status.


Output datasets list in the Outputs tab
Tip
Accelerate run times and reduce the number of items appearing in the pipeline outputs by disabling unneeded stage outputs. See how.

Previewing outputs

Click on an item in the output datasets list to navigate to a preview of the dataset.

Filters

Apply filters to the output data preview to understand your data better.

Filter bar keyboard shortcut
Press the F key to quickly toggle open the filter bar on any data grid.

Exporting outputs

Export each pipeline output to a dataset or a feed:

  • Dataset
    Use datasets to connect to other pipelines or export from Quantemplate via API. Datasets are stored in the Data repo, where they can also be shared within your organisation and explored in Analyse.
  • Feed Out
    Use feeds to send packages of data to a partner organisation. See Write to a feed.
Select an export destination popup with two options: Dataset, Write to or create a dataset in the data repo, and Feed Out, Write to or create a submission in a Feed Out.

To export an output, first ensure it has been made exportable by toggling on in the stage outputs. It will then appear in the Output Datasets list.

Export to a dataset from the Output Datasets list

To export directly from the output datasets list:

  1. Click ‘Select a destination’ in the destination column, then choose ‘Dataset’.
  2. Search for an existing dataset to update and select it. Or, to create a new dataset, enter its name under ‘Create new dataset’ and click ‘+ Add’.
  3. Click the ‘Update’ button that appears to the right. This will write the output data to the dataset.
Select a dataset popup with a search box and a list of datasets. Below the list is Create new dataset, with a dataset name field and an Add button.

Destination dataset errors

If a destination dataset has been created but is no longer available, due to being archived or the user not having permission, this will be highlighted in red. To resolve this, either select a different dataset, or click the warning icon to open a popup and unarchive the dataset or grant the user permission to edit the dataset.

Popup saying the destination dataset has been archived, with a Restore dataset link

If the same destination dataset has been selected for multiple pipeline outputs, each instance will be highlighted red. To resolve this, select a unique destinations for each output, or if any of the affected outputs are no longer needed, make them non-exportable in the stage outputs.

Error on an output: multiple outputs cannot be exported to the same dataset

Export from the dataset preview

Individual outputs can also be exported to the data repo from the output preview by clicking on the export/download button on the top right.

Download and Export popup in the dataset preview

Dataset Information popup

Dataset Information popup

The Dataset Information popup shows information about how a dataset has been created and updated, and where it is used as a reference dataset. Read more about Dataset information.

Write to a feed

Write an output to a Feed Out to send it to a partner organisation:

  1. Click ‘Select a destination’ in the destination column, then choose ‘Feed Out’.
  2. Select the Feed Out and, if it has subsections, the subsection to write to.
  3. Select an open submission (one waiting for data in one or more subsections) and click ‘Write to selected’. Or create a new submission and set its name format.
  4. After later runs, click ‘Write to latest’ in the Export column to write to the latest open submission.
Select a feed out popup. The feed Feed write test schedule is expanded to show its subsections, Test 1 and Test 2, and Test 1 is selected.

Read the full guide to writing to a feed from a pipeline, including naming new submissions and setting up Auto Export to a feed.

Downloading outputs

To download an output from the Output Datasets list, hover over the output and click the download button which appears on the right.

To download an output from the dataset preview, click on the the export/download button on the top right.

Download file formats

The default download format is Comma Separated Values (CSV) in standard configuration. To change the download file format from the Output Datasets list, click the download settings button on the top right of the table and select the preferred format.

Download format options in the dataset preview

To change the download file format from the Dataset preview, click the edit button in the export/download popup. The selected format will be remembered as the default for all outputs of this pipeline.

File format
Extension
Description
CSV
.csv
Standard Comma Separated Values format.

Speciality formats
 
 
Delimiter
 
Select your preferred delimiter character. To support different regional number formatting settings in Excel, change the delimiter to semicolon.
Comma
.csv
,
Semicolon
.csv
;
Pipe
.csv
|
Tab

.txt
⇥
Extended character set (UTF-8)
.csv .txt
Extended character set (UTF-8) support may be required if your data contains characters outside the ASCII character set. This is likely to be the case with accented characters, special punctuation or non-Latin alphabets. Selecting UTF-8 may reduce compatability with other systems. To format a file containing special characters for use in Excel, select UTF-8 and Include Byte Order Mark (below).
Include Byte Order Mark
.csv .txt
A Byte Order Mark is a set of characters prepended to the data to inform Excel which character encoding has been used and so how special characters should be displayed. Select this option, plus UTF-8 (above), to use data containing special characters in Excel. Note that compatability with other systems may be reduced when this option is selected.

The download format can also be set from the export download popup in the dataset preview.

Bulk actions

To download or export multiple datasets at once, select the datasets using the checkboxes on the right. Click download or export in the batch action bar which appears on the top right.

Only datasets with valid destinations will be exported. If multiple datasets use the same destination, these will be skipped.

Bulk actions in the output datasets list

Auto Export

Auto Export enables straight-through processing of data – for example: insurance risk and claims bordereaux, catastrophe risk modelling portfolios, treaty reinsurance submissions – as part of a complete automation workflow.

When a pipeline run completes, Auto Export can be set up to automatically send selected outputs to their defined destinations: datasets in the Data Repo, or feeds.

Auto Export will block the export if any validation rules trigger a fail. If only warnings are triggered, Auto Export will occur.

Setting up Auto Export

To set up Auto Export to a dataset:

  1. Using the sharing popup, share the pipeline and destination dataset with the Robot User. This needs to be done by a document owner.
  2. Sharing popup with the Robot User added to a pipeline
  3. In the pipeline outputs tab, click on the robot icon that appears next to the destination dataset name on hover.
  4. Destination datasets list with the automation icon on a row
  5. The Robot User needs permission to edit the destination dataset. If it doesn't already have permission, the share button will be shown in the popup. Click it to share with the Robot User (if you are the owner), or request permission (if you are not the owner).
  6. Auto Export popup asking for Robot User edit permission on the dataset
  7. Once the Robot User has permission, the Auto Export toggle will appear. Set the toggle to ON.
  8. Auto Export toggle set to on

The dataset history will show the Robot User as the last editor.

Dataset History showing the Robot User as the last editor

To set up Auto Export to a feed, see Create submissions automatically. The Robot User needs Submitter permission on the feed, and you set a name format for new submissions.

Caution: Robot User permissions
Once Auto Export has been set up, both the pipeline and the destination dataset are shared with the Robot User. When the pipeline is run, the Robot User will overwrite the destination dataset, if validations do not fail.
This means that even if the current pipeline user does not have permission to write to the destination dataset, the dataset will be updated by the Robot User.

Auto Export status

Auto Export statuses are shown in the Output Datasets section of the Outputs tab.

Auto Export status badges: Pending, Updated, Validation and Unavailable

Auto Export outputs, to datasets or feeds, can have the following statuses:

  • Pending  The destination dataset or feed will be updated automatically the next time the pipeline is run successfully. Click ‘Update now’ to manually update the destination immediately.
  • Updated  The destination dataset or feed was updated automatically by the last successful pipeline run.
  • Validation  A validation failure prevented all outputs from automatically updating. Click ‘Update now’ to manually update the destination immediately.
  • Unavailable  The destination dataset or feed is no longer available to the Robot User. Click ‘Update now’ to manually update the destination immediately.