Adding a Workflow

To add a workflow, follow the steps given below:

  1. Click on Workflow and select New Workflow.
  2. Drag and drop the required conditions and actions from the left panel to editor panel.
    1. Enter a Name for the condition and actions.
    2. To edit or delete a condition or action, click on it and select edit or delete icon. 

  1. Click Trigger at the top of the page. 
  2. Associate the workflow to the devices.
    1. Click on the Devices tab.
    2. Select the devices in Available Devices column and move to Selected devices column. Use the search box to search the devices.
    3. Click Next
  3. 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 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.
    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.
    4. Click Next
  4. Configure the delayed and recurring triggerring of worflow
    1. Enter a NameDescription, and Tags for the workflow.  
    2. Define Time: 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.
    3. 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.
    4. 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.
    5. 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.

How to trigger workflow from 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 helps 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.

Workflow Execution Logs for the sample workflow:

Click on Workflows from the left pane and select Workflow Logs

Editing a Workflow:

To edit a workflows, follow the steps given below:

  1. Click on Workflows from the left pane and click on the respective workflow name to edit.  
  2. The workflow panel opens. Click Trigger button on top to perform the changes you want to do and click Next.
  3. Modify the name, description, tags, associated devices, schedule, and alarm trigger options if required.
  4. Click Save

How can I trigger an action in case of any issues in the network?

To trigger an action in case of any/ selective network issues, all you have to do is to create a workflow action with alarm triggers. You can refer the steps above to add a new workflow and select all/ specific triggers as per your requirements.