Workflow Wditor Toolbar Objects Pane Defining the Properties of the Workflow Tasks Workflow Editor Mini Map

Working with the Workflow Editor

The Workflow page provides tools to build relationships between tasks and define the logic of workflows. This topic describes the elements of the workflow editor.

This topic provides information on the following:

See also Name, Title and Alias.

Overview

Usually, a Workflow has a START and an END node and, between these nodes, any number of executable objects that are linked to each other via connector lines. You can arrange the tasks to be executed simultaneously or sequentially, however, their order in the Workflow is not the only parameter that determines when they will be executed. You can define many additional parameters and properties for each task which influence their execution.

Have a look at Workflow Logic, where you can find a description of the validation checks that take place during the execution of a Workflow; the graphic at the bottom of the topic will help you understand how and when the properties defined for each task affect the order and outcome of the task executions.

Please note that IF workflows are the only ones that do not have a START and END objects.

The marked areas in the illustration below are some of the main elements that you will use when working with the Workflow editor. Click on them to open a description of their functions:

This illustration shows a system in which the Plugin Manager has also been installed. This is why the Objects pane contains an additional Actions tab.

Workflow Toolbar

It contains the functions you need to drag and drop tasks into the editor, search for tasks and change the view of the editor.

Field/Element/Function Description
Level of detail

This adjusts the magnification and the level of detail of the view. Zoom in and out of the workflow map by clicking and dragging the slider.

You can also zoom in and out with the mouse wheel.

Search

Quick search for objects in the workflow you are defining.

You can enter one of the following here:

  • Object name
  • Title
  • Task type
  • Task number

If the entered string is available in more than one task, use the left/right arrows to the right of the search field to scroll through them.

You can use the following wildcard characters in your search:

  • * as placeholder for any number of characters
  • ? as placeholder for exactly one character.

See Searching for Tasks in a Workflow.

Objects

Click this button to display/hide the Objects Pane on the right hand side of the editor, where you can select objects, drag and drop them into the right place in the workflow editor.

Properties

Select a task and click this button to display/hide the Properties pane on the lower half of the editor, where you modify the settings of the workflow tasks.

You can define specific options for each task in a workflow. They apply when the task is executed within the workflow; these settings are not saved with the object itself.

Select a task and click the Properties button to display the properties pane on the lower half of the editor. Click the links below for a detailed description on the available options:

Note that the properties are available not only for the tasks in a Workflow but also for the START and END nodes.

If you are creating ForEach or IF Workflows you may want to read information on their specifics. Click the links below for details:

  • ForEach Tab (available for the START node of ForEach workflows)
  • Conditions Tab (available for the START node of IF Workflows)

Objects Pane

This pane lists all the executable objects available in the client you are logged into and that can be included in a workflow. You can search for them a follows:

Element Description
Folder menu bar

  1. Click the arrow next to the home icon to open a dropdown list that replicates your folder structure in the Process Assembly perspective.
  2. Select a folder; if it has subfolders, a new dropdown list displays them.
  3. The objects contained in the subfolder are displayed in the hit list below.
Quick search field

Enter a search string here to quickly find tasks in the hit list. You can use wildcard characters, * as placeholder for any number of characters and and ? as placeholder for exactly one character.

If you are working with packs and actions this pane contains an additional tab called Actions from which you can select the predefined tasks you want to include in the workflow. To know more see Working with Actions.

Working with the Editor

The editor is the space that provides you all the functions you need to build workflows. You insert the tasks here, connect them, modify the task properties, etc.

Inserting and Deleting Tasks

To Insert Tasks

There are two ways to insert tasks in the Workflow:

Via the Objects Pane

  1. Click on the toolbar to open the Objects pane.
  2. Search for the object you want to insert. You have two possibilities:

    • Using the folder menu bar

      Click the arrow next to the home icon to open a dropdown list that replicates your folder structure in the Process Assembly perspective.

      Select a folder; if it has subfolders, a new dropdown list displays them. The objects contained in the subfolder are displayed in the hit list below.

    • Using the quick search field

      Enter a search string here to quickly find tasks in the hit list. You can use wildcard characters, * as placeholder for any number of characters and and ? as placeholder for exactly one character.

  3. Select the object and drag and drop it anywhere on the editor.

    Once on the editor, the objects turn into tasks boxes that you can link to each other.

Either way, you can also select multiple objects and drag and drop them in bulk onto the editor

