The getAllWorkflows operation lists all workflows that a user can access as an array of Workflow objects.

Because the getAllWorkflows operation returns Workflow objects that contain all the information about a workflow, it is useful for applications that require full information about workflows, such as the workflow's name, ID, description, parameters, and attributes.

You must have implemented Web service operations in your client application to find objects in the Orchestrator server.

Create an array of Workflow objects by calling the getAllWorkflows operation.

Workflow[] workflows = vsoWebControl.getAllWorkflows(username, password);

The preceding code example calls getAllWorkflows to get an array of Workflow objects that the Web service client can run.

You found workflows in the Orchestrator server that the Web service client can run on objects.

Implement operations in the Web services client to run the workflows it finds.