Presentation is loading. Please wait.

Presentation is loading. Please wait.

Nuno Godinho External Consultant ITech4All Session Code: INT308.

Similar presentations


Presentation on theme: "Nuno Godinho External Consultant ITech4All Session Code: INT308."— Presentation transcript:

1

2 Nuno Godinho External Consultant ITech4All Session Code: INT308

3 Session Objectives Identify the Changes on Beta 2 Make Workflows Readable for Business Analysts Make Workflow Unit Testing easy Identity the correct Workflow Instance based on the content Provide the Best Practices and inside view of Migration from State Machine to Flowchart

4 Session Takeaways Knowledge of what WF 4.0 Beta 2 brings Capability for making the Interaction between Developers and Business Analysts easier Identify the ways to perform the Migration from State Machine to Flowchart

5 About Me External Consultant Areas: Architecture (SOA, SaaS, S+S, EDA, MDA,...) Software Development (.NET, Silverlight, Connected Systems, Windows Azure,...) Microsoft Valueable Professional Microsoft Certified Trainer INETA Speaker INETA Country Manager (Portugal) Certified Scrum Master

6 Agenda Changes from Beta 1 to Beta 2 Flowchart Correlation Migrating to WF4 Q&A

7 Changes from Beta 1 to Beta 2 Activity Hierarchy Changes – Beta 1 WorkflowElement ActivityActivity CodeActivityCodeActivity NativeActivityNativeActivity DynamicActivityDynamicActivity WorkflowElementWorkflowElement ActivityActivity CodeActivityCodeActivity NativeActivityNativeActivity DynamicActivityDynamicActivity

8 Changes from Beta 1 to Beta 2 Activity Hierarchy Changes – Beta 2 Activity CodeActivityCodeActivity AsyncCodeActivityAsyncCodeActivity NativeActivityNativeActivity DynamicActivityDynamicActivity ActivityActivity CodeActivity AsyncCodeActivity NativeActivity DynamicActivity ActivityWithResultActivityWithResult

9 Changes from Beta 1 to Beta 2 Runtime and Hosting CacheMetadata ActivityAction Persistence, Durable Timer and Tracking Dynamic Update WorkflowInstance renamed

10 Changes from Beta 1 to Beta 2 Activities Correlation ParametersContent CorrelationInitializers Correlation Scope Parameters support Parameters Activities Content Refactored Semantics on Error Handling Activities

11 Changes from Beta 1 to Beta 2 Interop Activity Key Component in WF4 Leverages Activities built in WF3 Improvements Validation Transactions

12 Changes from Beta 1 to Beta 2 Designer In place Expand support Imports Designer Text of flowchart lines FlowDecision FlowSwitch

13 Agenda Changes from Beta 1 to Beta 2 Flowchart Correlation Migrating to WF4 Q&A

14 Challenges Defining Worflows based on flowcharts made by Business Analysts and Users Making Workflows easier for Business Analysts and user validation Unit Testing Workflows

15 Flowchart Sample Order Processing Workflow

16 Flowchart and Unit Testing Nuno Godinho External Consultant ITech4All

17 Flowchart Summary Typically used to implement non-sequential workflows Can also be used for sequential workflows if no FlowDecision nodes are used A Flowchart activity is an activity that contains a collection of flow nodes that inherit from FlowNode. FlowNode types: FlowStep FlowDecision FlowSwitch

18 Agenda Changes from Beta 1 to Beta 2 Flowchart Correlation Migrating to WF4 Q&A

19 Challenges Identifying the correct Workflow Instance for continuing the Work Making the Customer unaware of the Workflow Instance

20 Flowchart with Correlation Sample Accounts Receivable Workflow

21 Correlation Nuno Godinho External Consultant ITech4All

22 Correlation Summary Supports long-running conversations using protocol- based and content-based correlation. Makes client completely uncoupled from the Workflow Instance used

23 Agenda Changes from Beta 1 to Beta 2 Flowchart Correlation Migrating to WF 4 Q&A

24 Migrating to WF4 Comparing versions 3.5 and 4.0 New in version 4.0 Composite Activities Flowchart DoWhile Switch

25 Migrating to WF4 Comparing versions 3.5 and 4.0 Not in version 4.0 Composite Activities StateMachine ConditionedActivityGroup EventHandlingScope

26 Challenges Migrating an existing State Machine Workflow to Workflow Foundation 4.0

27 Migration from State Machine to Flowchart Nuno Godinho External Consultant ITech4All

28 Migrating to WF4 Best Practices Use Custom Activities instead of CodeActivities Define a variable instead of Binding directly one property to another Use strings to name WorkflowQueues Instead of any IComparable

29 Migrating to WF4 Best Practices Use Use WF4 activity delegates instead of custom events EnqueueOnIdle instead of Enqueue Don’t Override WF3 Activity Initialize and Uninitialize methods

30 Migrating to WF4 Summary Possibilities: Simple Flowchart Flowchart with Single Pick Activity Flowchart with Multiple Pick Activies Flowchart as a Service

31 Session Takeaways Knowledge of what WF 4.0 Beta 2 brings Capability for making the Interaction between Developers and Business Analysts easier Identify the ways to perform the Migration from State Machine to Flowchart

32 Agenda Changes from Beta 1 to Beta 2 Flowchart Correlation Migrating to WF 4 Q&A

33

34 Sessions On-Demand & Community Resources for IT Professionals Resources for Developers Microsoft Certification & Training Resources Resources Required Slide Speakers, TechEd 2009 is not producing a DVD. Please announce that attendees can access session recordings at TechEd Online. Required Slide Speakers, TechEd 2009 is not producing a DVD. Please announce that attendees can access session recordings at TechEd Online.

35 Related Content INT301 An Overview and Selected Deep Dive of Microsoft Project Code Name "Dublin“ INT302 What's New in Windows Communication Foundation 4.0 Visit the TLC Booth for.Net Framework Required Slide Speakers, please list the Breakout Sessions, TLC Interactive Theaters and Labs that are related to your session. Required Slide Speakers, please list the Breakout Sessions, TLC Interactive Theaters and Labs that are related to your session.

36 Complete an evaluation on CommNet and enter to win an Xbox 360 Elite!

37 © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION. Required Slide


Download ppt "Nuno Godinho External Consultant ITech4All Session Code: INT308."

Similar presentations


Ads by Google