SlideShare a Scribd company logo
1 of 32
brought to you by
Windows Azure Workflows,
a prediction
SAM VANHOUTTE
Nice to meet you
SamVANHOUTTE
CTO
6 year - BizTalkV-TSP
1st year - Integration MVP
sam.vanhoutte@codit.eu
+32 474 849 993
@SamVanhoutte
be.linkedin.com/in/samvanhoutte/
> 60 Active integration customers
International Focus -
HQ in BEFocused on integration solutions
2000 Belgium
2004 France
2013 Portugal
60 employees
> 50 consultants BizTalk certifiede-news + SoMe
2012 & 2013
Partner of the Year
Award Finalist
Application Integration
Agenda
• Microsoft & Workflow – a long history
• Workflow designer, activities
• Workflow Manager
• Architecture
• Multi-tenancy & isolation
• Pub / sub
• State machines
• Conclusions & future
Microsoft & Workflow
A bit of history
Workflow history
Oslo
Repository,
M, Quadrant
AppFabric
WCFWorkflow
Services
Azure
Workflow
Service Bus &
SharePoint
2004 > 2007 - 2010 2010 > 2013 >
BizTalk Server
XLANG/s
Modeling
The ART of Workflow*
* Copyright : Dave Cliffe : Program ManagerWorkflow
➔ Declarative authoring of
programs that coordinate
work, using:
➔ Activities
➔ Runtime
➔ Tooling
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
Scenario
AppFabricWorkflows & BizTalk
8
AppFabric WF
BizTalk orch.
Sentinet
Get
Create
Workflow Manager
An overview
Workflow Manager
10
Design goals
➔ Multi-tenancy
➔ High-density
➔ Isolation & security
➔ Biggest customer ?
Z-Hotel
What is Workflow Manager?
➔ Scale & Reliability
➔ Multi-tenancy
➔ Cloud-based Messaging
➔ WF4 Prog Model
HTTP &
HTTPS
WF Backend
(.EXE)
WF Gateway
(IIS)
.NET Client
Service Bus
WF Resources
Activity Prog Model
Core Runtime
Activity Prog Model
Architecture
Deployment diagram
13
Workflow Manager Infrastructure
IIS
One App Pool:
WorkflowMgmtPool
One site:
Workflow Management Site
Windows Services
WorkflowService Backend
ServiceBus Backend
ServiceBus Gateway
FabricHostSvc
SQL
Workflow Databases
• WFManagementDB
• WFInstanceManagementDB
• WFResourceManagementDB
Service Bus Databases
• SBManagementDB
• SBGatewayDatabase
• SBMessageContainerxx
Installing WF Manager
➔ Install
➔ UsingWEB Platform Installer (or download center)
➔ Supported on Windows Server 2012, Windows 8, AzureVMs
➔ Configure
➔ 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 forWindows Server (not service!)
Testing & Debugging
Microsoft.Workflow.TestServiceHost
17
➔ Part ofWorkflow ManagerTools forVisual Studio (2012 only!)
➔ TestService (console app)
➔ Deploy & run workflows in it
➔ AttachVisual Studio to the process
➔ Update exe.config
➔ Some limitations
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
20
Workflow Manager 1.0Trusted 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
Sandboxing
.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
21
Workflow Manager 1.0Trusted Surface
Using complex data structures
➔ Recursive key-value pairs
➔ Address, using paths
➔ Customer/FirstName > John
➔ Company > Contoso
➔ Regions(2) > LA
22
DynamicValues
Name Value
Customer Name Value
FirstName John
LastName Doe
Age 42
Company Contoso
Regions EU
US
LA
External communication
Pub/Sub & Http activities
Http activities
24
➔ No ‘HttpReceive’ activities
➔ Use REST api
➔ or Pub/Sub activities
➔ or WorkflowClient
➔ Support for security tokens, REST services …
Pub/Sub activities
25
➔ Leveraging Service BusTopics & 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)
Demo 01
Pub / Sub & Http activities
Integration withWABS
26
27
Fancy
Order App
Order Process
Workflow Manager
BizTalk Services
Order Web API
On prem SQL databaseFTP Server
EDIFACT DESADV
ON COMPLETE
ADAPTER SERVICE
Demo 02
State machines
Twilio phone call orchestrated byWF Manager
28
Twilio phone call state machine
29
Twilio API
Flight call
State machine
Flight check Web API
Service bus topic
Tracking subscriptionPhone logger service
Phone front end
SignalR
SvcBus
Message
Pump
Level 3
Level 2
Level 1 Welcome
message
1. Check in
1. With
luggage
2. Without
luggage
2. Upgrade
flight
1. To
business
2. To 1st
class
Cancel
flight
1. Confirm 2. Leave
Contest : call <removed> (toll free)
Conclusions
 Workflow manager is multi-tenant &
