20140211 BTUG.be - Workflow Manager

47 %
53 %
Information about 20140211 BTUG.be - Workflow Manager
Technology

Published on February 15, 2014

Author: BTUGbe

Source: slideshare.net

Workflow Manager Running durable workflows in the cloud and on prem

Nice to meet you CTO sam.vanhoutte@codit.eu +32 474 849 993 @SamVanhoutte BizTalk V-TSP Integration MVP be.linkedin.com/in/samvanhoutte/ Sam VANHOUTTE 2012 & 2013 2000 Belgium 2004 France 2013 Portugal Partner of the Year Award Finalist Focused on integration solutions > 60 Active integration customers Application Integration International Focus HQ in BE e-news + SoMe 60 employees > 50 consultants BizTalk certified

Agenda • • • Microsoft & Workflow – a long history • Workflow designer, activities • AppFabric Workflow Services Workflow Manager • Architecture • Multi-tenancy & isolation • Pub / sub • Demo Conclusions

Microsoft & Workflow A bit of history

Workflow history 2004 > 2007 - 2010 2010 > 2013 > BizTalk Server Oslo AppFabric Azure Workflow XLANG/s Repository, M, Quadrant WCF Workflow Services Service Bus & SharePoint Modeling

The ART of Workflow* ➔ Declarative authoring of programs that coordinate work, using: ➔ ➔ ➔ Activities Runtime Tooling * Copyright : Dave Cliffe : Program Manager Workflow

Workflow improvements in .NET 4.5 Authoring Improvements Be more efficient when authoring your workflows Versioning Basic building blocks to enable building a versioning story Runtime Enhancements Improve runtime performance and extensibility

AppFabric for Windows Server WCF WorkflowServiceHost ➔ ➔ ➔ Hosting Services Hosting Workflows Caching Management Tools IIS Manager Modules PowerShell Services Persistence ➔ AppFabric connect for BizTalk Server Code named: Dublin & Velocity Workflows Hosting Monitoring Caching Windows Server AppFabric .NET Framework Persistence Runtime Databases Monitoring IIS/WAS Windows Server 8

Demo AppFabric Workflows & BizTalk Sentinet Get Create AppFabric WF BizTalk orch. 9

Workflow Manager An overview

What is Workflow Manager? Design goals WF Resources HTTP & HTTPS ➔ ➔ ➔ ➔ ➔ Scale & Reliability Multi-tenancy .NET Client Cloud-based Messaging Turnkey WF4 Prog Model WF Backend (.EXE) WF Gateway (IIS) Activity Prog Model Activity Prog Model Core Runtime Service Bus

Hosting .NET workflows • • Async execution of a single workflow instance with bookmarks and tracking Explicit, fine-grained control of the WF runtime Host application integration WF-driven UI • Async execution of multiple workflow instances of a single definition Supports durable timers, persistence, tracking, WCF SOAP, correlation, etc. • • Systems integration Service-based architecture • • • Multi-tenant, scalable hosting of workflows Turnkey artifact management Supports durable timers, persistence, HTTP, pub/sub using Service Bus, etc. • WorkflowApplication Activity Prog Model Core Runtime • • • .NET 4+ -----------------------WF Manager Extensible SaaS applications Host Services WorkflowServiceHost Activity Prog Model Core Runtime Host Services Workflow Manager Activity Prog Model Core Runtime Host Services

Architecture

Deployment diagram 14

Workflow Manager Infrastructure IIS SQL One App Pool: WorkflowMgmtPool One site: Workflow Management Site Windows Services WorkflowService Backend ServiceBus Backend ServiceBus Gateway FabricHostSvc Workflow Databases • WFManagementDB • WFInstanceManagementDB • WFResourceManagementDB Service Bus Databases • SBManagementDB • SBGatewayDatabase • SBMessageContainerxx

Installing WF Manager ➔ Install ➔ ➔ ➔ Configure ➔ ➔ ➔ Using WEB Platform Installer (or download center) Supported on Windows Server 2012, Windows 8, Azure VMs Using configuration wizard or PowerShell Create / Join a Farm (high availability / scale-out) Supported back-ends ➔ ➔ SQL Server (Express + higher) & SQL Azure Service Bus 1.0 for Windows Server (not service!)

Testing & Debugging

