5.5.1

Table Of Contents
Add a Resource Element to a Workflow
Resource elements are external objects that you can import to the Orchestrator server for workflows to use
as attributes when they run. For example, a workflow can use an imported XML file that defines a map to
convert one type of data to another, or a script that defines a function, when it runs.
Prerequisites
Verify that you have the following objects in your Orchestrator server:
n
An image, script, XML, or HTML file, or any other type of object imported into Orchestrator as a
resource element.
n
A workflow that requires the resource element as an attribute.
Procedure
1 Click the Workflows view.
2 Expand the hierarchical tree viewer to navigate to the workflow that requires the resource element as
an attribute.
3 Right-click the workflow and select Edit.
4
On the General tab, in the Attributes pane, click the Add attribute icon ( ).
5 Click the attribute name and type a new name for the attribute.
6 Click Type to set the attribute type.
7 In the Select a type dialog box, type resource in the Filter box to search for an object type.
Option Action
Define a single resource element as
an attribute
Select ResourceElement from the list.
Define a folder that contains
multiple resource elements as an
attribute
Select ResourceElementCategory from the list.
8 Click Value and type the name of the resource element or category of resource elements in the Filter
text box.
9 From the proposed list, select the resource element or a folder containing resource elements and click
Select.
10 Click Save and close to exit the editor.
You added a resource element or folder of resource elements as an attribute in a workflow.
Add a Resource Element to a Web View
Resource elements are external objects that you can import into the Orchestrator server for Web views to use
as Web view attributes. Web view attributes identify objects with which Web view components interact.
Prerequisites
Verify that you have the following objects in your Orchestrator server:
n
An image, script, XML, or HTML file, or any other type of object imported into Orchestrator as a
resource element.
n
A Web view that requires the resource element as an attribute.
Developing with VMware vCenter Orchestrator
148 VMware, Inc.