You can create resource actions to extend the operations that the consumers of the catalog items can perform on items provisioned by sources other than the Advanced Service Designer.
About this task
By creating a resource action, you publish a vRealize Orchestrator workflow as a post-provisioning operation. During this process, you can edit the default submission and read-only forms. See Designing a Resource Action Form.
Procedure
- Select .
- Click Add (
).
- Navigate through the vRealize Orchestrator workflow library and select a workflow.
You can see the name and description of the selected workflow, and the input and output parameters as they are defined in vRealize Orchestrator.
- Click Next.
- Select the resource mapping that you previously created from the Resource type drop-down menu.
- Select the input parameter for the resource action from the Input parameter drop-down menu.
- Click Next.
- Enter a name and, optionally, a description.
The Name and Description text boxes are prepopulated with the name and description of the workflow as they are defined in vRealize Orchestrator.
- (Optional) If you do not want to prompt consumers to enter a description and reason for requesting this resource action, select the Hide catalog request information page check box.
- (Optional) Select the type of the action.
Depending on the action workflow, you can select one, both, or none of the options.
Option |
Description |
Disposing |
The input parameter of the resource action workflow is disposed and the item is removed from the Items tab. For example, the resource action is for deleting a provisioned machine. |
Provisioning |
The resource action is for provisioning. For example, the resource action is for copying a catalog item. Select an output parameter from the drop-down menu. You can select a custom resource or resource mapping that you previously created so that when the consumers request this resource action, the provisioned items are added on the Items tab. If you have only the No provisioning option, either the resource action is not for provisioning, or you did not create a proper custom resource or resource mapping for the output parameter, and you cannot proceed. |
- Select the conditions under which the resource action is available to users, and click Next.
- (Optional) Edit the form of the resource action on the Form tab.
The form of the resource action maps the vRealize Orchestrator workflow presentation. You can change the form by deleting, editing, and rearranging the elements. You can also add a new form and form pages and drag the necessary elements to the new form and form page.
Option |
Action |
Add a form |
Click the New Form icon ( ) next to the form name, provide the required information, and click Submit. |
Edit a form |
Click the Edit icon ( ) next to the form name, make the necessary changes, and click Submit. |
Regenerate the workflow presentation |
Click the Rebuild icon ( ) next to the form name and click OK. |
Delete a form |
Click the Delete icon ( ) next to the form name, and in the confirmation dialog box click OK. |
Add a form page |
Click the New Page icon ( ) next to the form page name, provide the required information, and click Submit. |
Edit a form page |
Click the Edit icon ( ) next to the form page name, make the necessary changes, and click Submit. |
Delete a form page |
Click the Delete icon ( ) next to the form name, and in the confirmation dialog box click OK. |
Add an element to the form page |
Drag an element from the New Fields pane on the left to the pane on the right. You can then provide the required information and click Submit. |
Edit an element |
Click the Edit icon ( ) next to the element to edit, make the necessary changes, and click Submit. |
Delete an element |
Click the Delete icon ( ) next to the element to delete, and in the confirmation dialog box click OK. |
- Click Add.
Results
You created a resource action and you can see it listed on the Resource Actions page.
What to do next
Publish the resource action.