VWF310: Encapsulate Custom Business Processes with Custom WF Activities Brian Noyes IDesign Inc (www.idesign.net)www.idesign.net

Slides:



Advertisements
Similar presentations
Use Case Diagrams Damian Gordon.
Advertisements

Designing, Deploying and Managing Workflow in SharePoint Sites Steve Heaney Product Development Manager OBS
MOSS Workflows Workflow Technologies Overview November 15, 2007 Sogeti USA.
VAR318: Developing Service Oriented Workflows Brian Noyes IDesign Inc (
Introduction to Windows Workflow Foundation (WF) Keith Elder Microsoft MVP Blog: Quicken Loans –
DEV392: Extending SharePoint Products And Technologies Through Web Parts And ASP.NET Clint Covington, Program Manager Data And Developer Services - Office.
Be The Master Of Your Domain with POCO WCF RIA Services SILVERLIGHTSHOW.NET WEBINARS SERIES BRIAN NOYES, CHIEF ARCHITECT, IDESIGN INC 27 Sep 2011.
WCF RIA Services - Querying and Updating Data SILVERLIGHTSHOW.NET WEBINARS SERIES BRIAN NOYES, CHIEF ARCHITECT, IDESIGN INC 2 FEB 2011.
Mark Rees Microsoft Consulting Services OFC409 Windows Workflow Foundation (WF) Primer Creating WF programs in Visual Studio Creating workflow templates.
Windows Vista for Syndication and Workflow Mike Ormond Developer & Platform Group, Microsoft Ltd
DEV365 Visual Studio Team Edition for Software Architects: Overview Alex Torone Lead Program Manager Enterprise Tools Microsoft Corporation.
Introducing Windows Workflow Foundation. Understanding Windows Workflow Foundation Janakiram MSV Developer Evangelist Microsoft Corporation Introducing.
SharePoint Collaboration Features & Workflow
It’s always better live. MSDN Events Developer Productivity Improvements with Visual Studio 2008 and Office Business Applications.
Using Microsoft SharePoint to Develop Workflow and Business Process Automation Ted Perrotte National Practice Manager, Quilogy, Microsoft Office SharePoint.
Connect with life Praveen Srvatsa Director | AsthraSoft Consulting Microsoft Regional Director, Bangalore Microsoft MVP, ASP.NET.
Workflows in SharePoint Brian Russo RJB Technical Consulting July 2009.
1 Developing Rules Driven Workflows in Windows Workflow Foundation Jurgen Willis COM318 Program Manager Microsoft Corporation.
Introduction to Windows Workflow Foundation Adam Calderon Principal Engineer - Interknowlogy Microsoft MVP – C#
Wrestling with Windows Workflow Foundation Simon Thurman Jeremy Stimson.
Creating Business Workflow Using SharePoint Designer 2007 Presented by Tarek Ghazali IT Technical Specialist Microsoft SQL Server MVP Microsoft SQL Server.
Doing Something Useful with Enterprise Library 3.0 Benjamin Day Level: Intermediate.
Workflow and SharePoint Presented by Ben Geers. Overview What is workflow? Windows Workflow Foundation How does workflow apply to SharePoint? WSS v3 vs.
Developing Workflows with SharePoint Designer David Coe Application Development Consultant Microsoft Corporation.
Using the Actions Pane, Host Controls, and Smart Tags
Brian Noyes Chief Architect IDesign Inc ( Session Code: SOA 305.
Todd Kitta  Covenant Technology Partners  Professional Windows Workflow Foundation.
WEB 304 An Overview of ASP.NET and Windows Workflow Foundation Kashif Alam Program Manager Developer Division Microsoft Corporation.
Brian Noyes Chief Architect IDesign Inc ( SOA201.
Copyright © 2006 Pilothouse Consulting Inc. All rights reserved. Workflow Development Overview Architecture Requirements Types of workflows Stages of workflow.
WSS “v3” for Developers Jan Tielens Blog: Architect & Trainer U2U, Brussels.
Microsoft SharePoint Server 2010 for the Microsoft ASP.NET Developer Yaroslav Pentsarskyy
Dynamic Languages and the Web Jimmy Schementi Microsoft
SharePoint Solution Creation Tools for the IT Pro Without Semicolons Robert Bogue Thor Projects
Deploy.NET Applications with Ease Brian Noyes IDesign, Inc.
Alcatel-Lucent CDC Workshop, Coaching & Knowledge Transfer Architecture.
DEV337 Modeling Distributed Enterprise Applications Using UML in Visual Studio.NET David Keogh Program Manager Visual Studio Enterprise Tools.
Create Windows ® Applications with.NET Carlotta Eaton ( Associate Professor of IST New River Community College Slides by Microsoft.
Server Control Tips & Tricks Presented by: Patrick Hynds Microsoft Regional Director CriticalSites CTO MCSD, MCSE+I, MCDBA, MCSA, MCP+Site Builder, MCT.
Office Business Applications Workshop Defining Business Process and Workflows.
DEV340. Chief Architect IDesign Inc. ( Microsoft Regional Director ( Microsoft MVP Silverlight Publishing Developers.
Under the Hood on Extending the My Namespace Joe Binder TLN414 Program Manager Microsoft Corporation.
BlackBerry Applications using Microsoft Visual Studio and Database Handling.
Connect with life Vedant Kulshreshtha Technology Solutions Professional – SharePoint | Microsoft India
ASP.NET User Controls. User Controls In addition to using Web server controls in your ASP.NET Web pages, you can create your own custom, reusable controls.
Brian Noyes Chief Architect IDesign Inc. SOA401 Chief Architect IDesign Inc. ( Microsoft Regional Director MVP Microsoft MVP Connected.
Building Custom Controls with ASP.NET and the Microsoft ®.NET Framework Rames Gantanant Microsoft Regional Director, Thailand
The 2007 Microsoft Office System Servers Enterprise Content Management, Workflow and Forms Martin Parry Developer and Platform Group, Microsoft Ltd
Workflow in Microsoft Office SharePoint Server Jessica Gruber Consultant Microsoft Corporation.
Integrating and Extending Workflow 8 AA301 Carl Sykes Ed Heaney.
Programming with MVVM Miguel A. Castro Architect -
Windows Workflow Foundation Guy Burstein Senior Consultant Advantech – Microsoft Division
BizTalk Damir Dobric Lead Architect. Agenda Microsoft BizTalk RFID Overview Architecture Application models Implementing Event Handlers Sensors.
Richard Hundhausen President, Accentient, Inc. Visual Studio ALM MVP SESSION CODE: DEV312.
Joy Rathnayake Senior Architect – Virtusa Pvt. Ltd.
Build Fundamentals and Continuous Integration
TechEd /26/2018 3:42 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
COM210 Introduction to Workflow in Windows Applications
Build Windows 10 UWP MVVM Apps with Prism
iVend Retail Extensibility
Windows Communication Foundation RIA: Ready for Business
Matt Masson Software Development Engineer Microsoft Corporation
Technology in Action! Windows Workflow Foundation Advanced Techniques
Customizing the SharePoint Mobile Experience
Building event-driven, long-running apps with Windows workflow
Introduction to Windows Workflow Foundation (WF)
TechEd /4/2019 3:19 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Governing Your Enterprise with Policy-Based Management
Adobe Acrobat DC Accessibility Page Structure
6/20/2019 1:09 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Presentation transcript:

VWF310: Encapsulate Custom Business Processes with Custom WF Activities Brian Noyes IDesign Inc (

About Brian Chief Architect, IDesign Inc. ( Microsoft Regional Director / MVP Publishing ● Developing Applications with Windows Workflow Foundation, LiveLessons training DVD, June ● Smart Client Deployment with ClickOnce, Addison Wesley, January 2007 ● Data Binding in Windows Forms 2.0, Addison Wesley, January 2006 ● MSDN Magazine, MSDN Online, CoDe Magazine, The Server Side.NET, asp.netPRO, Visual Studio Magazine Speaking ● Microsoft TechEd US, Europe, Malaysia, Visual Studio Connections, DevTeach, INETA Speakers Bureau, MSDN Webcasts Participates in Microsoft Design Reviews Blog:

Agenda Activities Overview Custom Activities Overview Custom Simple Activities Custom Composite Activities

WF Activities Overview Activities are the building blocks of workflows Activities can be simple or composite ● Simple: Does not contain child activities, just executable code ● Composite Contains child activities Can schedule children for proper execution order through the scheduler queue

Agenda Activities Overview Custom Activities Overview Custom Simple Activities Custom Composite Activities

Custom Activities Reasons for Custom Activities ● Encapsulation Composite activities to avoid duplication ● Domain specific activities Vertical market ● Advanced control flow Specific flow patterns Multithreading

Activities: An Extensible Approach l OOB activities, workflow types, base types l General-purpose l Activity libraries define workflow constructs l Create/Extend/ Compose activities l App-specific building blocks l First-class citizens Base Activity Library Custom Activity Libraries Author new activity Extend activity Compose activities Out-of-Box Activities l Vertical-specific activities & workflows l Best-practice IP & Knowledge Domain-Specific Workflow Packages Compliance RosettaNet CRM IT Mgmt

Custom Activities Author custom activity class (Required) ● Derives from Activity or other Base Activity Library class ● CompositeActivity for composites Define related classes (Optional) ● Executor ● Validator ● Designer ● Toolbox Item

Activity Attributes Designer ● Specify design time behavior of activity Validator ● Design and runtime checking to make sure activity is used correctly CodeGenerator ● Perform compile time code generation for the activity Serializer ● Serializes activity metadata to markup ToolboxItem ● Determine icon in Toolbox SupportsTransaction ● Enable transaction management and propagation in activity SupportsExceptionHandlers ● Allows hookup of exception handler activities

Activity Definition Base class : Activity Add 0..many DependencyProperty ● Centralized repository of workflow state ● Define the properties available on the activity ● Faster serialization than normal properties and fields ● Accessible from child activities Add 0..many wrapper (normal) properties ● Use base class GetValue/SetValue methods for persistence model ● Serializable types if persistence enabled

Activity Lifecycle InitializedExecutingClosed

Activity Lifecycle InitializedExecutingClosedUninitializing Canceling Faulting Compensatin g

Dependency Properties Three kinds ● Attached ● Data binding ● Metadata Add semantics over normal properties Greater scope than normal properties ● Stored through static state bag on base class

Agenda Activities Overview Custom Activities Overview Custom Simple Activities Custom Composite Activities

Simple Activity Definition Create class that inherits Activity base class Override base class Execute method Do activity work from Execute Can also override Initialize / Uninitialize Use activity execution context to access services

Agenda Activities Overview Custom Activities Overview Custom Simple Activities Custom Composite Activities

Composite Activity Types Basic ● Like a user control in Windows Forms or ASP.NET ● Container for other pre-defined activities ● Drag and drop in the designer ● Default rendering shows all child activities when used in a workflow ● Expose properties as needed Advanced ● Define custom child activity types or scheduling algorithms ● Define custom design time rendering and behavior

Advanced Composite Control Flow Enqueue child activities in desired order ● Use ActivityExecutionContextManager. CreateExecutionContext ● Use ActivityExecutionContext.ExecuteActivity ● Handle Closed event of child activities to decide on own composite activity completion

Resources Essential Windows Workflow Foundation, Dharma Shukla and Bob Schmidt, Addison Wesley Pro WF, Bruce Bukovics, Apress Microsoft Windows Workflow Foundation Step by Step, Kenn Scribner, Microsoft Press Build Custom Activities to Extend the Reach of Your Workflows, Matt Milner, MSDN Magazine, Dec Windows Workflow Foundation: Creating a Custom Composite Activity, Morgan Skinner, MSDN Online, Developing Applications with Windows Workflow Foundation, Brian Noyes, Addison Wesley LiveLesson Blog:

Your Feedback is Important Please fill out a session evaluation form and either put them in the basket near the exit or drop them off at the conference registration desk. Thank you!