110 likes | 260 Views
Practical W orkflow Services. Peter Goodman. Agenda. Why Workflow? The Workflow Runtime Workflow Services Windows Server AppFabric Demo. W hy Workflow?. Visual programming model Declarative Highly Customizable Long running processes Human based Time based Asynchronous.
E N D
Practical Workflow Services Peter Goodman
Agenda • Why Workflow? • The Workflow Runtime • Workflow Services • Windows Server AppFabric • Demo
Why Workflow? • Visual programming model • Declarative • Highly Customizable • Long running processes • Human based • Time based • Asynchronous
The Workflow RuntimeActivity Model • An Activity is the atomic unit of composition in a workflow • Pass data into an activity via Arguments • Store data in Variables • An activity with no parent is a Workflow
The Workflow RuntimeActivity Execution • Each activity is scheduledby the runtime • Each activity execution produces an instance • Bookmarks pause execution and await some external influence • Thread, process, machine agile
The Workflow RuntimeExtensions • Persistence stores the state of the workflow • Tracking raises message events from workflow activities • Custom extensions
Workflow Services • Send and Receive activities • WCF Infrastructure • Each workflow definition is hosted as a WCF service • Correlation is used to find an instance of a workflow definition and the appropriate bookmark
Windows Server AppFabric • IIS administration console UI • Workflow Management Service • Wakes up instances • Handles instance control requests • Event Collection Service • Forwards tracking events to Monitoring Store
Demo The Approval Workflow
Feedback • http://blog.petegoo.com • pete@petegoo.com