Actions Library Page
The Actions Library page is where you can create and edit custom actions and view all actions created by you or shared with you. You can access the Actions Library from the Actions Library tab of the main menu. This tab is only visible to users with the WM_ADMIN or WM_DEV_OPS role. If you are a tenant administrator for the root tenant, you can also control which users can see and use the individual platform actions, or completely disable individual platform actions.
A sample Actions Library page as viewable by a root tenant administrator is shown below.
The Actions Library page has a header and a main table. You can perform functions on the Actions Library from both the header and the table as described below
From the page header you can:
Click on the Search icon (upper left) and enter text to limit the list of actions displayed.
Click on the Export link (upper right) to export all custom actions into a single JSON file. This is useful if you want to later import these actions into another instance of Workload Manager.
Click on the Import link (upper right) to import custom actions from a JSON file. When you do this, a dialog box is displayed where you must map the repository locations included in the imported file to your exiting repository locations.
Click on the New Action button (upper right) to create a new custom on-demand action or lifecycle action. Details on creating a custom action are explained in Create a Custom Action.
The main section of the Actions Library page is the table containing the list of actions. The meaning of the table columns is summarized in the table below. You can sort the table by clicking the header of any of these columns: Name, Type, Lasted Updated, and Enable.
|Name||Shows the name of the action on the first line, and the category of action (on-demand or lifecycle) on the second line. If the action is a custom action, the name is shown in blue. If you have modify or manage permission for the action, you can click anywhere on the row to open the action editor form for that action. See Manage Actions for more information on editing actions. All OOB on-demand actions have a closed padlock icon next to the name which means they cannot be edited and cannot be deleted.|
|Type||Each OOB on-demand action has its own unique type. Lifecycle actions are all of type Command or script. Custom on-demand actions may be of type Invoke Web service, Command or script, Puppet, UCS Director workflow, Chef, or Ansible.|
|Last Updated||Workload Manager tracks when a user updates an action though the editor. This provides a convenient way to see which actions were recently updated.|
|Description||Free-form text field entered by the creator of the custom action.|
This field has two different meanings depending on whether the action is on-demand or lifecycle.
On-demand actions: Where Used means the target of the action: the object that the action will query, modify or control. Possible values for Where Used for on-demand actions vary based on the action type, as summarized in the table below.
Lifecycle actions: Where Used means the resources where the lifecycle action may be specified. Possible values for Where Used for lifecycle actions vary based on whether the command or script of the lifecycle action is executed on the VM or externally, as summarized in the table below.
For custom actions: If you have modify or manage permission for the action, this field is a toggle you can switch ON or OFF. If you only have view permission for the action, this column contains a static text field (ON or OFF). When you create a new custom action, it is automatically enabled.
For OOB on-demand actions: If you are an administrator for the root tenant, the Enable column shows toggles for the OOB on-demand actions which you can turn ON or OFF. For all other users, the Enable column for the OOB on-demand actions just shows the ON or OFF text. All OOB on-demand actions are enabled by default. When you create a new custom action, it is automatically enabled.
|Actions||If you have manage permission for a custom action, hovering over the Action column for the action will display a triangular dropdown menu icon. Clicking on this icon shows two menu choices: Share and Delete. If you are a root tenant administrator, and hover over this column for for an OOB on-demand action, clicking on dropdown icon initially shows one menu choice: Disable Default Share. Once you click this choice, the menu choices change to two choices: Share, Enable Default Share. See Manage Actions for more details on sharing and deleting actions.|
- No labels