5.5.1

Table Of Contents
The executeWorkflow operation is declared as follows.
public WorkflowToken executeWorkflow(String workflowId, String username, String password,
WorkflowTokenAttribute[] attributes);
Type Value Description
String
workflowId
The identifier of the workflow to run
String
username
Orchestrator user name
String
password
Orchestrator password
Array of WorkflowTokenAttribute
instances
workflowInputs
Array of input parameters required to
run the workflow
Return Value
Returns a WorkflowToken object. Returns an exception if you pass it an invalid parameter.
find Operation
The find operation finds elements that correspond to a particular query.
The find operation obtains objects of any type by searching for a particular name. The query results are
provided in the form of a QueryResult object, which contains an array of FinderResult objects with a total
counter. The query itself is passed to find as the second parameter, as the following operation declaration
shows.
public QueryResult find(String type, String query, String username, String password);
The plug-in that contains the objects that you are looking for parses the query. The plug-in defines the query
language that the find operation uses. Consequently, the syntax of the query parameter differs according to
the implementation of the plug-in. Most of the officially supported Orchestrator plug-ins do not store any
objects in the inventory, so they do not expose anything that can be searched for.
The following table describes the find operation query parameter syntax and behavior for each of the
supported Orchestrator plug-ins.
Table 51. Query Syntax of the Orchestrator Plug-Ins
Orchestrator Plug-In Query Parameter Syntax Query Behavior
Database, for example Lifecycle
Manager
String Searches for object names in SQL
database tables. Orchestrator sets the
search string in a SQL WHERE keyword
search. It searches the primary keys,
then the object IDs in the database.
Enumeration Not applicable Stores nothing in the inventory. You
can find enumerations on each data
type that contains enumeration types.
Jakarta common set Not applicable Stores nothing in the inventory.
JDBC Not applicable Stores nothing in the inventory.
Library Not applicable Stores nothing in the inventory.
Mail Not applicable Stores nothing in the inventory.
SSH If you have configured Orchestrator
to use SSH connections, you can
make queries SSH commands.
Stores nothing in the inventory.
Developing a Web Services Client for VMware vCenter Orchestrator
82 VMware, Inc.