Right-clicking on the Editor

  1. Right-click on any empty space on the editor.

    The following context menu is displayed:

    XXX

  2. Select Add Existing Object:

    XXX

    1. Click the arrow next to the home icon to open a dropdown list that replicates your folder structure in the Process Assembly perspective.
    2. Select a folder; if it has subfolders, a new dropdown list displays them.
    3. The objects contained in the subfolder are displayed in the hit list below.

      Select the one or more objects.

  3. Click the Insert as External Dependency checkbox if you want the task to be included as an external task.

    For details on the implications of external dependencies in workflows click here.

  4. Click OK.

After inserting tasks, you must arrange and connect them.

In large Workflows with many tasks, you may need to add rows or columns between already existing tasks to be able to add a new one. For this purpose, see Inserting Rows/Columns.

To Remove Tasks

There are two ways to remove a task from the workflow:

When the tasks that should be deleted are linked to other tasks, the connecting lines will also be removed.

The objects are only removed from the workflow but not from the client.

The START and END object are always available and cannot be deleted.

Task Boxes

Once on the editor, the tasks turn into boxes that you can link to each other. Selected tasks are encircled by a thick line and display start and end arrows; these are the connector points from/to which you can link.

Basic information on the task is displayed on the box:

Task box element

Example

Meaning

1

Object icon, which is different for each type
2

Depending on what you have specified in the object definition this can be:

  • Either the title or the name of the object.

    By default, task boxes in a Workflow display the Name of the task first and its Title beneath it. However, if you'd rather have the Title of the object displayed here instead, you or your system administrator can change the AWI configuration settings accordingly. See configuration.properties.

  • The alias of this task in the workflow.

    This is an alternative name/title you can assign to this object and that is relevant and used only in this particular workflow. You enter it in the General tab of the task properties pane. It replaces the title of the task ( if you leave the default configuration) or the name (if you have changed it). For example:

3

Either the name or the title of the object. See below for details.

4 Order of the task in the workflow sequence.
5 Short name of the object type.
6 Whether rollback has been enabled for this task or not.

Task Tooltips

Hover the mouse pointer over a task to display its tooltip. It provides more detailed information, for example:

In addition to the information available in the task box, the tooltip indicates whether conditions have been defined for the task and whether rollback has been enabled or not.

Connecting and Disconnecting Tasks

Tasks are linked via connector lines. They establish the dependencies between tasks.

You define the order in which tasks are processed within workflows by linking them. You use the line connectors for this.

To Connect Tasks

  1. Hover the mouse over the start or the end point of a task.

    Arrow symbols are displayed, from which you can start drawing the lines.

  2. Click and hold the arrow symbol and drag it to the task you want to link.
  3. Release the mouse button. The two tasks are now linked to each other.

You can only link from a node's ending (to the right of the box) to a task's beginning (to the left of the box) or vice versa. You cannot link a task to itself.

There are two types of special workflows that work slightly different in this respect because their tasks are linked automatically.:

As soon as the relationship is established, a number of functions are available that help you fine tune the dependencies between tasks. For example, you can set a condition for the execution of a downstream task depending on the status of the upstream one. See Preconditions, Postconditions, Conditions and Time & Dependencies.

To Disconnect Tasks

You can delete connector lines (and thus unlink tasks) as follows:

Connecting Distant Tasks in Large Workflows

In case of large Workflows, if you want to connect tasks that are far away from each other, it can be difficult to find the correct target task. Since the size of the task boxes is automatically reduced to display as much as possible of the Workflow structure, you may not have enough information at a glance to be able to establish the connections. On the other hand, the target task may be outside the visible part of the Workflow.

When a Workflow expands beyond its visible part, the context menu that is displayed when right-clicking a task contains an additional option, namely Connect, that helps you find and connect distant tasks. This function is available both for the Workflow editor and for the Workflow monitor.

To Connect Distant Tasks

  1. Right-click a task in the Workflow and select Connect Task from the context menu.

  2. The connect toolbar is displayed at the top of the editor.
  3. From Start Task select the task from which you want to start connecting.

    This pre populates the field with the selected task; if necessary you can change it by selecting a different task from the dropdown list. Alternatively, start typing the task name, alias or its sequence number within the workflow; the find as you type function automatically restricts the content of the list to those tasks that match your entry.

    The focus of the editor/monitor changes to the selected task. This allows you to check that it is actually the task you want to link from. Hover your mouse over the task box to have the tooltip displayed. If you need more information, right-click it and select Properties.

  4. Select a task or start typing the task name, alias or its sequence number in the End Task dropdown list. Again, the focus of the editor/monitor changes to the selected task.
  5. Click the Connect button on the toolbar.

    The connecting line is displayed now.

  6. The Save button is now enabled. Click it to confirm the connection.
  7. Click Cancel to hide the toolbar.

If you click Cancel before saving, the tasks are not connected and the toolbar is hidden.

