When a delegated administrator's access must be restricted to particular pools or pods, you can bind a workflow to a specific pool or pod. Administrators can duplicate workflows and bind them to different pools as needed.

About this task

After an administrator binds a workflow to a pod, the delegated administrator sees a drop-down list of the pools that belong to that pod in vSphere Web Client. You can, however, also bind the workflow to a specific pool and disable the drop-down list of pools. Drop-down lists of pools are supported for most workflows regardless of whether the workflows are localized.

Important:

For the following workflows, if you plan to localize the workflow, you must bind the workflow to a specific pool and disable the drop-down list of pools:

  • Application Entitlement

  • Assign User

  • Desktop Assignment

  • Desktop Entitlement

  • Unassign User

Prerequisites

  • Verify that you have administrator credentials for the Orchestrator server. The account must be a member of the vCenter Orchestrator Admin group configured to authenticate through vCenter Single Sign-On.

  • Verify that a connection has been made to the View pod by running the Add View Pod in Configuration workflow. See Configure the Connection to a View Pod.

  • Verify that you have assigned the correct delegated administrators to the pools that you plan to expose through vSphere Web Client. See Assign Delegated Administrators to Pools.

Procedure

  1. Log in to the Orchestrator client as an administrator, and select Design from the drop-down menu in the upper-left portion of the screen.
  2. In the workflows hierarchical list, select Library > Horizon and navigate to the subfolder and workflow.

    For example, you might navigate to the Add User(s) to Desktop Pool workflow in Library > Horizon > Workflows > vSphereWebClient.

  3. Right-click the workflow, select Duplicate Workflow, and complete the form.

    The new workflow is placed in the folder you selected.

  4. Select the newly created workflow in the left pane, click the Presentation tab in the right pane, and click the Edit (pencil) icon in the toolbar at the top of the pane.
  5. Select (string)podAlias Horizon View Pod in the upper portion of the tab and edit its properties.
    1. In the lower portion of the tab, click the Properties tab, and in the Data Binding row, type the pod name and enclose it with quotation marks; for example: "ViewPod1".
    2. Select and delete the Predefined answers property.
    3. Add the Default value property and type in the same pod name enclosed with quotation marks.

    If you do not delete the Predefined answers property and set the Default value property, you might see a drop-down list of pods in vSphere Web Client, even though the workflow is bound to one pod.

  6. To bind the workflow to only one pool, select (string)poolId Desktop Pool ID in the upper portion of the tab and edit its properties.
    1. In the lower portion of the tab, click the Properties tab, and in the Data Binding row, type the pool ID and enclose it with quotation marks; for example, "DesktopPool".
    2. Select and delete the Predefined answers property.
    3. Add the Default value property and type in the same pool name enclosed with quotation marks.

    If you do not delete the Predefined answers property and set the Default value property, you might see a drop-down list of pods in vSphere Web Client, even though the workflow is bound to one pool.

Results

When this workflow starts, the pod name and pool ID are already populated and cannot be changed.

What to do next

Create versions of the workflow in other languages.