Using the Workflow Designer

Let’s have a look at how we can use the features and functionalities available in the Astera Centerprise workflow designer.

Creating a New Workflow

To create a new workflow, go to File, hover over New and select Workflow from the drop-down menu.

Alternatively, you can expand the Create New Dataflow dropdown icon on the main toolbar and select Workflow, as shown below.

01-Creating-Workflow-Designer-Use

Managing the Workflow Layout

When the workflow designer opens, you can see the workflow toolbar above the empty canvas.

02-Workflow-Designer-Tab

Let us see these options,

03-Layout-Toolbar-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.

04-Layout-Options-More

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 objects 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: This feature draws the links between objects in an orthogonal curve instead of a straight line.

Centerprise-Specific Options

05-Distinct-Parameter-Workflow-Designer

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.

06-Distinct-Parameter-Window-Workflow-Designer

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.

07-Individual-Parameter-Workflow-Design

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.

08-Individual-Paraneters-Workflow-Design

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

Linking Objects

Ports

Objects in the Workflow Tasks section of the toolbox have input and output ports when added to the workflow designer. These ports make it possible to connect an object to another object via mapping 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,

09-Sample-Workflow-Design