Windows Workflow Foundation 3
Error in the Hands on lab 09
Its seems to me that there is an error in the HOL 09 ("Modifying Workflow Models at Runtime With Workflow Change") : snippet "Lab09 Ex02 Task02 ModifyWorkflowFromHost" . In the following static method, replace the string "ifElse1Activity" with "ifElseActivity1" Like this... static void modifyWorkflowFromHost(WorkflowInstance workflowInstance){...CompositeActivity ifelse = workflowChangesToMake.TransientWorkflow.Activities["ifElseActivity1"] as CompositeActivity;... } Serge Luca Guidance, Belgium blog : www.redwood.be
I just verified this and you're right. Thanks for spotting this. I'll add this to the errata for the labs and we'll get it fixed with the next revision. Regards,Paul
Related Links
Is there any event get fired when I changed the content in the workflow designer?
Subscription handler threw System.FormatException
How can I designate string[] field as returnValue for ReceiveActivity?
is the "workflows in memory" performance counter failing to be reset?
Creating a workflow dynamically
writing non-persistance data to Oracle from a workflow app
Is Workflow Foundation a good fit for multiple workflow processes
The workflow failed validation
Can SQL compact edition be used for persistence and tracking storage?
Invoking multiple web service using InvokeWebServiceActivity combined with transaction
Workflow, HandleExternalEvent and WCF
XOML Only - How to change an integer in the argument dictionary
WorkflowTheme Exception
Pass in parameters to declarative workflow
WorkflowOutline
Workflow Correlation