WHY WORKFLOWS ?•   Programming model    • Enabling workflow within line-of-business applications    • User-interface page ...
WHAT IS WORKFLOW ?• A workflow is a set of elemental units       • called activities• Activities describes a real-world pr...
WORKFLOW MODELS Sequential Activity Workflow    start To end    No Go back    One after the other State machine Activ...
ACTIVITY OVERVIEW• Developed as a CLR type  • Activity     • An abstract base class used to create composite activities  •...
ACTIVITY LIFE CYCLE• Activity Context   • Classes that represent the execution environment of an activity• Starts with Exe...
WORK FLOW RUNTIME• is the environment in which workflows execute• Few methods of executing  • WorkflowInvoker    • which i...
WORKFLOW EXECUTIONInvoker MethodWorkflowApplication • Events    • Completed    • Aborted    • Idle
PASSING PARAMETERS - INProperty MethodIDictionary Method
PASSING PARAMETERS - OUTUsing Application                    Using Invoker
CUSTOM ACTIVITIES•   Set of Reusable Activities•   Apply Same Workflow Rules•   Can have design interface•   Can have vali...
Introduction To Windows Workflow Foundation 4.0
Introduction To Windows Workflow Foundation 4.0
Introduction To Windows Workflow Foundation 4.0
Introduction To Windows Workflow Foundation 4.0
Upcoming SlideShare
Loading in...5
×

Introduction To Windows Workflow Foundation 4.0

4,271
-1

Published on

Session conducted in .NET user group

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
4,271
On Slideshare
0
From Embeds
0
Number of Embeds
33
Actions
Shares
0
Downloads
77
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Introduction To Windows Workflow Foundation 4.0

  1. 1. WHY WORKFLOWS ?• Programming model • Enabling workflow within line-of-business applications • User-interface page flows • Document-centric workflows • Human workflows • Composite workflows for service-oriented applications • Business rule-driven workflows • Workflows for systems management
  2. 2. WHAT IS WORKFLOW ?• A workflow is a set of elemental units • called activities• Activities describes a real-world process• Activity Stores Data using • Variable • Argument • Expression• Describing the order of execution and dependent relationship• Work passes through the model from start to finish
  3. 3. WORKFLOW MODELS Sequential Activity Workflow  start To end  No Go back  One after the other State machine Activity Workflow  Only States  Transitions  when true
  4. 4. ACTIVITY OVERVIEW• Developed as a CLR type • Activity • An abstract base class used to create composite activities • Code Activity • An abstract class for creating a custom activity with imperative behavior defined with the Execute method • Async Code Activity • Abstract Class that manages asynchronous code activity execution from start to completion • Native Activity • An Abstract base class for custom activities that implement execution logic using the Execute method, which has full access to the runtime’s features.
  5. 5. ACTIVITY LIFE CYCLE• Activity Context • Classes that represent the execution environment of an activity• Starts with Executing • Closed • The activity has completed its work and exited • Canceled • The activity has gracefully abandoned its work and exited. Work is not explicitly rolled back when this state is entered • Faulted • The activity has encountered an error and has exited without completing its work
  6. 6. WORK FLOW RUNTIME• is the environment in which workflows execute• Few methods of executing • WorkflowInvoker • which invokes the workflow like a method. • WorkflowApplication • explicit control over the execution of a single workflow instance. • WorkflowServiceHost • message-based interactions in multi-instance scenarios.
  7. 7. WORKFLOW EXECUTIONInvoker MethodWorkflowApplication • Events • Completed • Aborted • Idle
  8. 8. PASSING PARAMETERS - INProperty MethodIDictionary Method
  9. 9. PASSING PARAMETERS - OUTUsing Application Using Invoker
  10. 10. CUSTOM ACTIVITIES• Set of Reusable Activities• Apply Same Workflow Rules• Can have design interface• Can have validation • Override Metadata Cache
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×