The WorkflowSession Object
The WorkflowSession Object
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.
Typically, you will implement business logic by using the WorkflowSession object. This object provides access to the workflow item and messaging without requiring that you have object creation privileges. You do not need to create this object, because the workflow engine passes the WorkflowSession object to the script host. Scripts can immediately call WorkflowSession methods and properties by using the object name.
There is only one WorkflowSession object per transition, and that is the one the workflow engine passes to the script host. For restricted workflow authors, this is the only object they need to work with. Privileged workflow authors can create other objects in the script.
The topics in this section demonstrate some of the tasks you can perform with the WorkflowSession object:
Accessing and Modifying a ProcessInstance
Adding an Entry to the Audit Trail
Accessing Active Directory Properties
Getting the HTTP URL of an Item
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.