cloud-ready platform
 Look out for upcoming BPM features by
theWABS team
 BPMN Support announced
Thank you!
Keep in touch.
LinkedIn
blog
.codit.eu codit.eu Newsletter
@Sam
Vanhoutte
Pay us
a visit

More Related Content

What's hot

20140211 BTUG.be - Workflow Manager
20140211 BTUG.be - Workflow Manager20140211 BTUG.be - Workflow Manager
20140211 BTUG.be - Workflow Manager
BTUGbe
 

What's hot (20)

O365Con18 - Automate your Tasks through Azure Functions - Elio Struyf
O365Con18 - Automate your Tasks through Azure Functions - Elio StruyfO365Con18 - Automate your Tasks through Azure Functions - Elio Struyf
O365Con18 - Automate your Tasks through Azure Functions - Elio Struyf
 
Serverless Application Development with Azure
Serverless Application Development with AzureServerless Application Development with Azure
Serverless Application Development with Azure
 
20140211 BTUG.be - Workflow Manager
20140211 BTUG.be - Workflow Manager20140211 BTUG.be - Workflow Manager
20140211 BTUG.be - Workflow Manager
 
Azure PaaS (WebApp & SQL Database) workshop solution
Azure PaaS (WebApp & SQL Database) workshop solutionAzure PaaS (WebApp & SQL Database) workshop solution
Azure PaaS (WebApp & SQL Database) workshop solution
 
Introduction to Azure Functions
Introduction to Azure FunctionsIntroduction to Azure Functions
Introduction to Azure Functions
 
DEVELOPING SHAREPOINT FRAMEWORK SOLUTIONS FOR THE ENTERPRISE
DEVELOPING SHAREPOINT FRAMEWORK SOLUTIONS FOR THE ENTERPRISEDEVELOPING SHAREPOINT FRAMEWORK SOLUTIONS FOR THE ENTERPRISE
DEVELOPING SHAREPOINT FRAMEWORK SOLUTIONS FOR THE ENTERPRISE
 
Understanding SharePoint Framework Extensions
Understanding SharePoint Framework ExtensionsUnderstanding SharePoint Framework Extensions
Understanding SharePoint Framework Extensions
 
Infrastructure as Code
Infrastructure as CodeInfrastructure as Code
Infrastructure as Code
 
Inside Logic Apps
Inside Logic AppsInside Logic Apps
Inside Logic Apps
 
SPS calgary 2017 introduction to azure functions microsoft flow
SPS calgary 2017 introduction to azure functions microsoft flowSPS calgary 2017 introduction to azure functions microsoft flow
SPS calgary 2017 introduction to azure functions microsoft flow
 
ECS19 - Thomas Vochten - ESSENTIAL DATABASE ADMINISTRATION SKILLS FOR SHAREPO...
ECS19 - Thomas Vochten - ESSENTIAL DATABASE ADMINISTRATION SKILLS FOR SHAREPO...ECS19 - Thomas Vochten - ESSENTIAL DATABASE ADMINISTRATION SKILLS FOR SHAREPO...
ECS19 - Thomas Vochten - ESSENTIAL DATABASE ADMINISTRATION SKILLS FOR SHAREPO...
 
Azure Functions VS AWS Lambda: overview and comparison
Azure Functions VS AWS Lambda: overview and comparisonAzure Functions VS AWS Lambda: overview and comparison
Azure Functions VS AWS Lambda: overview and comparison
 
Developing scalable enterprise serverless applications on azure with .net
Developing scalable enterprise serverless applications on azure with .netDeveloping scalable enterprise serverless applications on azure with .net
Developing scalable enterprise serverless applications on azure with .net
 
ECS19 - Nik Charlebois - Automate the Deployment & Monitoring of SharePoint w...
ECS19 - Nik Charlebois - Automate the Deployment & Monitoring of SharePoint w...ECS19 - Nik Charlebois - Automate the Deployment & Monitoring of SharePoint w...
ECS19 - Nik Charlebois - Automate the Deployment & Monitoring of SharePoint w...
 
O365 Sydney - Hybrid Dev
O365 Sydney - Hybrid DevO365 Sydney - Hybrid Dev
O365 Sydney - Hybrid Dev
 
I2 - SharePoint Hybrid Search Start to Finish - Thomas Vochten
I2 - SharePoint Hybrid Search Start to Finish - Thomas VochtenI2 - SharePoint Hybrid Search Start to Finish - Thomas Vochten
I2 - SharePoint Hybrid Search Start to Finish - Thomas Vochten
 
2 Speed IT powered by Microsoft Azure and Minecraft
2 Speed IT powered by Microsoft Azure and Minecraft2 Speed IT powered by Microsoft Azure and Minecraft
2 Speed IT powered by Microsoft Azure and Minecraft
 
O365Con18 - PowerApps build custom forms for SharePoint with Azure Maps - Bra...
O365Con18 - PowerApps build custom forms for SharePoint with Azure Maps - Bra...O365Con18 - PowerApps build custom forms for SharePoint with Azure Maps - Bra...
O365Con18 - PowerApps build custom forms for SharePoint with Azure Maps - Bra...
 
I5 - Bring yourself up to speed with power shell
I5 -  Bring yourself up to speed with power shellI5 -  Bring yourself up to speed with power shell
I5 - Bring yourself up to speed with power shell
 
Docker in Production: How RightScale Delivers Cloud Applications
Docker in Production: How RightScale Delivers Cloud ApplicationsDocker in Production: How RightScale Delivers Cloud Applications
Docker in Production: How RightScale Delivers Cloud Applications
 

Viewers also liked

Viewers also liked (11)

Workflow Manager - a technical overview (Sam Vanhoutte)
Workflow Manager - a technical overview (Sam Vanhoutte)Workflow Manager - a technical overview (Sam Vanhoutte)
Workflow Manager - a technical overview (Sam Vanhoutte)
 
Windows Workflow Foundation
Windows Workflow FoundationWindows Workflow Foundation
Windows Workflow Foundation
 
Distributed systems witth Service Bus and Workflow Manager
Distributed systems witth Service Bus and Workflow ManagerDistributed systems witth Service Bus and Workflow Manager
Distributed systems witth Service Bus and Workflow Manager
 
Workflow Foundation 4.5
Workflow Foundation 4.5Workflow Foundation 4.5
Workflow Foundation 4.5
 
Windows Workflow Foundation 4
Windows Workflow Foundation 4Windows Workflow Foundation 4
Windows Workflow Foundation 4
 
Applying reference models with archi mate
Applying reference models with archi mateApplying reference models with archi mate
Applying reference models with archi mate
 
C# Advanced L10-Workflow Foundation
C# Advanced L10-Workflow FoundationC# Advanced L10-Workflow Foundation
C# Advanced L10-Workflow Foundation
 
.Net Microservices with Event Sourcing, CQRS, Docker and... Windows Server 20...
.Net Microservices with Event Sourcing, CQRS, Docker and... Windows Server 20....Net Microservices with Event Sourcing, CQRS, Docker and... Windows Server 20...
.Net Microservices with Event Sourcing, CQRS, Docker and... Windows Server 20...
 
Advanced Office365 Sharepoint online Workflows
Advanced Office365 Sharepoint online WorkflowsAdvanced Office365 Sharepoint online Workflows
Advanced Office365 Sharepoint online Workflows
 
分散ワークフローエンジン『Digdag』の実装 at Tokyo RubyKaigi #11
分散ワークフローエンジン『Digdag』の実装 at Tokyo RubyKaigi #11分散ワークフローエンジン『Digdag』の実装 at Tokyo RubyKaigi #11
分散ワークフローエンジン『Digdag』の実装 at Tokyo RubyKaigi #11
 
Real-Time Event & Stream Processing on MS Azure
Real-Time Event & Stream Processing on MS AzureReal-Time Event & Stream Processing on MS Azure
Real-Time Event & Stream Processing on MS Azure
 

Similar to Windows Azure Workflows Manager - Running Durable Workflows in the Cloud and on Prem

FEDSPUG April 2014: Visual Studio 2013 for Application Lifecycle Management &...
FEDSPUG April 2014: Visual Studio 2013 for Application Lifecycle Management &...FEDSPUG April 2014: Visual Studio 2013 for Application Lifecycle Management &...
FEDSPUG April 2014: Visual Studio 2013 for Application Lifecycle Management &...
WSPDC & FEDSPUG
 
Introduction to Microsoft Flow and Azure Functions
Introduction to Microsoft Flow and Azure FunctionsIntroduction to Microsoft Flow and Azure Functions
Introduction to Microsoft Flow and Azure Functions
BIWUG
 
Windows Azure & How to Deploy Wordress
Windows Azure & How to Deploy WordressWindows Azure & How to Deploy Wordress
Windows Azure & How to Deploy Wordress
George Kanellopoulos
 

Similar to Windows Azure Workflows Manager - Running Durable Workflows in the Cloud and on Prem (20)

Global Azure Bootcamp 2017 at Betabit Utrecht
Global Azure Bootcamp 2017 at Betabit UtrechtGlobal Azure Bootcamp 2017 at Betabit Utrecht
Global Azure Bootcamp 2017 at Betabit Utrecht
 
FEDSPUG April 2014: Visual Studio 2013 for Application Lifecycle Management &...
FEDSPUG April 2014: Visual Studio 2013 for Application Lifecycle Management &...FEDSPUG April 2014: Visual Studio 2013 for Application Lifecycle Management &...
FEDSPUG April 2014: Visual Studio 2013 for Application Lifecycle Management &...
 
#SPSBrussels 2017 vincent biret #azure #functions microsoft #flow
#SPSBrussels 2017 vincent biret #azure #functions microsoft #flow#SPSBrussels 2017 vincent biret #azure #functions microsoft #flow
#SPSBrussels 2017 vincent biret #azure #functions microsoft #flow
 
Introduction to Microsoft Flow and Azure Functions
Introduction to Microsoft Flow and Azure FunctionsIntroduction to Microsoft Flow and Azure Functions
Introduction to Microsoft Flow and Azure Functions
 
VMworld 2013: Part 1: Getting Started with vCenter Orchestrator
VMworld 2013: Part 1: Getting Started with vCenter Orchestrator VMworld 2013: Part 1: Getting Started with vCenter Orchestrator
VMworld 2013: Part 1: Getting Started with vCenter Orchestrator
 
.NET Cloud-Native Bootcamp
.NET Cloud-Native Bootcamp.NET Cloud-Native Bootcamp
.NET Cloud-Native Bootcamp
 
Webinar: Automating the Creation and Use of Virtual Testing Environments
Webinar: Automating the Creation and Use of Virtual Testing Environments Webinar: Automating the Creation and Use of Virtual Testing Environments
Webinar: Automating the Creation and Use of Virtual Testing Environments
 
