process (.exe, iis, …) activities activity library tooling vs designer custom designer rehosted...

25
Workflow & Workflow Manager 1.0: What’s New, What’s Coming Dave Cliffe Program Manager 2-033

Upload: maude-cook

Post on 18-Dec-2015

240 views

Category:

Documents


3 download

TRANSCRIPT

Workflow & Workflow Manager 1.0: What’s New, What’s ComingDave CliffeProgram Manager2-033

Vote for Freedom.Vote for Life.Vote Dave Cliffe.

Announcing … Dave Cliffe for President!

Paid for by the Friends of Dave Cliffe.

The ART of WorkflowWF in .NET 4.5Workflow Manager 1.0 for SharePoint 2013 & Office 365Workflow Roadmap

Agenda

The ART of Workflow

Declarative authoring of programs that coordinate work using: A ctivities R untime T ooling

Process (.exe, IIS, …)

Activities

Activity Library

Tooling

VS Designer Custom Designer

Rehosted Designer

Runtime

Workflow

Activity Programming Model

Core Runtime (WorkflowInstance)

Host Runtime & ServicesPersistence Tracking Timers

A Lap Around WF in .NET 4.5

Authoring ImprovementsBe more efficient when authoring your workflows

VersioningBasic building blocks to enable building a versioning story

Runtime EnhancementsImprove runtime performance and extensibility

C# Expressions, Designer Improvements,

State Machine,Contract-First

Workflow Identity, Side by Side

Versioning, Dynamic Update

VB Expressions Performance, Expressions Extensibility, Partial Trust

Improvements across

Activities, Runtime, and

Tooling

Demo: WF 4.5 Authoring Improvements

Versioning using WorkflowIdentity

WorkflowIdentity

Version Mismatc

h

Side-by-Side

Dynamic

Update

Associates an instance with its definitionRepresented by a Name + Version

Persisted and queryable as part of the instance stateEmitted as part of tracking events

Versioning ScenarioPHASED-IN BUSINESS PROCESS CHANGE

Mort

gag

e

Ap

plic

ati

on

Pro

cess

ReceiveApplication

ApproveApplication

IssueLoan

Mort

gag

e

Ap

plic

ati

on

Pro

cess

v2 Receive

Application

ApproveApplication

IssueLoan

VerifyIncome

Applications Started Before 12/31/2012

Applications Started After 1/1/2013

Instances View – Versioning

Mortgage Application

1.0.0.0

Instance Store

Instance 123 (1.0.0.0)

MortgageApplication

2.0.0.0

Instance 456 (2.0.0.0)

Dynamic

Update

Instance 123 (2.0.0.0)

Design-time

Runtime

WF 4.5 Performance

A Lap Around WF in .NET 4.5

Authoring ImprovementsBe more efficient when authoring your workflows

VersioningBasic building blocks to enable building a versioning story

Runtime EnhancementsImprove runtime performance and extensibility

C# Expressions, Designer Improvements,

State Machine,Contract-First

Workflow Identity, Side by Side

Versioning, Dynamic Update

VB Expressions Performance, Expressions Extensibility, Partial Trust

.NET 4.5 = In-place

Replacement

Your WF Apps just run better!

Where do we go next?

Patterns of WF Usage today

Cloud-based Services …

Workflow @Microsoft

SaaS ISVs

Design Goals

Scale & ReliabilityMulti-tenancyCloud-based MessagingTurnkeyWF4 Prog Model

What is Workflow Manager?

HTTP &HTTPS

WF

WF Backend(.EXE)

WF Gateway(IIS)

.NET ClientSB

Service Bus

WF Resources

Activity Prog Model

Core Runtime

Activity Prog Model

Hosting .NET Workflows .NET 4+------------------------WF Manager

• Host application integration

• WF-driven UI

• Systems integration• Service-based

architecture

• Async execution of a single workflow instance with bookmarks and tracking

• Explicit, fine-grained control of the WF runtime

• Async execution of multiple workflow instances of a single definition

• Supports durable timers, persistence, tracking, WCF SOAP, correlation, etc.

WorkflowApplicationActivity Prog Model

Core Runtime

Host Services

WorkflowServiceHostActivity Prog Model

Core Runtime

Host Services

• Extensible SaaS applications

• Multi-tenant, scalable hosting of workflows

• Turnkey artifact management• Supports durable timers, persistence,

HTTP, pub/sub using Service Bus, etc.

Workflow ManagerActivity Prog Model

Core Runtime

Host Services

SharePoint 2013 Workflows

SharePointWorkflowAuthoring

SharePoint Designer

WFSharePoint WorkflowWFVisual

Studio

Office 365-----

SharePoint Server

Windows Azure Workflow-----

Workflow Manager

HTTP / OData

Building and extending SharePoint Workflows using Visual Studio 2012

Demo: SharePoint 2013 Workflow

Getting Started with Workflow Manager 1.01. Install• Using WebPI or Download Center• Works great on Windows Server 2012, Windows Azure

VMs!

2. Configure• Using Workflow Manager Configuration Wizard or

PowerShell• Create/Join a Farm for high availability & scale out

X. Read, Run, & Respond• Documentation available on MSDN• Code samples available on Code Gallery• MSDN Forum ready for use

Interacting with Workflow Manager

Note: this is a meta-Workflow

Using the .NET Client API and Re-hosted Designer application

Demo: Workflow Manager 1.0

Workflow Roadmap

Interested in joining a TAP? Contact us!

.NET 4.5 & VS 2012 (Last Month)

Workflow Manager 1.0 (Last Week)

.NET 4.5 in Windows Azure GuestOS(NOW AVAILABLE)

SharePoint 2013 RTM (Soon)

Additional Workflow Manager Investments(Coming)

Workflow: a work of ARTWF in .NET 4.5 availableWorkflow Manager 1.0 availableMore investments coming!

Vote Dave Cliffe for President!

Summary

Related Sessions

Building end-to-end apps for SharePoint with Windows Azure and Windows 8 (Rob Howard, Donovan Follette)

Developing an app for SharePoint autohosted in Windows Azure Web Sites with an autoprovisioned Windows Azure SQL Database (Maxim Lukiyanov, Thomas Mechelke)

Resources

Engage with us!

UserVoice: http://

bit.ly/wfuservoice WF Blog: http://blogs.msdn.com/workflowteam

Facebook: http://

www.facebook.com/groups/wf4advisors

Learn more!

Docs/Samples [keyword = WF 4.5 or Workflow Manager 1.0]: http://msdn.microsoft.com/ http://code.msdn.microsoft.com/

CodePlex: http://wf.codeplex.com/

• Follow us on Twitter @WindowsAzure

• Get Started: www.windowsazure.com/build

Resources

Please submit session evals on the Build Windows 8 App or at http://aka.ms/BuildSessions

© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.