Executing Workflows

OpManager's IT workflow automation feature helps you automate your preliminary fault remediation measures, allowing you to ensure high uptime.

Before executing a workflow, ensure that you have associated the workflow to the respective devices. To execute a workflow,

  1. Click on the Workflow tab. Here, all the created workflows will be listed.
  2. Click against the "Execute" icon on the respective workflow, and then select the devices in which the workflows must be executed.

    Executing workflow in OpManager

  3. There is also an option to execute the workflow from the respective device's snapshot page. Go to the Device snapshot page, and then click on the "Workflow" icon at the top-right corner of the page, and then click on the "Execute" option of the respective workflow.

    Executing workflow in OpManager

How can I run a powershell script using Execute Windows Script task in Workflow?

  1. Go to Workflow > New Workflow > External Actions > Execute Windows Script.

    Executing workflow in OpManager

  2. Drag and drop the Execute Windows Script action into the workspace. In the pop-up, configure the Name, Destination Device and Command Line.
  3. In Script Body, enter the powershell script shown below:

    Set objShell = CreateObject("Wscript.Shell")
    objShell.Run("powershell.exe -noexit c:\scripts\test.ps1")

    Executing workflow in OpManager

  4. Click OK.

Thank you for your feedback!

Was this content helpful?

We are sorry. Help us improve this page.

How can we improve this page?
Do you need assistance with this topic?
By clicking "Submit", you agree to processing of personal data according to the Privacy Policy.