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

About this task

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.

Prerequisites

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

Procedure

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.

Results

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

What to do next

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