지금 지원 담당자와 채팅
지원 담당자와 채팅

Foglight Automation 5.6.3.8 - User and Reference Guide

Designing Workflows

Using the Workflow Studio, you can easily design workflows by dragging and dropping actions onto the workspace, linking them, and editing their properties or parameters.

To design a workflow, drag actions to the Workspace and connect them with links.

There are two design modes in Workflow Studio: Select mode, and Connect mode.

To switch between Select and Connect modes, click Select or Connect on the toolbar.

A workflow is executed in the order specified by the configured links.

1
Switch to Select mode (click Select on the Workflow Studio toolbar).

Designing Branched Workflows

You can design both single-threaded and branched workflows. In single-threaded workflows, actions are executed one-by-one in a defined order. Each action has a single incoming and outgoing link.

In branched workflows, actions have two or more outgoing links. The execution flow of the branched workflows depends on the execution result of the actions.

TIP: Consider a workflow that creates a backup copy of a virtual machine. Before copying the VM’s data, the VM needs to be shut down. When implementing this business logic in a workflow, you need to check the execution result of the ShutVM action before starting backup. If the ShutVM action has finished successfully, then the workflow starts to copy data. If the ShutVM action has failed, then the workflow does not create a copy and sends a notification to an administrator.

After you have made the outgoing connections, you need to assign a condition to each link.

There are a few restrictions for linking:

After you have connected actions, you can assign values to the incoming action links. For example, in a workflow that contains the StartVM action, you need to specify the name of a virtual machine to be started.

There are three options:

2
Click Next.
4
Click Finish.
2
Click Next.
2
Click Next.

You can edit link parameters that you have previously configured.

Using Global Parameters

Before you can run a workflow, you have to assign values to its parameters. For example, if you need to start a virtual machine with the StartVM action, you need to specify the name of the virtual machine to start.

You can assign values explicitly or use global parameters. Global parameters are placeholders for values used by actions. It is recommended to use global parameters for the most common values required by many workflows. For example, use a global parameter to specify a virtual machine name, as this value is required by every action that operates on a virtual machine.

Global parameters allow you to quickly update multiple actions. When you modify the value of a global parameter, it is automatically applied to all actions that use that global parameter.

Setting Action Execution Options

You can specify the number of attempts and execution timeout for each action in your workflow. The following options are available:

관련 문서

The document was helpful.

평가 결과 선택

I easily found the information I needed.

평가 결과 선택