Platform SDK: Exchange 2000 Server

ProcessDefinitionURL Property

[This is preliminary documentation and subject to change.]

Contains a URL to a row containing an existing ProcessDefinition. Allows a new ProcessInstance to specifiy which ProcessDefinition it should use for its workflow.

[Visual Basic,VBScript]
Public Property ProcessDefinitionURL as String
[C++]
HRESULT get_ProcessDefinitionURL (BSTR** pVal);
HRESULT put_ProcessDefinitionURL (BSTR* Val);
[IDL]
HRESULT [propget] ProcessDefinitionURL([out,retval] BSTR** pVal);
HRESULT [propput] ProcessDefinitionURL ([in] BSTR* Val);

Remarks

Use this property to specify the location of an ad hoc ProcessDefinition or a newer version of the default ProcessDefinition. If this property is empty, new ProcessInstances use the default ProcessDefinition specified in the OnSyncSave registration item for the workflow folder.

The workflow engine supports using relative and absolute URL's, but you must use absolute URL's for ad hoc workflows. If the engine finds a ProcessDefinitionURL on a new item, it will check to see if it is relative. It constructs an absolute URL from a relative URL before starting a new worklfow. If the ProcessDefinitionURL is absolute initially, the engine checks the CdoWfAdhocFlows flag for the ProcessDefinition before starting the new workflow.

See Also

IProcessInstance