How do you pass output parameters before WorkflowCompleted event?

WF Gurus,

I need to pass an output object parameter prior to WorkflowCompleted event executes. I have an XOML only state workflow and am raising events.

I am able to pass data into the workflow via RaiseEvent functions, but cannot pass parameters back to the host. Any ideas?

Thanks in advance,

John Portnov

[338 byte] By [JohnPortnov] at [2007-12-22]
# 1
John - you can either use the CallExternalMethod activity (probably the easiest) - or create your own custom Service and Activity that knows how to call that service.
JonFlanders at 2007-8-30 > top of Msdn Tech,Software Development for Windows Vista,Windows Workflow Foundation...
# 2

Jon,

Do you have any code samples on how to do this with an XOML only state workflow. I looked that the HostingCommunications example, but did not find the code I need to pass parameters back to the host.

Any ideas?

Sincerely,

John Portnov

JohnPortnov at 2007-8-30 > top of Msdn Tech,Software Development for Windows Vista,Windows Workflow Foundation...

Software Development for Windows Vista

Site Classified