Using Workflow Designer

A workflow enables automated and repeated execution of a sequence of tasks, such as running a program, sending emails, uploading a file, running a transfer setting or batch, executing SQL scripts, and many others. To learn more about Workflow Tasks, click here.

Let’s look at how we can use the features available in the workflow designer.

Creating a New Workflow

To create a new workflow, go to File > New > Workflow on the main menu. Alternatively, you can expand the Create New Dataflow dropdown icon on the main toolbar and select Workflow, as shown below.

01-workflow

Managing the Workflow Layout

When the workflow designer opens up, you can see the workflow toolbar below the Workflow1 tab.

02-designbar

In the following sections, let’s discuss these features and their functions.

General Options

  • Undo/Redo – The workflow designer supports unlimited undo and redo capability. You can quickly undo/redo the last action done, or undo/redo several actions at once.
  • Auto Layout Diagram – The Auto Layout feature allows you to arrange objects on the workflow, improving its visual representation.
  • Zoom – The Zoom feature helps you adjust the display size of the workflow. Additionally, you can select a custom zoom percentage by clicking on the Zoom % input box and typing in your desired value.
  • Expand All – The Expand All feature expands or enlarges the objects on the workflow, improving the visual representation.
  • Collapse All – The Collapse All feature closes or collapses the objects on the workflow, improving the visual representation and reducing clutter.
  • Auto-Size All – The Auto-Size All feature resizes all the object in a manner where all fields of the expanded nodes are visible and the empty area inside the object is cropped out.
  • Use Orthogonal Links – The Use Orthogonal Links feature draws the links between objects in an orthogonal curve instead of a straight line.

03-general-features

Centerprise-Specific Options

  • Replace Parameter Infos for All the Distinct Parameters – This feature displays all the distinct directories and connections used in the objects available on the workflow designer.

To invoke this feature, click the Replace Parameter Infos for All the Distinct Parameters icon on the workflow toolbar. Alternatively, you can open the workflow menu and select this feature.

04-DistinctParam

A workflow can be ported to run in any number of target environments. Hence, you need to change the parameters values depending on the current context in which the workflow runs. This feature can be used to change all the distinct parameters without individually visiting the objects.

05-DistictParam-window

  • Replace Parameter Infos Individually – This feature displays all the parameters that have been assigned to each object used in the workflow.

To invoke this feature, click the Replace Parameter Infos Individually icon on the workflow toolbar; you can open the workflow menu and select this feature.

06-IndividualParameter

This feature displays the objects that have been used in the workflow in a categorical structure – View by Category – and allows you to change the parameters by simply clicking and editing.

07-IndividualParam-window

Linking Objects

Ports

Every object in the Workflow Tasks section of the toolbox has input and output ports when added to a workflow. These ports make it possible to connect an object to another object via links, creating the required workflow path.

The input port on an object allows you to connect it to an upstream object in the workflow. Conversely, the output port allows you to connect your object to a downstream object in the workflow. The downstream object represents a task that will be processed after the upstream object it is connected to has finished running.

Note: There are some exceptions, such as the Run Program task, which may not require waiting for the program to exit.

Here is a sample workflow that demonstrates the usage of input and output ports:

08-ports