Share via


CurrentState Property

CurrentState Property

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Contains any string of characters that represents the state of the ProcessInstance item set by the workflow engine. This property is read-only.

Applies To

IProcessInstance Interface

Type Library

Microsoft CDO Workflow Objects for Microsoft Exchange

DLL Implemented In

CDOWF.DLL

Syntax

[Visual Basic]Property CurrentState As String

[C++]HRESULT get_CurrentState(BSTRpVal);

Parameters

  • pVal
    Returns the value of the CurrentState property as a reference to a BSTR.

Remarks

This string property contains the name of a logical state for this process instance, such as Expired, Submitted, or Approved. The workflow engine compares this property to rows in an action table to determine what action to take.

This property corresponds directly to the Exchange store property https://schemas.microsoft.com/cdo/workflow/currentstate. Applications can also use Microsoft ActiveX Data Objects (ADO), OLE DB, or WebDAV to update this property directly.

Send us your feedback about the Microsoft Exchange Server 2003 SDK.

Build: June 2007 (2007.618.1)

© 2003-2006 Microsoft Corporation. All rights reserved. Terms of use.