Platform SDK: Exchange 2000 Server

IWorkflowSession Interface

[This is preliminary documentation and subject to change.]

Provides an intrinsic object passed to actions and condition scripts.

IID
CD001025-8B95-11D1-82DB-00C04FB1625D
Extends
IDispatch

Member Summary

Properties

Name Type Description
ActiveConnection

[Visual Basic,VBScript] ADODB.Connection

[C++,IDL] _Connection*

Contains the Session object of the user that initiated the event--available only in privileged mode workflows. (Read-only)
Domain

[Visual Basic,VBScript] String

[C++,IDL]BSTR

Contains the server's domain name.
ErrorDescription

[Visual Basic,VBScript] String

[C++,IDL]BSTR

The details of an error to be reported back to the audit trail.
ErrorNumber

[Visual Basic,VBScript] long

[C++,IDL]Long

Holds the error number to be reported back to the calling client and logged to the audit trail.
Fields

[Visual Basic,VBScript] Fields

[C++,IDL]Fields*

The property collection for the ProcessInstance object.
IsAuthenticated

(Read-only)

[Visual Basic,VBScript] Boolean

[C++,IDL] VARIANT_BOOL

Indicates whether email digital signature matches from field.

(Read-only)

IsIntact

(Read-only)

[Visual Basic,VBScript] Boolean

[C++,IDL] VARIANT_BOOL

Indicates whether email has been tampered with.

(Read-only)

IsSigned

(Read-only)

[Visual Basic,VBScript] Boolean

[C++,IDL] VARIANT_BOOL

Indicates if email has digital signature.

(Read-only)

IsTrustedSig

(Read-only)

[Visual Basic,VBScript] Boolean

[C++,IDL] VARIANT_BOOL

Indicates if email has a trusted signature.

(Read-only)

Properties

[Visual Basic,VBScript] ISessionProps

[C++,IDL]ISessionProps*

Returns the ISessionProps interface for the WorkflowSession object.
ReceivedMessage

(Read-only)

[Visual Basic,VBScript] WorkflowMessage

[C++,IDL]IWorkflowMessage*

Returns a pointer to the IWorkflowMessage interface for correlated messages that initiate state transitions. (Read-only)
RoleProvider

[Visual Basic,VBScript] IRoleProvider

[C++,IDL]IRoleProvider*

Returns a pointer to the RoleProvider interface object that is bound to the process definition.
Sender

[Visual Basic,VBScript] String

[C++,IDL]BSTR

Contains the SMTP address of the user that initiated the state transition.
Server

[Visual Basic,VBScript] String

[C++,IDL]BSTR

Contains the server name.
StateFrom

[Visual Basic,VBScript] String

[C++,IDL]BSTR

Contains the state of the process instance before the current transition.
StateTo

[Visual Basic,VBScript] String

[C++,IDL]BSTR

Contains the state of the process instance after the current transition.
TrackingTable

[Visual Basic,VBScript] ADODB.Recordset

[C++,IDL]_Recordset*

Returns a pointer to the recordset object containing message data related to the process instance that initiated the state transition. (Read-only)

Methods

Name Description
AddAuditEntry Provides audit trail method for script writers.
DeleteReceivedMessage Deletes the message correlated with the ProcessInstance item.
DeleteWorkflowItem Deletes the ProcessInstance item.
GetNewWorkflowMessage Returns a new WorkflowMessage object.

Remarks

IWorkflowSession specifies the intrinsic object passed to your action and condition scripts that provides runtime communication between the workflow engine, your script, and the ProcessInstance item being processed.

See Also

Workflow Architecture