Please take the following restrictions into account:

Rearranging Tasks

You can move linked and/or unlinked tasks to another empty position in the workflow using the drag and drop function.

This has no effect on the synchronization whatsoever. It is simply for design purposes; it helps you visualize the workflow logic.

To Rearrange Tasks

  1. Click on an empty spot in the tasks area.
  2. Hold down the mouse button.
  3. Drag and drop it to another spot on the editor.

Copying, Pasting and Replacing Tasks

Once you have created a task with all its properties, you can reuse it in the same workflow or in a different one without having to define it anew. You can copy and paste it or you can replace an existing task with the copied one. All the properties of the copied task are cloned in the pasted/replaced task with only two exceptions, the PromptSets and the Variables. All connections and dependencies remain as well.

The system performs validation checks in the background; if you are trying to copy an invalid object, a message is displayed indicating it so. To be able to continue you must first correct the errors.

There are some exceptions to this function. It is not possible to copy/paste/replace tasks for IF and ForEach workflows as well as for the START and END nodes.

ForEach and IF Workflows are not modifiable at runtime. This is the reason why the button is always disabled on their monitors.

To Copy/Paste Tasks

  1. Select the task you want to copy.
  2. Right-click and select Copy

    The task and all its properties, dependencies and connections are copied to the clipboard.

  3. If you want to paste it in the same workflow, right-click and select Paste.

    If you want to paste it in a different workflow, open it, right-click and select Paste.

  4. Save your changes

To Replace Tasks

  1. Select the task you want to replace and right-click to select Replace.
  2. The Replace Task dialog is displayed:

    XXX

  3. Search for the task using one of the following options:

    • The folder menu bar

      1. Click the arrow next to the home icon to open a dropdown list that replicates your folder structure in the Process Assembly perspective.
      2. Select a folder; if it has subfolders, a new dropdown list displays them.
      3. The objects contained in the subfolder are displayed in the hit list below.
    • The quick search

      Enter a string in this field; you can use wildcard characters, * as placeholder for any number of characters and ? as placeholder for exactly one character. The string is searched for in:

      • Object names
      • Titles
      • Agents
      • Runtime
      • IF and FOREACH condition texts

    Special Case: External Dependencies

    You can specify external dependencies when designing a Workflow. They are objects that will not be processed with the workflow but that affect its processing, for example because dependencies have been defined that determine that the external task must have a specific status for the workflow to continue processing.

    When you replace an object that has been inserted as external dependency, the new task inherits this definition and is automatically inserted as external dependency as well.

    For details see External Workflow Dependencies.

Inserting Rows/Columns

In large workflows with many tasks, you may need to add columns or rows between already existing tasks to be able to add new ones.

To Insert a Row/Column

  1. Right-click either a task or any empty space on the editor and select Rows/Columns from the context-menu.
  2. Select Insert Row Above/Insert Column Left.
  3. Existing columns/rows and their contents shift

Removing Rows/Columns

You can only remove columns or rows if they do not contain any tasks.

Right-click the row you want to remove; if it is empty, the Remove Row option is available. The same applies if you want to remove columns.

Panning

You can move the editor in two dimensions, which is useful if you have large, complex workflows. There are two ways to pan:

Inserting a Workflow in a Workflow

From the editor you can create a workflow from scratch that is embedded in the existing one.

To Insert a Workflow within a Workflow

  1. Right-click on any empty space on the editor.

    The following context menu is displayed:

    XXX

  2. Select Create new object
  3. The Add Object dialog is displayed

    XXX

    1. Select the Workflow Type.
    2. Enter a Title that helps you identify the workflow later on.
    3. Click the Name button to make this field editable and enter the name of the new workflow.

    4. Optionally, click the Folder button to make this field editable and specify a different path. By default, the paths of the parent workflow is displayed.
  4. Click OK.

  5. Save your changes.

Mini Map

Large workflows spread over the visible part of the Workflow editor. A mini map at the bottom right corner of the editor helps you orientating within them.

The mini map serves as indicator of where the current screen lies within the Workflow. It provides a minimized view of the entire Workflow and highlights the section that is currently visible.

If you click anywhere on the editor/monitor to drag the view and, therefore, you change the focus in the workflow, the mini map changes its position simultaneously. Conversely, if you click and drag the mini map, the editor/monitor changes its focus accordingly.

Furthermore, if you select a task in the workflow, the task is also selected in the mini map.

The mini map is visible by default when you open a Workflow, either in the Workflow Editor (Process Assembly perspective) or in the Workflow Monitor (Process Monitoring perspective), no matter if it is in edit mode or not. You can toggle it off by clicking the button. You can have it displayed again by clicking the button.