Get Procedure

API Type

Web Services

Description

Retrieves work item data by a specified work item ID.

Syntax

public virtual WFAutomaticWorkItem GetProcedure(string workItemID)

Parameters

Name Description

workItemID

Definition:
An ID that represents a work item (task).
Type
string
Allowed Values:
A valid, unique 32-byte work item (task) ID.

Output

WFAutomaticWorkItem object.

Example

IWFWorkflowService svc = GetWorkflowService()
string workItemID = ..// for example,
"54A648A0A3004A02981E7F0848820FE7";

try
	{
    WFAutomaticWorkItem wItem = svc.GetProcedure(workItemID);
	}

catch( Exception ex)
	{
    Console.WriteLine("Failed! " + ShUtil.GetSoapMessage(ex));
	}

Supported Versions

3.2.0.4 and higher