Data Link

Data Link is an operational object that allows adding/removing/renaming of required columns so the user can use datasets with different column names, without having to do a specific column rename. This facilitates reuse of workflows by standardizing the column names of input.

What happens if data links are not used? If a workflow template is saved without using data links, when it is applied to another workflow, all of the links from the external sources will be missing. The more complex the workflow, the harder it is to establish new links to replace those that were lost. If data links are included in the template being applied, simply connect the source data to the data links themselves. Each data link distributes the data to where it is needed in the workflow.

To add a Data Link object to a workflow

Use one of the following to add the object to a Workflow:

Right-click menu for a Workflow object: New > System > Data Link.
Or Main menu: Insert > System > Data Link.
Or right-click menu for a worksheet: Send To > System > Data Link.

Map an input dataset to Data in the Setup tab list.

To modify the required columns and their names

When creating a Data Link, by default all the columns in the original dataset are shown as a require­ment. The user must map a column to each of the listed columns. If a new dataset does not have one of the columns listed in the Data Link, the user must remove that column from the Data Link or add the data to the dataset and map it before the Data Link can be executed.

DataLinkOptions.png 

In the Options tab of a Data Link object, click Initialize From Input to list only columns in the input dataset. Any columns that have been added by the user are removed from the list.

To add a column, click Add and the enter the name in the Column Name field.,

To remove a column(s), select the column name(s) from the list and click Remove.

To rename a column, select the column name from the list and enter a new name in the Column Name field.

Use the up and down arrows to reorder the columns.

Click Remove unmapped columns to delete all columns that are not mapped to the input data.

To connect and disconnect external sources to data links

Before saving a workflow template, the Connect External Source to Data Links feature should be used. This feature allows you to create a data link object for every worksheet coming into the work­flow. It is a way of making place holders in the workflow so someone using the template can see where external data are needed. Therefore, it is recommended that you first finalize your workflow, then connect the external sources using data links and then save the workflow as a template.

In a Diagram window that has external sources mapped directly to operational objects, right-click and select Connect External Source to Data Links.

If there is an existing Data Link object and all columns in the input match the columns in the object, then the connections will be redirected through the Data Link object.

If, on the other hand, columns in an existing Data Link do not match all the columns of the input, then the existing Data Link will not be used. Phoenix will create a new Data Link object to match all of the columns exactly.

datalinkrcconnect.png 

To disconnect external sources from a Data Link object, right-click in the Diagram and select Discon­nect External Data Links. The External Sources and operational objects will be directly connected.

Use of the Connect External Source Data Links feature is demonstrated in the “Workflows and Templates example”.


Last modified date:7/9/20
Certara USA, Inc.
Legal Notice | Contact Certara
© 2020 Certara USA, Inc. All rights reserved.