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 the workflows to different pools as needed.

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

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

  • Application Entitlement
  • Assign User
  • Desktop Assignment
  • Desktop Entitlement
  • Unassign User

Prerequisites

  • Verify that you have administrator credentials for the vRealize Orchestrator server. The account must be a member of the vRealize Orchestrator Admin group configured to authenticate through vCenter Single Sign-On.
  • Verify that a connection has been made to the pod by running the Add View Pod in the Configuration workflow. See Configure the Connection to a Pod in VMware Horizon 8.
  • 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 vRealize 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 Users to Desktop Pool workflow in Library > Horizon > Workflows > vSphereWebClient.
  3. Right-click the workflow, select Duplicate Workflow, and enter values in the form.
    The new workflow appears in the folder that 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 enter the same pod name enclosed in quotation marks.
    If you do not delete the Predefined answers property and set the Default value property, you might see a drop-down menu 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, enter the pool ID and enclose it in 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 in quotation marks.
    If you do not delete the Predefined answers property and set the Default value property, you might see a drop-down menu 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.