Workflows

NAVIGATION  Modules > Automation > Workflows

SECURITY  Automation > View Tasks & Scripts

SECURITY  Automation > Run Tasks & Scripts

SECURITY  Automation > Edit Tasks & Scripts

VSA 10 facilitates automated workflows, which automatically remediate problems on your endpoints. You can set triggers and configure actions to bring back services, run scripts, alert on conditions, and much more. The built-in workflow automation is triggered when a certain event occurs from your monitored devices, which triggers notifications that share information about how to fix issues automatically.

This article describes the process to create, view, and manage your workflows.

Overview

From the left navigation menu in VSA 10, navigate to Automation > Workflows.

The Workflows page displays a list of all workflows created by all users in your environment.

Click any header to sort the displayed records in ascending or descending order by the column's value.

Field Description
Name Displays the name of the workflow.
Description Displays the workflow description, if added.
Trigger type Displays the workflow trigger type: Notification or Ad-hoc and Scheduled.
Trigger Displays the trigger of the workflow execution.
Context Displays which devices are affected by the workflow execution.

NOTE  Workflows of the Notification trigger type automatically apply to all devices.

Status Displays the status of the workflow: Active, meaning the workflow is monitoring for changes, or Inactive.
Last modified date Displays when the workflow configuration was last modified by a user.
Last executed date Displays when the workflow was last triggered and executed.
Next execution date Displays when the workflow is scheduled to next be triggered automatically, if configured.
Execution time

Displays the length of the execution.

Hovering over a workflow displays options to run, edit, clone, or delete the workflow as available.

Page features

Feature Description
Filter by Enables you to filter the list. Refer to Applying filters.
Table Options Enables you to show/hide a column in the list.
Actions Enables you to do the following:
Create Workflow Enables you to create a workflow. Refer to Creating and editing a workflow.

Workflow examples

EXAMPLE  In this example, a High CPU usage notification will trigger the workflow when it exceeds preset limits.

Once a trigger is added, it is displayed as part of the workflow schema. You will see the option to add a step in the chain of actions. Click New Step to proceed.

The Choose an action pane on the right side of the page displays available actions for the selected trigger type. You can make use of condition steps to execute different actions based on the outcome of your logical statements.

In this example, because of the configured condition, if a high CPU usage notification on the device is triggered and the name for the top process is Sublime, then the process should be killed.

You can add more actions based on the outcome that results from the first action, either successful or unsuccessful.

EXAMPLE  In this example, conditions are set to restart certain service on one particular device. If the condition Service Name equal to btserv is removed, then the action to start service will be executed on all devices in the group ESXi.

NOTE  To start required services in required groups, these blocks with conditions should be chained as IF statements.

As in the preceding example, once the conditions are configured, you can configure the actions: action to be performed when the condition is true (Start Service in this example) and action to be performed when the condition is false. To define these actions, click New Step underneath the green circle (the condition is true) and New Step under the red circle (the condition is false).

Using worfklows to onboard new devices