After you define Horizon 7 desktops and pools as resource types, you can assign actions to Horizon 7 desktops and pools.
Procedure
- Log in to vRealize Automation as an administrator.
- Select a new Resource Action.
vRealize Automation Version |
Action |
6.2.4 |
Select . |
7.2.4 or later |
Select |
- Click the Add (+) icon.
- On the New Resource Action - Workflow tab, navigate to .
- Expand the Desktop folder, select an action, and click Next.
- On the Input Resource tab, click Next.
The
Resource type drop-down list displays the
ViewDesktop type you imported.
- On the Details tab, select the Hide catalog request information page check box.
You can also change the name of the action. For example, instead of
Logoff, you might use
Log off desktop.
- If you are importing the Recycle action or the Drop Pool action, on the Details tab, in the Type section, select the Disposal check box.
- On the Details tab, in the Target criteria section, for the Drop Pool action only, select Always available, and for all other actions, select the Available based on conditions radio button, and use the following settings in the drop-down lists that appear.
List |
Select |
Clause |
Available Actions |
Operator |
Contains |
Value |
Constant, and type the appropriate value: logoff, reboot, refresh, shutdown, start, drop-pool, manage-entitlement, manage-session, recompose, manage-assignment, recycle or duplicate-pool . |
The value must be in lowercased letters.
- Click Next.
- On the Form tab, if you are importing a desktop action, click Finish, or, if you are importing a pool action, edit the vCACUser field to bind the action to a user.
- Click in the vCACUser text box and click the Edit (pencil) icon.
- In the Edit Form Field - vCACUser dialog box, click the Constraints tab.
- Click to expand the Value: drop-down list.
- Select the Field radio button and click to expand the Request Info item.
- Click to expand the Requested by item and select Principal ID.
- Click to expand the Visible: drop-down list.
- Select the Constant radio button and select No to hide this parameter in catalog request.
- Click Submit.
- On the Form tab, click Add.
- Repeat this process to add other actions.
The action items are added to the list on the
Resource Actions page, and the Status column shows that they are in draft form.
- On the Resource Actions page, select the action items one by one and click the Publish button above the table.
What to do next
Import the workflows that will use these actions. See Import Workflows for Desktop and Pool Management.