4 What is a Workflow? A program declared as set of activities Coordinates people and softwareHas real-world control flowRuns durably and transparentlyTolerates dynamic changeLike a flowchart….or a state diagram….or based on rules.Think of EscalateToManager as a blocking activity. While it is waiting, it no longer needs to take CPU or system resources. It only needs a small stub to wait for a reply. It could also time out. DecrementInventory could fail and a whole set of compensating activities could need to occur as a result.Three are a few styles. Start at the top and go to the bottom. Or states can be transitioned between and actions can be taken when events occur. You can create other styles as well.4
6 Activity Basics Activities are the building blocks of workflows The unit of execution, re-use and compositionBasic activities are steps within a workflowComposite activities contains other activitiesComposite activities contains other activities EG: SequencePartners and customers author custom activities EG: “ApproveOrder”Base Activity Library provides out-of-the-box activity setPartners and customers author custom activities
15 Workflow Web Sites MSDN® Workflow Page Forums Community Site Download the Microsoft® Visual Studio® ExtensionsDownload 10 Hands-on Labsmsdn.microsoft.com/workflowForumsAsk questions in the forumsForumsCommunity SiteDownload samples, tools, and runtime service componentswf.netfx3.comMSDN Virtual Labsmsdn.microsoft.com/virtuallabs/NETFramework
Your consent to our cookies if you continue to use this website.