Skip to main content

Manage Workflows and Processes

This section covers common management tasks for workflows and processes, such as organizing files, handling errors, grouping steps or entries, and setting the main execution file.

Create a folder

This section explains the steps to create a folder.

To create a folder:

  1. Under project, select Workflow and Processes and right-click. The contextual menu appears.

  2. Select Folder, the Create Folder dialog appears.

  3. Enter the name of the folder and click Create. The folder is created under the selected project.

    Note
    • Select the new folder and right-click on it. The contextual menu appears. If there is an existing folder the Delete option is also available in the contextual menu.
    • You can also select Resources, and then select New Folder to create a new folder.

Add a file

This section explains the steps to add a file.

To add a file:

  1. Select Resources and right-click on it. The contextual appears.
  2. Select Add File. The Open dialog appears.
  3. Select the file you want to add to the project. The file is added to the Resources container.

Error handling

For simple workflows, it is a good practice to set an error-handling step for steps in the workflow. You can set custom error message for each step, if required. Adding a custom message allows you to perform error handling through a single step for steps that have error handling support.

Access the Set Custom Error Message and Error Handling… step through the contextual menu.

To add custom error message:

  1. On the canvas, select and right-click the step to which you want to add the custom error message. The contextual menu appears.
    Set Custom Error Message option
    Figure 61: Set Custom Error Message option

  2. In the contextual menu, select Set Custom Error Message. The custom error message dialog appears.
    Set Custom Error Message dialog
    Figure 62: Set Custom Error Message dialog

  3. Enter the error message you want and click OK. The message is set for the step.

    Note
    • After setting the custom message, you need to enter the details in the Step error handling settings dialog. For field details, see the AutomationEdge Standard Plugin Reference guide.
    • For complex workflows, use the Try-Catch step to group the steps and capture errors in it. With the step you need not add error-handling step for every step.

Group steps or entries

In case of huge workflows or processes with multiple steps or entries it becomes difficult to keep track or maneuver through the workflows or processes. Therefore, to enable users to work with complex workflow with ease, Process Studio has the Create Group option. The icon represents the grouped steps or entries.

Limitations

  • It may not be possible to copy-paste the group, if it contains, try-catch or looping steps.

  • Multi-level grouping is not supported.

To create a group:

  1. In the workflow, select the steps that you want to group and right click on them. The contextual menu appears.

    Contextual menu - Create Group
    Figure 63: Contextual menu – Create Group

  2. Select Create Group. The Group dialog appears.

    Group dialog
    Figure 64: Group dialog

  3. Enter a name for the group, and then click OK. The selected steps are grouped together and a new group icon replaces them on the canvas.

    Group view
    Figure 65: Group view

    Note

    The group appears in the View pane as follows:

To edit a group:

  1. On the canvas, double-click the group icon. The Edit Group dialog appears.

    Edit Group dialog
    Figure 66: Edit Group dialog

  2. Modify the field details.

    FieldDescription
    Group Name*Modify the name of the group.
    Group DescriptionModify the description of the group.
    Grouping StepsProvides a list of steps grouped together.
    Right-click on each step and check the menu options available.

    * indicates a mandatory field.

  3. In the dialog, click New Hop to reset the existing hops.

  4. To remove a step from the group, select a step and click Remove. The step is removed from the group but is not deleted from the workflow.

    Group dialog
    Figure 67: Group dialog

    Note
    • Select the group and right-click on it. In the contextual menu:
    • Select Ungroup to remove the grouping and view the steps and entries.
    • Select View Group to view the group steps.
    • Select Edit to modify the group details.
    • Select Copy to copy the group.
    • Select Delete to delete the group. Deleting the group will also delete the steps, entries, and hops in the group.

Set as main file

You can directly set a workflow or process as the main file without editing the project details.

To set as main file:

  1. In the Project Explorer, select the workflow or process in the project and right-click. The contextual menu appears.

Set As Main File menu
Figure 68: Set As Main File menu

  1. In the contextual menu, click Set As Main File. The main file color changes to red.

    Main file set for the project
    Figure 69: Main file set for the project