Windows Azure Workflows Manager services 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.
BizTalk Summit 2014, London March 03-04
Brought to you by BizTalk360
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
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
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
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
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)
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
Notas do Editor
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
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:
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: