Robert Bogue
Shepherd@SharePointShepherd.com
(317) 572-5310
 Workflow Review
 Workflow Options
 2013 Features
 2013 Architecture
 2013 Authorization
 2013 Thinking
 Long Running
 Serializable
 Resumable
Out of the Box
•Web User Interface
•Configuration
•Minimal Changes
Declarative
workflows
•SharePoint Designer
•Customize
•...
 Activities – Basic
building block of
workflow
 Action – Activity
with sentence-
based wrapper for
SPD
 Visual Studio c...
 Stability (~1% of
workflows will fail)
 Manageability (No
APIs for reporting)
 Scalability (In web
process/timer job)
...
SharingContentEvents People
VisualStudio
SharePointDesigner
SharePoint
2010 WF
_API (REST OM)
Workflow Services Manager
Se...
Workflow BackendSharePoint
Task
s
Instances
_API 1
2
3
web/siteuserinfolist/items?$filter=id eq {0}
Site
User
s
web/lists(...

◦ Run as: initiator user
◦ Run as: publisher user (Impersonation Step)
◦ Specific for classic workflow

◦ Workflows hav...

◦ WF4.5 activities
 In .NET 4.5
 System.Activities
◦ Workflow Manager activities
 In Workflow Manager 1.0
 Microsoft...
DynamicValue and Dictionary (SPD)
DynamicValue was introduced with Workflow Manager
Microsoft.Activities.DynamicValue
Dyna...
Robert Bogue
Shepherd@SharePointShepherd.com
(317) 572-5310
RE-Introduction to Workflow
RE-Introduction to Workflow
RE-Introduction to Workflow
RE-Introduction to Workflow
RE-Introduction to Workflow
Upcoming SlideShare
Loading in...5
×

RE-Introduction to Workflow

222

Published on

SharePoint 2013 radically changed the workflow model from SharePoint 2010 with new strengths and new challenges. In this deck we cover some workflow basics and some of the changes.

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
222
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • Time: 2 minutesTalk about comparison to event receivers
  • Time: 5 MinutesBest Practice: Use the most cost effective option possibleWarning: Don’t migrate SPD to Visual Studio
  • Time: 2 minutesSandbox Actions
  • Transcript of "RE-Introduction to Workflow"

    1. 1. Robert Bogue Shepherd@SharePointShepherd.com (317) 572-5310
    2. 2.  Workflow Review  Workflow Options  2013 Features  2013 Architecture  2013 Authorization  2013 Thinking
    3. 3.  Long Running  Serializable  Resumable
    4. 4. Out of the Box •Web User Interface •Configuration •Minimal Changes Declarative workflows •SharePoint Designer •Customize •Extensive Changes / New Configurations Coded workflows •Visual Studio 2010/12 •Create •Unlimited Changes •Create Activities / Actions for use in other workflows IncreasingEffort, Flexibility,andDifficulty Use the least expensive option possible
    5. 5.  Activities – Basic building block of workflow  Action – Activity with sentence- based wrapper for SPD  Visual Studio can create custom activities/actions
    6. 6.  Stability (~1% of workflows will fail)  Manageability (No APIs for reporting)  Scalability (In web process/timer job)  Responsiveness (Min 1 minute resolution) www.sharepointcin
    7. 7. SharingContentEvents People VisualStudio SharePointDesigner SharePoint 2010 WF _API (REST OM) Workflow Services Manager Service Bus Instances Interop Deployment Messaging WF Service Application Proxy Workflow Manager OAuth Access Control WorkflowClient
    8. 8. Workflow BackendSharePoint Task s Instances _API 1 2 3 web/siteuserinfolist/items?$filter=id eq {0} Site User s web/lists(guid'{0}')/reservelistitemid web/lists(guid'{0}')/items • REST/OData message format • Retry on failure • Repeatable (idempotent) Create, Read, Update and Delete • Merge update with conflict resolution (HTTP ETag)  Classic SharePoint 2010 model for workflow consistency is to batch updates on idle/persist Service Bus
    9. 9.  ◦ Run as: initiator user ◦ Run as: publisher user (Impersonation Step) ◦ Specific for classic workflow  ◦ Workflows have identity (app principal) ◦ Default access scope: read/write to site (Web.Write) ◦ Run as: app & user ◦ Run as: app only (App Step)
    10. 10.  ◦ WF4.5 activities  In .NET 4.5  System.Activities ◦ Workflow Manager activities  In Workflow Manager 1.0  Microsoft.Activities ◦ SharePoint activities  Microsoft.SharePoint.WorkflowSer vices.Activities ◦ Project activities  Microsoft.Office.Project.Server.W orkflowActivities ◦ Custom activities
    11. 11. DynamicValue and Dictionary (SPD) DynamicValue was introduced with Workflow Manager Microsoft.Activities.DynamicValue DynamicValue allows you to create, store, and consume complex data structures Implements ICollection, IDictionary, IEnumerable Perfect match for JSON Dictionary is wrapper type in SharePoint Designer for DynamicValue Defined in workflow15.actions4
    12. 12. Robert Bogue Shepherd@SharePointShepherd.com (317) 572-5310

    ×