I'm trying to extract the initial parameters of a persisted workflow for comparison purposes, without the need to instantiate him.
I'll try to explain it...
I have a workflow that describes the life cycle of a customer inside a business home.
When the customer arrive, they are admitted in the reception where a few personal information is gathered.
A workflow is created for every one that is admitted. They pass through 3 different steps and talk to 3 different end users of the application until the workflow is finished.
For every step I want the end user to have a display list of customers in list for that step by order they arrived.
Throught SQLTrackingService I manage to track in what activity the workflow is persisted, and show to the end user only the persons that are waiting for him (I guess I figured this out... still needs testing).
My problem comes now...
My application is a internet ASP.NET web application that is used in various business home's in different points of the country. Each one has a different ID that is passed to the workflow at the beginning as a Dictionary value.
So when I query the persisted workflow I can get the activity that is waiting to be executed, but I need to know where the person is!
- Is there any way to get the input Dictionary of the workflow when he is persisted without instanciate it (As this is a web app the workflow runtime and instance doesn't persist from step to step...)
- Is there any way to access the args passed to the workflow in a Dictionary format in a HandleExternalEventActivity (For now I don't need to access this, but I think it will be handy in the future...)
If anyone can help in this I appreciate it in advance... Thanks
Cheers
Joao Pereira