Primavera integration possibilities Technical overview - Oracle Primavera Col...
Primavera integration possibilities Technical overview - Oracle Primavera Col...Primavera integration possibilities Technical overview - Oracle Primavera Col...
Primavera integration possibilities Technical overview - Oracle Primavera Col...
 
SPCA2013 - Windows Workflow Manager for the IT Pro
SPCA2013 - Windows Workflow Manager for the IT ProSPCA2013 - Windows Workflow Manager for the IT Pro
SPCA2013 - Windows Workflow Manager for the IT Pro
 
.NET Cloud-Native Bootcamp- Los Angeles
.NET Cloud-Native Bootcamp- Los Angeles.NET Cloud-Native Bootcamp- Los Angeles
.NET Cloud-Native Bootcamp- Los Angeles
 
Vincent biret azure functions and flow (ottawa)
Vincent biret azure functions and flow (ottawa)Vincent biret azure functions and flow (ottawa)
Vincent biret azure functions and flow (ottawa)
 
Vincent biret azure functions and flow (toronto)
Vincent biret azure functions and flow (toronto)Vincent biret azure functions and flow (toronto)
Vincent biret azure functions and flow (toronto)
 
Windows Azure & How to Deploy Wordress
Windows Azure & How to Deploy WordressWindows Azure & How to Deploy Wordress
Windows Azure & How to Deploy Wordress
 
DevOps on Windows: How to Deploy Complex Windows Workloads | AWS Public Secto...
DevOps on Windows: How to Deploy Complex Windows Workloads | AWS Public Secto...DevOps on Windows: How to Deploy Complex Windows Workloads | AWS Public Secto...
DevOps on Windows: How to Deploy Complex Windows Workloads | AWS Public Secto...
 
bfx and studio server - Bluebeam eXtreme Conference 2014
bfx and studio server - Bluebeam eXtreme Conference 2014bfx and studio server - Bluebeam eXtreme Conference 2014
bfx and studio server - Bluebeam eXtreme Conference 2014
 
Office Add-ins community call-March 2019
Office Add-ins community call-March 2019Office Add-ins community call-March 2019
Office Add-ins community call-March 2019
 
Pivotal Platform - December Release A First Look
Pivotal Platform - December Release A First LookPivotal Platform - December Release A First Look
Pivotal Platform - December Release A First Look
 
Cloud Foundry: Hands-on Deployment Workshop
Cloud Foundry: Hands-on Deployment WorkshopCloud Foundry: Hands-on Deployment Workshop
Cloud Foundry: Hands-on Deployment Workshop
 
Windows 2012 R2 Multi Server Management
Windows 2012 R2 Multi Server ManagementWindows 2012 R2 Multi Server Management
Windows 2012 R2 Multi Server Management
 
Introduction to Codenvy / JugSummerCamp 2014
Introduction to Codenvy / JugSummerCamp 2014Introduction to Codenvy / JugSummerCamp 2014
Introduction to Codenvy / JugSummerCamp 2014
 

More from BizTalk360

More from BizTalk360 (20)

Optimise Business Activity Tracking – Insights from Smurfit Kappa
Optimise Business Activity Tracking – Insights from Smurfit KappaOptimise Business Activity Tracking – Insights from Smurfit Kappa
Optimise Business Activity Tracking – Insights from Smurfit Kappa
 
Optimise Business Activity Tracking – Insights from Smurfit Kappa
Optimise Business Activity Tracking – Insights from Smurfit KappaOptimise Business Activity Tracking – Insights from Smurfit Kappa
Optimise Business Activity Tracking – Insights from Smurfit Kappa
 
What's inside "migrating to biz talk server 2020" Book (BizTalk360 Webinar)
What's inside "migrating to biz talk server 2020" Book (BizTalk360 Webinar)What's inside "migrating to biz talk server 2020" Book (BizTalk360 Webinar)
What's inside "migrating to biz talk server 2020" Book (BizTalk360 Webinar)
 
