Share via


ProcessDefinition Property

ProcessDefinition 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.

Returns a pointer to ProcessDefinition for ProcessInstance. 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 ProcessDefinition As ProcessDefinition

[C++]HRESULT get_ProcessDefinition(IProcessDefinition** varProcessDefinition);

Parameters

Remarks

The workflow event sink checks for a ProcessDefinitionURL on a new ProcessInstance. If the item has no ProcessDefinitionURL, the sink checks the ProcessDefinition property for a value. If it finds none, it uses the default folder ProcessDefinition to start a new workflow. If the sink finds a ProcessDefinition on a ProcessInstance, the sink checks the CdoWfAdhocFlows flag of the OnSyncSave registration item in the workflow folder. Set the CdoWfAdhocFlows flag to OnlyAdhocFlows or PermitAdhocFlows in the OnSyncSave registration item for this property to work.

See Also

CdoWfAdhocFlows Enum

Registering a Workflow Event Sink in a Folder

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.