You need to step through the workflow configuration steps in the WSS SDK
exactly (download from http://msdn.microsoft.com/wss)
The problem you are seeing is that the example uses CreateObject to create a
CDO.Message. In order to do that, the author of the workflow process (the
person who publishes the workflow using the WFD) and the workflow system
account need to be part of the privileged mode COM+ role for the workflow
event sink (configured in the component services MMC).
> I am beginner to study WFD,I did a sample yesterday.
> The sample named Expense Report is in MSDN.
> I do it step by step,and verify script,system report no error.
> But when I open a Expense Report Form,write some data,I can not post
> it,system report Unknown error.
> I found some report in event view.
> What was happened???
> And WorkFlowDemo path is "Public Folders/All Public
> Folders/WorkFlowDemo" in exchange server.
> Thx advance...
> Event Type: Error
> Event Source: WorkflowAuditTrail
> Event Category: Compensating action
> Event ID: 1543
> Date: 11/8/2000
> Time: 4:25:10 PM
> User: ALPHA\administrator
> Computer: EXCH
> Folders/WorkFlowDemo/terstasea.EML>: Compensating action error: The
> ProcessDefinition requests privileged mode, but that mode is not allowed
> because the author/modifier of the ProcessDefinition document, the event
> registration document, or the common script document is not in the
> "Privileged Workflow Authors" role.