Integration Monday - Logic Apps: Development Experiences
Integration Monday - Logic Apps: Development ExperiencesIntegration Monday - Logic Apps: Development Experiences
Integration Monday - Logic Apps: Development Experiences
 
Integration Monday - BizTalk Migrator Deep Dive
Integration Monday - BizTalk Migrator Deep DiveIntegration Monday - BizTalk Migrator Deep Dive
Integration Monday - BizTalk Migrator Deep Dive
 
Testing for Logic App Solutions | Integration Monday
Testing for Logic App Solutions | Integration MondayTesting for Logic App Solutions | Integration Monday
Testing for Logic App Solutions | Integration Monday
 
No-Slides
No-SlidesNo-Slides
No-Slides
 
System Integration using Reactive Programming | Integration Monday
System Integration using Reactive Programming | Integration MondaySystem Integration using Reactive Programming | Integration Monday
System Integration using Reactive Programming | Integration Monday
 
Building workflow solution with Microsoft Azure and Cloud | Integration Monday
Building workflow solution with Microsoft Azure and Cloud | Integration MondayBuilding workflow solution with Microsoft Azure and Cloud | Integration Monday
Building workflow solution with Microsoft Azure and Cloud | Integration Monday
 
Serverless Minimalism: How to architect your apps to save 98% on your Azure b...
Serverless Minimalism: How to architect your apps to save 98% on your Azure b...Serverless Minimalism: How to architect your apps to save 98% on your Azure b...
Serverless Minimalism: How to architect your apps to save 98% on your Azure b...
 
Migrating BizTalk Solutions to Azure: Mapping Messages | Integration Monday
Migrating BizTalk Solutions to Azure: Mapping Messages | Integration MondayMigrating BizTalk Solutions to Azure: Mapping Messages | Integration Monday
Migrating BizTalk Solutions to Azure: Mapping Messages | Integration Monday
 
Integration-Monday-Infrastructure-As-Code-With-Terraform
Integration-Monday-Infrastructure-As-Code-With-TerraformIntegration-Monday-Infrastructure-As-Code-With-Terraform
Integration-Monday-Infrastructure-As-Code-With-Terraform
 
Integration-Monday-Stateful-Programming-Models-Serverless-Functions
Integration-Monday-Stateful-Programming-Models-Serverless-FunctionsIntegration-Monday-Stateful-Programming-Models-Serverless-Functions
Integration-Monday-Stateful-Programming-Models-Serverless-Functions
 
Integration-Monday-Serverless-Slackbots-with-Azure-Durable-Functions
Integration-Monday-Serverless-Slackbots-with-Azure-Durable-FunctionsIntegration-Monday-Serverless-Slackbots-with-Azure-Durable-Functions
Integration-Monday-Serverless-Slackbots-with-Azure-Durable-Functions
 
Integration-Monday-Building-Stateful-Workloads-Kubernetes
Integration-Monday-Building-Stateful-Workloads-KubernetesIntegration-Monday-Building-Stateful-Workloads-Kubernetes
Integration-Monday-Building-Stateful-Workloads-Kubernetes
 
Integration-Monday-Logic-Apps-Tips-Tricks
Integration-Monday-Logic-Apps-Tips-TricksIntegration-Monday-Logic-Apps-Tips-Tricks
Integration-Monday-Logic-Apps-Tips-Tricks
 
Integration-Monday-Terraform-Serverless
Integration-Monday-Terraform-ServerlessIntegration-Monday-Terraform-Serverless
Integration-Monday-Terraform-Serverless
 
Integration-Monday-Microsoft-Power-Platform
Integration-Monday-Microsoft-Power-PlatformIntegration-Monday-Microsoft-Power-Platform
Integration-Monday-Microsoft-Power-Platform
 
One name unify them all
One name unify them allOne name unify them all
One name unify them all
 
