Share via


Deleting Workflow Items

Deleting Workflow Items

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.

You can delete a workflow item during any transition, except during OnReceive events, by using the DeleteWorkflowItem Method of the IWorkflowSession Interface. Deleting a workflow item during a transition will not raise an OnDelete event. For more information about workflow event types, see Event Types. Place special delete actions in the same script that you use the DeleteWorkflowItem Method in.

You can use the following code in an action or condition script:

VBScript

WorkflowSession.DeleteWorkflowItem

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.