Platform SDK: Exchange Server

ProcInstance

The ProcInstance object represents an instance of a process being executed. Sometimes called the PIM (Process Instance Message), this object consists of the original MAPI message consisting of the WorkItem plus additional properties for the state and map information.

The ProcInstance object is a top-level object that can be created independently, or obtained through the RouteDetails object. The CDO Message object for this ProcInstance is also made available as the Msg property on the RouteDetails object. Therefore, you need not bind a Message object to the ProcInstance. The folder in which the ProcInstance resides is also available as the Folder property on the RouteDetails object.

After creating the object, in order to use it you must associate it with the specific message that it is stored in by using the Open method.

Property Type Access
CurrentRow     Long Read/write
Log         Log Read/write
Map     Map Read/write
Message CDO.Message Read/write
ParentProcID     EntryID Read-only
Participant     Participant Read-only
RUI         Long Read/write
Session CDO.Session Read/write
Status     String Read/write
SubProcCount Long Read-only
Terminated     Long Read-only
Timeout     Boolean Read/write
VoteTable     VoteTable Read-only
Wait     Long Read/write

Methods Parameters
EngineOpen [in] eMode as Long
Open (none)
Save (none)