advertisement

Workflow Manager - a technical overview (Sam Vanhoutte)

33 %
67 %
advertisement
Information about Workflow Manager - a technical overview (Sam Vanhoutte)
Technology

Published on February 15, 2014

Author: samvanhoutte

Source: slideshare.net

Description

Workflow manager was shipped together with Service Bus for Windows Server as part of the major SharePoint 2013 release. Microsoft workflow manager is built to host and manage workflows in a multi-tenant environment at a high scale, such as Windows Azure.

In this session, Sam will give an architectural overview of Workflow Manager and position it in various scenarios. It will also be compared WCF Workflow Services. The concepts of custom activities, deployment, management and workflow hierarchy will be explained. A cloud-based workflow solution will be demonstrated, showing integration between Windows Azure Service Bus, Workflow Manager, Windows Azure BizTalk Services and on premises systems.

After the session, attendees should be able to understand the capabilities of Workflow Manager and should have seen how to build distributed workflows in a scalable cloud environment.
advertisement

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

Presentación que realice en el Evento Nacional de Gobierno Abierto, realizado los ...

In this presentation we will describe our experience developing with a highly dyna...

Presentation to the LITA Forum 7th November 2014 Albuquerque, NM

Un recorrido por los cambios que nos generará el wearabletech en el futuro

Um paralelo entre as novidades & mercado em Wearable Computing e Tecnologias Assis...

Microsoft finally joins the smartwatch and fitness tracker game by introducing the...

Related pages

Workflow Manager - a technical overview (Sam Vanhoutte ...

Workflow manager was shipped together with Service Bus for Windows Server as part of the major SharePoint 2013 release. Microsoft workflow manager is built ...
Read more

Microsoft Workflow Manager : Page 1/10 : All-Searches.com

Microsoft Workflow Manager - Page 1/10 - All-Searches.com : ... 15/02/2014 · Workflow Manager - a technical overview (Sam Vanhoutte) ...
Read more

An Overview Of The Oslo Modeling Platform 2016 | News and ...

Workflow Manager - a technical overview (Sam Vanhoutte) ... a technical overview (Sam Vanhoutte) 1. Workflow Manager Running durable workflows in the cloud ...
Read more

20140211 BTUG.be - Workflow Manager - Technology

10. Workflow Manager An overview. 11. ... Workflow Manager - a technical overview (Sam Vanhoutte) Workflow Manager 1.0 SharePoint 2013 Workflows.
Read more

workflow manager 1.0 - Documents - docslide.us

File is regarding installation guideline for workflow manager 1.0. Docslide.us. Upload Login / Signup. Leadership; Technology; Education; Marketing; Design;
Read more

Running the workflow from code for ASP MVC · Issue #2 ...

@smartmeter Workflow Manager is quite a "heavy ... http://www.slideshare.net/samvanhoutte/workflow-manager-a-technical-overview-sam-vanhoutte ...
Read more

Sharepoint workflows + LS on Azure approaches?

... http://www.slideshare.net/samvanhoutte/workflow-manager-a-technical-overview-sam-vanhoutte. ... workflow designer is the thing ...
Read more