If you know a particular workflow ID, a Web service application can obtain this workflow by using the getWorkflowForID operation.

About this task

The getWorkflowForID operation returns a single Workflow instance, because all workflow IDs are unique.

Prerequisites

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

Procedure

Create a Workflow object by calling the getWorkflowForID operation.
String workflowId = "1880808080808080808080808080808087808080011713796199469943be4c882";
Workflow workflow = vsoWebControl.getWorkflowForID(workflowId, username, password);

Results

You found a workflow 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.