Securely Publishing Azure Services
Securely Publishing Azure ServicesSecurely Publishing Azure Services
Securely Publishing Azure Services
 

Recently uploaded

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Recently uploaded (20)

What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 

Windows Azure Workflows Manager - Running Durable Workflows in the Cloud and on Prem

  • 1. brought to you by Windows Azure Workflows, a prediction SAM VANHOUTTE
  • 2. Nice to meet you SamVANHOUTTE CTO 6 year - BizTalkV-TSP 1st year - Integration MVP sam.vanhoutte@codit.eu +32 474 849 993 @SamVanhoutte be.linkedin.com/in/samvanhoutte/ > 60 Active integration customers International Focus - HQ in BEFocused on integration solutions 2000 Belgium 2004 France 2013 Portugal 60 employees > 50 consultants BizTalk certifiede-news + SoMe 2012 & 2013 Partner of the Year Award Finalist Application Integration
  • 3. Agenda • Microsoft & Workflow – a long history • Workflow designer, activities • Workflow Manager • Architecture • Multi-tenancy & isolation • Pub / sub • State machines • Conclusions & future
  • 4. Microsoft & Workflow A bit of history
  • 5. Workflow history Oslo Repository, M, Quadrant AppFabric WCFWorkflow Services Azure Workflow Service Bus & SharePoint 2004 > 2007 - 2010 2010 > 2013 > BizTalk Server XLANG/s Modeling
  • 6. The ART of Workflow* * Copyright : Dave Cliffe : Program ManagerWorkflow ➔ Declarative authoring of programs that coordinate work, using: ➔ Activities ➔ Runtime ➔ Tooling
  • 7. 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
  • 8. Scenario AppFabricWorkflows & BizTalk 8 AppFabric WF BizTalk orch. Sentinet Get Create
  • 10. Workflow Manager 10 Design goals ➔ Multi-tenancy ➔ High-density ➔ Isolation & security ➔ Biggest customer ? Z-Hotel
  • 11. What is Workflow Manager? ➔ Scale & Reliability ➔ Multi-tenancy ➔ Cloud-based Messaging ➔ WF4 Prog Model HTTP & HTTPS WF Backend (.EXE) WF Gateway (IIS) .NET Client Service Bus WF Resources Activity Prog Model Core Runtime Activity Prog Model
  • 14. Workflow Manager Infrastructure IIS One App Pool: WorkflowMgmtPool One site: Workflow Management Site Windows Services WorkflowService Backend ServiceBus Backend ServiceBus Gateway FabricHostSvc SQL Workflow Databases • WFManagementDB • WFInstanceManagementDB • WFResourceManagementDB Service Bus Databases • SBManagementDB • SBGatewayDatabase • SBMessageContainerxx
  • 15. Installing WF Manager ➔ Install ➔ UsingWEB Platform Installer (or download center) ➔ Supported on Windows Server 2012, Windows 8, AzureVMs ➔ Configure ➔ 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 forWindows Server (not service!)
  • 17. Microsoft.Workflow.TestServiceHost 17 ➔ Part ofWorkflow ManagerTools forVisual Studio (2012 only!) ➔ TestService (console app) ➔ Deploy & run workflows in it ➔ AttachVisual Studio to the process ➔ Update exe.config ➔ Some limitations
  • 19. 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
  • 20. Sandboxing 20 Workflow Manager 1.0Trusted 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 .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 21 Workflow Manager 1.0Trusted Surface
  • 22. Using complex data structures ➔ Recursive key-value pairs ➔ Address, using paths ➔ Customer/FirstName > John ➔ Company > Contoso ➔ Regions(2) > LA 22 DynamicValues Name Value Customer Name Value FirstName John LastName Doe Age 42 Company Contoso Regions EU US LA
  • 24. Http activities 24 ➔ No ‘HttpReceive’ activities ➔ Use REST api ➔ or Pub/Sub activities ➔ or WorkflowClient ➔ Support for security tokens, REST services …
  • 25. Pub/Sub activities 25 ➔ Leveraging Service BusTopics & 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. Demo 01 Pub / Sub & Http activities Integration withWABS 26
  • 27. 27 Fancy Order App Order Process Workflow Manager BizTalk Services Order Web API On prem SQL databaseFTP Server EDIFACT DESADV ON COMPLETE ADAPTER SERVICE
  • 28. Demo 02 State machines Twilio phone call orchestrated byWF Manager 28
  • 29. Twilio phone call state machine 29 Twilio API Flight call State machine Flight check Web API Service bus topic Tracking subscriptionPhone logger service Phone front end SignalR SvcBus Message Pump
  • 30. Level 3 Level 2 Level 1 Welcome message 1. Check in 1. With luggage 2. Without luggage 2. Upgrade flight 1. To business 2. To 1st class Cancel flight 1. Confirm 2. Leave Contest : call <removed> (toll free)
  • 31. Conclusions  Workflow manager is multi-tenant & cloud-ready platform  Look out for upcoming BPM features by theWABS team  BPMN Support announced
  • 32. Thank you! Keep in touch. LinkedIn blog .codit.eu codit.eu Newsletter @Sam Vanhoutte Pay us a visit

