Running Command Workflows

You can manually run a configured command workflow at any time.

Or

You can schedule a command workflow to run at a specific time either once or on a recurring basis. Scheduling a workflow task is useful because it allows you to take advantage of maintenance windows.

  • To run command workflows that are configured for a specific infrastructure target type (such as a VM, cloud account, load balancers, database), see Running command workflows. The majority of workflows are designed for a particular infrastructure target type.
  • To run command workflows that are configured for no infrastructure target type, see Running command workflows for no infrastructure targets. For example, you could use a command workflow with no infrastructure target type to update Commander custom attributes with values retrieved from an external server.

Running command workflows

Access through:

Views > Inventory

Available to:

Administrator Access Rights

To run a workflow configured for a specific infrastructure target type:

  1. Click the Infrastructure or Applications tab.
  2. From the Infrastructure or Applications tree, select a service or cloud account.
  3. Select Actions > Run Workflow.
  4. In the Select A Workflow dialog, select a command workflow from the list.

    All command workflows for the selected service type or cloud account are displayed.

  5. Choose one of the following options:
    • Run the workflow immediately:
      1. Click Run.
      2. If the workflow was configured to prompt the user before running, a confirmation dialog appears; click Yes.

        The workflow steps start.

    • Run the workflow on a schedule:
      1. Click Schedule.
      2. In the Configure Scheduled Task wizard, enter the frequency, and the date and time you want the workflow to run, then click Next.
      3. Review the configured schedule, and click Finish when you're done.

        Tip: To edit the workflow schedule later, click Tools > Scheduled Tasks. For more information, see Scheduling Tasks.

    Tip: To view the status of the workflow, click the Workflows tab at the bottom of the Commander window. When a workflow starts, this tab turns orange. See Viewing the Status of Workflows for more information.

Running command workflows for no infrastructure targets

Access through:

Configuration > Command Workflows

Available to:

Commander Role of Superuser and Enterprise Admin

To run a workflow configured for no infrastructure target:

  1. On the Command Workflows tab, select a command workflow that's configured with a No Inventory Target.
  2. Choose one of the following options:
    • Run the workflow immediately:
      1. Click Run.
      2. If the workflow was configured to prompt the user before running, a confirmation dialog appears; click Yes.

        The workflow steps start.

        Tip: To view the status of the workflow, click the Workflows tab at the bottom of the Commander window. When a workflow starts, this tab turns orange. See Viewing the Status of Workflows for more information.

    • Run the workflow on a schedule:
      1. Click Schedule.
      2. In the Configure Scheduled Task wizard, enter the frequency, date and time you want the workflow to run, then click Next.
      3. Review the configured schedule, and click Finish when you're done.

        Tip: To edit the workflow schedule later, click Tools > Scheduled Tasks. For more information, see Scheduling Tasks.