How to a create Workflows in OpManager

How to a create Workflows in OpManager

Creating a workflow

Users can follow the below steps to create a workflow.

Selecting the actions

  1. Click on the "Workflow" tab.
  2. Users can now either import a workflow or create a new workflow.
  3. Click on the "New" option available at the top-right corner to create a new workflow.
  4. Now, drag and drop the different actions available across different categories from the left pane to to the workspace.
  5. Once the all the actions have been added, click on the "Next Step" at the top right corner.
Selecting Actions

Selecting the devices

Now that the corresponding actions have been added for the workflow, users must now select the devices to which the workflow must be applied to. Users can just select the devices form the "Available Devices" section and then move them to the "Selected Devices" section, and then click on "Next". Users can also filter the devices based on the group, business view, or category they belong to.

Selecting devices for Workflow

Configuring triggers

Configure the alarm trigger to trigger a workflow when an alarm is raised or configure a schedule trigger, if you want to schedule this workflow for periodical execution.

  1. Click on the Configure Trigger tab.
  2. Alarm Trigger: Click on the Alarm Trigger option. Select the required criteria. Executes this workflow on the associated devices, if any of the criteria is satisfied.
    Alarm Trigger
  3. Schedule Trigger: Click on the Schedule Trigger option to schedule the workflow action. Configure the date and time i.e. you can choose to execute the workflow either once, daily, weekly, monthly or yearly at a specified day/time, based on your preference.
    Schedule Trigger
  4. Click Next

Configuring Profile details

Now, configure the profile name and description along with trigger intervals.

Configuring the workflow profile
  1. Click on the "Profile" tab and enter the name and description for this workflow profile.
  2. Configure the delayed and recurring trigger interval of this worflow
    1. Time Window: Select either Apply this profile all time or Apply this profile during the below mentioned time window. Selecting the latter keeps the Workflow active only during the specified days and hours.
    2. Delayed Trigger: If you want the workflow to be triggered at a delay, enter the delay time (in minutes). If you don't want to trigger the workflow if the alarm has been acknowledged in the mean time, you can select the 'Do not trigger if alarm is acknowledged' check box.
    3. Recurring Trigger: This option helps you trigger the workflow at regular intervals, till the alarm is cleared. Enter the trigger interval and number of triggers. If you don't want to trigger the workflow repeatedly if the alarm has been acknowledged, you can select the 'Do not trigger if alarm is acknowledged' check box.
    4. Click Save 

The workflow has been successfully added. It will be executed on the associated devices at the scheduled time or when any of the criteria selected is satisfied. You can check the output of the workflow in the Workflow Logs.

Executing a workflow from the device snapshot page

  • Navigate to Inventory --> Devices.
  • Click on a particular device, to open its corresponding snapshot page.
  • On the top right tab having a list of icons click the workflow icon.
  • Click on New Workflow. (This will take you to the Workflow page in OpManager)
  • You can design your own workflow here.

Sample Workflow

Following is a sample workflow which gets executed automatically when a device down alarm is raised. This workflow sends ping request, if passed does DNS Lookup and adds the output as notes to the alarm.

Other workflow actions

Apart from creating new workflows, users can also perform various other operations. Users can edit, copy, import, or even export workflows. Users can open the "Workflow" tab where they will have a list of all the workflows that have been created. Under the actions column, users can select the respective action to be taken.

To edit a workflow, users can select the respective workflow by clicking on it, and then clicking on "Save", after making the respective changes to the selected devices, trigger criteria, name, and description if required.

Furthermore, users can also view the workflow execution logs which helps them have a clear picture of how the workflow was executed under OpManager.

Workflow Logs

This is how by configuring workflows and executing them based on configured triggers, network admins can easily automate their fault remediation process and reduce their MTTR.

                  New to ADSelfService Plus?

                    • Related Articles

                    • Create New Users in OpManager

                      You can create users in OpManager and provide required privileges to them. The option to create users is available only for the admin login account or those accounts which have 'Full Control' privilege. (The account with 'Full Control' privilege here ...
                    • Changing OpManager User Password

                      OpManager's user management feature helps network admins create specific user roles and associate them with the respective user profiles. You can also change their passwords. Kindly note that only an admin user or a user with full control privilege ...
                    • Pre-Requisites For OpManager Implementation

                      Here are some of the pre-requisites for OpManager implementation : ​ 1. Server (Physical\Virtual) to install OpManager application (One server for a standalone and multiple servers for Enterprise edition) according to the hardware requirement below, ...
                    • Discovering IPMI devices in OpManager

                      From OpManager version 125344, users can discover and monitor their IPMI devices along with their associated interfaces in OpManager. Using IPMI, critical metrics of your servers can be monitored even if they were down, thereby helping you stay ...
                    • Custom User Roles in OpManager

                      The level of access for users across different modules and add-ons in OpManager can be customized individually through Custom User Roles. The different levels of access that can be provided in OpManager for users through custom roles include: ...