Workflow and Host Communication in WF 4.0–Parameter Passing

added by sankarsan
4/12/2012 12:58:33 PM


Workflow host is an application responsible for executing the workflow and managing different workflow lifecycle events like start, completion, idle, unloaded etc.Now the workflow host should be capable of exchanging information with the workflow. This information exchange can be broadly categorized into: a) The parameters/arguments needed to start the workflow and to get the results back after workflow has executed. b) The intermediate data needs at different stages of a long running workflow (e.g. when the workflow is waiting for a specific input like Manager’s Approval). In this post we will concentrate on the different mechanisms of parameter passing and getting results back. In the subsequent posts we will move into more complex scenarios related to long running workflows.