Microsoft.Workflow.TestServiceHost ➔ ➔ Part of Workflow Manager Tools for Visual Studio (2012 only!) TestService (console app) ➔ ➔ ➔ ➔ Deploy & run workflows in it Attach Visual Studio to the process Update exe.config Some limitations 18

Multi-tenancy Through scopes & isolation

Scopes ➔ Workflow manager scope ➔ ➔ ➔ Dedicated service bus topic Gets created at deployment of first workflow “A scope is a named and securable container for Activities, Workflows, Instances, configuration and child Scopes.” Root Tenant01 HRM Sales Tenant02 Production TenantXX

Sandboxing Workflow Manager 1.0 Trusted Surface ➔ ➔ Set of trusted types & activities Fully declarative authoring ➔ ➔ Compositie custom activities possible Whitelisting custom activities possible ➔ ➔ AllowedTypes.xml (WFWebRootbin & Artifacts folder) Disable sandboxing • Set-WFServiceConfiguration –ServiceUri:https://server:12290 –Name:WorkflowServiceAllowUnsafeTypes -Value:true 21

Sandboxing Workflow Manager 1.0 Trusted Surface .NET Data Types • • • • • • • • • • String DateTime & TimeSpan Int32 & Double Boolean Guid ICollection & IList IDictionary & KeyValuePair DynamicValue Exception Uri WF Manager activities • • • • • Dynamic Value Http Activities Pub/Sub Activities Time Activities Configuration & External variables • Data Type functions System.Activities, except: • • • • InvokeMethod New Cast VisualBasicValue, VisualBasicReference • LambdaValue, LambdaRefernce • TransactionScope • Persist 22

Using complex data structures DynamicValues ➔ ➔ Recursive key-value pairs Address, using paths ➔ ➔ ➔ Customer/FirstName > John Company > Contoso Regions(2) > LA Name Value Customer Name FirstName LastName Value John Doe Age Contoso EU US LA 42 Company Regions 23

External communication Pub/Sub & Http activities

Http activities ➔ No ‘HttpReceive’ activities ➔ ➔ ➔ ➔ Use REST api or Pub/Sub activities or WorkflowClient Support for security tokens, REST services … 25

Pub/Sub activities Leveraging Service Bus Topics & Subscriptions Activities ➔ BuildMatchAllFilter activity > define filter ➔ Subscribe activity > create SB subscription behind the scenes ➔ ReceiveNotification ➔ ➔ ➔ ➔ With Filter > temporary subscription, deleted after 1st message Using SubscriptionHandle > subscription remains existing Unsubscribe (implicitly when subscriptionhandle out of scope) 26

Conclusions  BPMN support announced at BTS summit  SharePoint is biggest customer of Workflow Manager  Workflow manager is multi-tenant – cloud-ready platform  Look out for upcoming BPM features by the WABS team

Thank you! Keep in touch. Call or mail us. Ask questions. Happy to help. LinkedIn Twitter blog .codit.eu codit.eu Newsletter Pay us a visit

Add a comment

Related presentations

Related pages

Surgery Quality and Workflow Manager - Documents

Surgery Quality and Workflow Manager. SQWM Software Overview and Information Flow. Surgery Scheduling Overview.
Read more

20140211 bki corp_pres - Investor Relations - documents.mx

Share 20140211 bki corp_pres. ... President & CEO • • Former General Manager, ... 20140211 BTUG.be - Workflow Manager Comments.
Read more

Surgery Quality and Workflow Manager - Documents

Surgery Quality and Workflow Manager. Block Utilization Wizard. Learning Objectives. After instruction, ...
Read more

Surgery Quality and Workflow Manager - Documents

Surgery Quality and Workflow Manager. System Maintenance. Learning Objectives. After instruction, students will be able to complete the following tasks: ...
Read more

The Capone Workflow Manager - Documents

The Capone Workflow Manager M. Mambelli, University of Chicago R. Gardner, University of Chicago J. Gieraltowsky, ...
Read more

20131028 BTUG.be - BizTalk Deployment - Technology

20131028 BTUG.be - BizTalk Deployment Dec 14, 2014 Technology btugbe. System is processing data Please download to view 1
Read more

20131028 BTUG.be - BizTalk Tracking - Technology | bffn.ru

20131028 BTUG.be - BizTalk Tracking May 08, 2015 Technology btugbe. System is processing data Please download to view 1
Read more