To perform any useful task with a workflow, you must find the objects on which the workflow will run. The Orchestrator Web service API provides functions for finding objects of all types in the VMware Infrastructure inventory.

About this task

Workflows typically run on objects in the vCenter Server. Workflows can also run on objects from outside the vCenter Server by accessing them through plug-ins.

The operations that the Web service API defines for finding objects are as follows.

  • find

  • findForId

  • findRelation

  • hasChildrenInRelation

All of the operations that find objects return FinderResult objects, either individually, as an array, or embedded in a QueryResult object.