MaYunsong

Hi, everyone.

How's it doing with your own WF things recently

I wanna ask everyone a question basically the same as this thread's topic. Now i have persisted a workflow instance through my custom persistence service and i want to un-persist it in another host application through the same custom persistence service.

I wanna know whether it's possible for me to pass some parameters when I try to load my persisted workflow instance in the waking-up application

If it's possible, i'll appreciate any kind of sample or websiteSmile

Thank you guys so much!!!




Re: Windows Workflow Foundation How to pass parameters to a workflow instance when we load it through a custom persistence service?

Tom Lake - MSFT

No. In order to communicate with a workflow instance that is already running you will need to raise an event that the workflow is subscribing for with a HandleExternalEventActivity. Take a look at the blog post at http://blogs.msdn.com/tomlake/archive/2006/06/02/614492.aspx for a sample.




Re: Windows Workflow Foundation How to pass parameters to a workflow instance when we load it through a custom persistence service?

MaYunsong

So actually this is a whole "How to communicate with a running workflow instance" thing, right

Thank you so so much!

i think this gonna be way too much helpful to meSmile