Editor's Notes

  1. BizTalk Server XLANG since 2004 XLANG with Vision from 2000-2002 Oslo Modeling with Quadrant or M Repository contained all model Model is the execution Resulted in Odata, SQL Server Modeling
  2. [assembly: XmlnsDefinition("wf://workflow.windows.net/$Current/$Activities", "SearchMovieSample")]
  3. The Workflow farm consists of two components: the Workflow Manager and a service bus that facilitates the communication among components within the farm by using the Open Authentication (OAuth protocol). The service bus is a messaging platform that has been running in Azure for some time that now can run on on-premises servers. The Workflow Manager uses the service bus as its core state management and messaging layer. All communication between SharePoint and the Workflow Manager is message based using a well-defined contract for events and management operations happening from SharePoint into the Workflow Manager using a series of Representational State Transfer (REST) HTTP calls. Therefore, the service bus is used for reliable message delivery and a message broker that also keeps the message state and workflow instance state consistent. All communications with the workflow farm uses either the HTTP or HTTPS protocol. On servers within the workflow farm, within Internet Information Server (IIS) Manager, you will see one application pool, WorkflowMgmtPool, and one site, Workflow Management Site. A Workflow Manager server also contains the following four Windows NT services:
  4. All communications with the workflow farm uses either the HTTP or HTTPS protocol. On servers within the workflow farm, within Internet Information Server (IIS) Manager, you will see one application pool, WorkflowMgmtPool, and one site, Workflow Management Site. A Workflow Manager server also contains the following four Windows NT services:
  5. http://msdn.microsoft.com/en-us/library/windowsazure/jj193509(v=azure.10).aspx http://msdn.microsoft.com/en-us/library/jj193523(v=azure.10).aspx
  6. http://msdn.microsoft.com/en-us/library/windowsazure/jj193509(v=azure.10).aspx
  7. http://msdn.microsoft.com/en-us/library/windowsazure/jj193509(v=azure.10).aspx
  8. DEMO : USE THE DYNAMIC VALUE MESSAGE EVALUATOR Explanation: http://msdn.microsoft.com/en-us/library/windowsazure/jj193441(v=azure.10).aspx DynamicValue Path Evaluator Tool : http://code.msdn.microsoft.com/windowsdesktop/DynamicValue-Path-c84f9ade
  9. http://msdn.microsoft.com/en-us/library/windowsazure/jj193509(v=azure.10).aspx http://msdn.microsoft.com/en-us/library/jj193523(v=azure.10).aspx
  10. http://msdn.microsoft.com/en-us/library/windowsazure/jj193509(v=azure.10).aspx http://msdn.microsoft.com/en-us/library/jj193523(v=azure.10).aspx