SlideShare a Scribd company logo
malindesilva@live.com
Tips and Tricks for Building
Visual Studio Workflows
Malin De Silva
SharePoint Specialist
Exilesoft, Sri Lanka
Business 365 Saturday - Singapore
24th October 2015
About Me
Planning, Development and
administering experience since
SharePoint 2007.
Speaker at many forums and
conferences.
Blogger, StackExchange contributor
and a big Azure fan.
Agenda
• Introduction to Workflows
• Creating Visual Studio Workflows
• Using REST API References
• Working with Tasks
• Challenges and Best Practices
malindesilva@live.com
Who are we?
• Developers?
• Have built Workflows? (Designer or Visual Studio)
• Have built Visual Studio Workflows in 2013?
malindesilva@live.com
2010 vs 2013 Workflows
SharePoint 2010 SharePoint 2013
Coupled to SharePoint servers Decoupled (Other consuming platforms)
Declarative or Custom Code Declarative
SharePoint Foundation and SharePoint
Server
SharePoint Server
Content Types No
No Apps App Friendly
.Net framework used by SharePoint (.Net
3.51)
.Net Framework xxx
Workflow runs inside SharePoint Workflows run outside SharePoint
malindesilva@live.com
Designer 2013 vs Visual Studio
SharePoint Designer 2013 Visual Studio
Power Users, SharePoint Developers SharePoint Developers
Can use Visio Can’t
Cannot debug Can debug, including SharePoint Online
No ALM support Full ALM support
Cannot be a part of apps Can be a part of apps
malindesilva@live.com
Workflow Development and Debugging
Prerequisites
• SharePoint Farm
• Workflow Manager
Farm connected
• Visual Studio 2012 or
later
• Office Developer Tools
for Visual Studio 2013
malindesilva@live.com
DEVELOPMENT
On-premises
• Allow Workflow Manager Tools
to access through firewall
SharePoint Online
• May require installing a proxy
client
• Create Azure Service Bus
namespace
DEBUGGING
Demonstration
Creating Visual Studio Workflows and Defining Variables
REST API References
• Any technology supports standard REST capabilities
• Mapping with client object model
• Client object model method:
List.GetByTitle(listname)
• REST endpoint:
http://server/site/_api/lists/getbytitle('listname')
malindesilva@live.com
Operation HTTP Method (s)
Read a resource GET
Create a resource POST
Update a resource PUT, MERGE
Delete a resource DELETE
REST API Examples
Operation HTTP Type Example
Read lists in a web GET http://malin.sharepoint.com
/_api/lists
Creates a list POST http://malin.sharepoint.com
/_api/lists
{
'_metadata':{'type':SP.List},
'AllowContentTypes': true,
'BaseTemplate': 104,
'ContentTypesEnabled':
true,
'Description': 'My list
description',
'Title': 'RestTest'
}
malindesilva@live.com
Demonstration
Accessing current item and using REST API references
Working with Workflow Tasks
• Content type changes
• Task  Workflow Task (SharePoint 2013)
• Workflow Task content type has two new columns
• WorkfowInstanceId
• TaskOutcome
• Two types of tasks
• Single task
• Composite task
• Custom task forms
malindesilva@live.com
Demonstration
Working with Workflow Tasks
Custom Declarative Activities
• Richer market needs
• Repeatable design needs
• Develop and deploy to business market
• Use activities and actions
• .actions4 files
malindesilva@live.com
Workflow Best Practices
• Log as much as you can
• Scope workflow variables
• Ensure User when assigning tasks
• Design with failures in mind
malindesilva@live.com
Challenges We Faced
• Long running workflows
• HTTP 429 too many requests
malindesilva@live.com
Questions?
malindesilva@live.com
Thank You!
Malin De Silva
SharePoint Specialist
Exilesoft
mds@Exilesoft.com/ malindesilva@live.com
@MalinD19

More Related Content

What's hot

Building contextual experiences with the Office Graph
Building contextual experiences with the Office GraphBuilding contextual experiences with the Office Graph
Building contextual experiences with the Office Graph
Waldek Mastykarz
 
SPCA2013 - Apps, Apps, Apps
SPCA2013 - Apps, Apps, AppsSPCA2013 - Apps, Apps, Apps
SPCA2013 - Apps, Apps, Apps
NCCOMMS
 
Using Microsoft Flow for IT Professionals
Using Microsoft Flow for IT ProfessionalsUsing Microsoft Flow for IT Professionals
Using Microsoft Flow for IT Professionals
Jaap Brasser
 
Building solutions with the Office Graph (Unity Connect Amsterdam 2015)
Building solutions with the Office Graph (Unity Connect Amsterdam 2015)Building solutions with the Office Graph (Unity Connect Amsterdam 2015)
Building solutions with the Office Graph (Unity Connect Amsterdam 2015)
Waldek Mastykarz
 
Everybody loves Swagger
Everybody loves SwaggerEverybody loves Swagger
Everybody loves Swagger
BizTalk360
 
SPSNL17 - Getting started with SharePoint development for the reluctant IT Pr...
SPSNL17 - Getting started with SharePoint development for the reluctant IT Pr...SPSNL17 - Getting started with SharePoint development for the reluctant IT Pr...
SPSNL17 - Getting started with SharePoint development for the reluctant IT Pr...
DIWUG
 
SPSNL17 - Be more effective with the PnP Provisioning Engine - Erwin van Hunen
SPSNL17 - Be more effective with the PnP Provisioning Engine - Erwin van HunenSPSNL17 - Be more effective with the PnP Provisioning Engine - Erwin van Hunen
SPSNL17 - Be more effective with the PnP Provisioning Engine - Erwin van Hunen
DIWUG
 
ASP.NET - Ivan Marković
ASP.NET - Ivan MarkovićASP.NET - Ivan Marković
ASP.NET - Ivan Marković
Software StartUp Academy Osijek
 
Microsoft Flow and PowerShell combined to automate everything
Microsoft Flow and PowerShell combined to automate everythingMicrosoft Flow and PowerShell combined to automate everything
Microsoft Flow and PowerShell combined to automate everything
Jaap Brasser
 
Forge - DevCon 2016: Building Value-Added Integrations with Autodesk’s IoT APIs
Forge - DevCon 2016: Building Value-Added Integrations with Autodesk’s IoT APIsForge - DevCon 2016: Building Value-Added Integrations with Autodesk’s IoT APIs
Forge - DevCon 2016: Building Value-Added Integrations with Autodesk’s IoT APIs
Autodesk
 
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)
Vincent Biret
 
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
 
Serverless in Azure with Functions
Serverless in Azure with FunctionsServerless in Azure with Functions
Serverless in Azure with Functions
Christos Matskas
 
Logic Apps – Deployments
Logic Apps – DeploymentsLogic Apps – Deployments
Logic Apps – Deployments
BizTalk360
 
Serverless API with Azure Functions
Serverless API with Azure FunctionsServerless API with Azure Functions
Serverless API with Azure Functions
Analben Mehta
 
Discover Microsoft's Cloud Automation Suite
Discover Microsoft's Cloud Automation SuiteDiscover Microsoft's Cloud Automation Suite
Discover Microsoft's Cloud Automation Suite
Jaap Brasser
 
SharePoint Saturday Oslo - Introduction to Durable Functions in Azure
SharePoint Saturday Oslo - Introduction to Durable Functions in AzureSharePoint Saturday Oslo - Introduction to Durable Functions in Azure
SharePoint Saturday Oslo - Introduction to Durable Functions in Azure
David Opdendries
 
Understanding Azure Batch Service - Niloshima - CCDays
Understanding Azure Batch Service - Niloshima - CCDays Understanding Azure Batch Service - Niloshima - CCDays
Understanding Azure Batch Service - Niloshima - CCDays
CodeOps Technologies LLP
 
SPS Paris: Building great client-side web parts with spfx, pnp-js-core, React...
SPS Paris: Building great client-side web parts with spfx, pnp-js-core, React...SPS Paris: Building great client-side web parts with spfx, pnp-js-core, React...
SPS Paris: Building great client-side web parts with spfx, pnp-js-core, React...
Bill Ayers
 
Appcelerator Alloy Deep Dive - tiTokyo 2013
Appcelerator Alloy Deep Dive - tiTokyo 2013Appcelerator Alloy Deep Dive - tiTokyo 2013
Appcelerator Alloy Deep Dive - tiTokyo 2013Ricardo Alcocer
 

What's hot (20)

Building contextual experiences with the Office Graph
Building contextual experiences with the Office GraphBuilding contextual experiences with the Office Graph
Building contextual experiences with the Office Graph
 
SPCA2013 - Apps, Apps, Apps
SPCA2013 - Apps, Apps, AppsSPCA2013 - Apps, Apps, Apps
SPCA2013 - Apps, Apps, Apps
 
Using Microsoft Flow for IT Professionals
Using Microsoft Flow for IT ProfessionalsUsing Microsoft Flow for IT Professionals
Using Microsoft Flow for IT Professionals
 
Building solutions with the Office Graph (Unity Connect Amsterdam 2015)
Building solutions with the Office Graph (Unity Connect Amsterdam 2015)Building solutions with the Office Graph (Unity Connect Amsterdam 2015)
Building solutions with the Office Graph (Unity Connect Amsterdam 2015)
 
Everybody loves Swagger
Everybody loves SwaggerEverybody loves Swagger
Everybody loves Swagger
 
SPSNL17 - Getting started with SharePoint development for the reluctant IT Pr...
SPSNL17 - Getting started with SharePoint development for the reluctant IT Pr...SPSNL17 - Getting started with SharePoint development for the reluctant IT Pr...
SPSNL17 - Getting started with SharePoint development for the reluctant IT Pr...
 
SPSNL17 - Be more effective with the PnP Provisioning Engine - Erwin van Hunen
SPSNL17 - Be more effective with the PnP Provisioning Engine - Erwin van HunenSPSNL17 - Be more effective with the PnP Provisioning Engine - Erwin van Hunen
SPSNL17 - Be more effective with the PnP Provisioning Engine - Erwin van Hunen
 
ASP.NET - Ivan Marković
ASP.NET - Ivan MarkovićASP.NET - Ivan Marković
ASP.NET - Ivan Marković
 
Microsoft Flow and PowerShell combined to automate everything
Microsoft Flow and PowerShell combined to automate everythingMicrosoft Flow and PowerShell combined to automate everything
Microsoft Flow and PowerShell combined to automate everything
 
Forge - DevCon 2016: Building Value-Added Integrations with Autodesk’s IoT APIs
Forge - DevCon 2016: Building Value-Added Integrations with Autodesk’s IoT APIsForge - DevCon 2016: Building Value-Added Integrations with Autodesk’s IoT APIs
Forge - DevCon 2016: Building Value-Added Integrations with Autodesk’s IoT APIs
 
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)
 
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)
 
Serverless in Azure with Functions
Serverless in Azure with FunctionsServerless in Azure with Functions
Serverless in Azure with Functions
 
Logic Apps – Deployments
Logic Apps – DeploymentsLogic Apps – Deployments
Logic Apps – Deployments
 
Serverless API with Azure Functions
Serverless API with Azure FunctionsServerless API with Azure Functions
Serverless API with Azure Functions
 
Discover Microsoft's Cloud Automation Suite
Discover Microsoft's Cloud Automation SuiteDiscover Microsoft's Cloud Automation Suite
Discover Microsoft's Cloud Automation Suite
 
SharePoint Saturday Oslo - Introduction to Durable Functions in Azure
SharePoint Saturday Oslo - Introduction to Durable Functions in AzureSharePoint Saturday Oslo - Introduction to Durable Functions in Azure
SharePoint Saturday Oslo - Introduction to Durable Functions in Azure
 
Understanding Azure Batch Service - Niloshima - CCDays
Understanding Azure Batch Service - Niloshima - CCDays Understanding Azure Batch Service - Niloshima - CCDays
Understanding Azure Batch Service - Niloshima - CCDays
 
SPS Paris: Building great client-side web parts with spfx, pnp-js-core, React...
SPS Paris: Building great client-side web parts with spfx, pnp-js-core, React...SPS Paris: Building great client-side web parts with spfx, pnp-js-core, React...
SPS Paris: Building great client-side web parts with spfx, pnp-js-core, React...
 
Appcelerator Alloy Deep Dive - tiTokyo 2013
Appcelerator Alloy Deep Dive - tiTokyo 2013Appcelerator Alloy Deep Dive - tiTokyo 2013
Appcelerator Alloy Deep Dive - tiTokyo 2013
 

Viewers also liked

Vogue by niamh and meg
Vogue by niamh and megVogue by niamh and meg
Vogue by niamh and meg
Louise Reed
 
Mobile device management
Mobile device managementMobile device management
Mobile device management
Malin De Silva
 
Myths, Open Source &
Myths, Open Source &Myths, Open Source &
Myths, Open Source &RedpillLinpro
 
WordPress is at the core of the advertising revolution — but it’s not perfect
WordPress is at the core of the advertising revolution — but it’s not perfectWordPress is at the core of the advertising revolution — but it’s not perfect
WordPress is at the core of the advertising revolution — but it’s not perfect
Oleksandr Strikha
 
Version Control in TFS 2013: GIT - 2013 Application Lifecycle Management Event
Version Control in TFS 2013: GIT - 2013 Application Lifecycle Management EventVersion Control in TFS 2013: GIT - 2013 Application Lifecycle Management Event
Version Control in TFS 2013: GIT - 2013 Application Lifecycle Management Event
Delta-N
 
Huomioita sote- ja maakuntauudistus -lakipaketista tietohallinnon,tiedonhalli...
Huomioita sote- ja maakuntauudistus -lakipaketista tietohallinnon,tiedonhalli...Huomioita sote- ja maakuntauudistus -lakipaketista tietohallinnon,tiedonhalli...
Huomioita sote- ja maakuntauudistus -lakipaketista tietohallinnon,tiedonhalli...
AKUSTI - tietohallintoyhteistyöfoorumi
 
WordPress Security for Beginners
WordPress Security for BeginnersWordPress Security for Beginners
WordPress Security for Beginners
Adam W. Warner
 
Barang-barang yang diperdagangkan antarnegara di kawasan Asia Tenggara
Barang-barang yang diperdagangkan antarnegara di kawasan Asia TenggaraBarang-barang yang diperdagangkan antarnegara di kawasan Asia Tenggara
Barang-barang yang diperdagangkan antarnegara di kawasan Asia Tenggara
fadillah amini
 
Vogue may_2016
Vogue may_2016Vogue may_2016
Vogue may_2016
PrivetOUTLET
 
Suchst du noch? Oder findest du schon?
Suchst du noch? Oder findest du schon?Suchst du noch? Oder findest du schon?
Suchst du noch? Oder findest du schon?
frankstaude
 
La katana josmary patiño
La katana   josmary patiñoLa katana   josmary patiño
La katana josmary patiño
josmary patiño
 
What Really Matters in WordPress SEO
What Really Matters in WordPress SEOWhat Really Matters in WordPress SEO
What Really Matters in WordPress SEO
Rebecca Gill
 
What Really Matters in Technical SEO
What Really Matters in Technical SEOWhat Really Matters in Technical SEO
What Really Matters in Technical SEO
Rebecca Gill
 

Viewers also liked (14)

Vogue by niamh and meg
Vogue by niamh and megVogue by niamh and meg
Vogue by niamh and meg
 
Mobile device management
Mobile device managementMobile device management
Mobile device management
 
Myths, Open Source &
Myths, Open Source &Myths, Open Source &
Myths, Open Source &
 
WordPress is at the core of the advertising revolution — but it’s not perfect
WordPress is at the core of the advertising revolution — but it’s not perfectWordPress is at the core of the advertising revolution — but it’s not perfect
WordPress is at the core of the advertising revolution — but it’s not perfect
 
Version Control in TFS 2013: GIT - 2013 Application Lifecycle Management Event
Version Control in TFS 2013: GIT - 2013 Application Lifecycle Management EventVersion Control in TFS 2013: GIT - 2013 Application Lifecycle Management Event
Version Control in TFS 2013: GIT - 2013 Application Lifecycle Management Event
 
Huomioita sote- ja maakuntauudistus -lakipaketista tietohallinnon,tiedonhalli...
Huomioita sote- ja maakuntauudistus -lakipaketista tietohallinnon,tiedonhalli...Huomioita sote- ja maakuntauudistus -lakipaketista tietohallinnon,tiedonhalli...
Huomioita sote- ja maakuntauudistus -lakipaketista tietohallinnon,tiedonhalli...
 
WordPress Security for Beginners
WordPress Security for BeginnersWordPress Security for Beginners
WordPress Security for Beginners
 
Barang-barang yang diperdagangkan antarnegara di kawasan Asia Tenggara
Barang-barang yang diperdagangkan antarnegara di kawasan Asia TenggaraBarang-barang yang diperdagangkan antarnegara di kawasan Asia Tenggara
Barang-barang yang diperdagangkan antarnegara di kawasan Asia Tenggara
 
Vogue may_2016
Vogue may_2016Vogue may_2016
Vogue may_2016
 
Suchst du noch? Oder findest du schon?
Suchst du noch? Oder findest du schon?Suchst du noch? Oder findest du schon?
Suchst du noch? Oder findest du schon?
 
La katana josmary patiño
La katana   josmary patiñoLa katana   josmary patiño
La katana josmary patiño
 
O1.04
O1.04O1.04
O1.04
 
What Really Matters in WordPress SEO
What Really Matters in WordPress SEOWhat Really Matters in WordPress SEO
What Really Matters in WordPress SEO
 
What Really Matters in Technical SEO
What Really Matters in Technical SEOWhat Really Matters in Technical SEO
What Really Matters in Technical SEO
 

Similar to Tips and Tricks for Building Visual Studio Workflows

SharePoint 2013 REST APIs
SharePoint 2013 REST APIsSharePoint 2013 REST APIs
SharePoint 2013 REST APIs
Giuseppe Marchi
 
So You Want to Be a SharePoint Developer - SPS Utah 2015
So You Want to Be a SharePoint Developer - SPS Utah 2015So You Want to Be a SharePoint Developer - SPS Utah 2015
So You Want to Be a SharePoint Developer - SPS Utah 2015
Ryan Schouten
 
So You Want To Be A SharePoint Developer-SPS Silicon Valley 2015
So You Want To Be A SharePoint Developer-SPS Silicon Valley 2015So You Want To Be A SharePoint Developer-SPS Silicon Valley 2015
So You Want To Be A SharePoint Developer-SPS Silicon Valley 2015
Ryan Schouten
 
SPTechCon 2014 How to develop and debug client side code in SharePoint
SPTechCon 2014 How to develop and debug client side code in SharePointSPTechCon 2014 How to develop and debug client side code in SharePoint
SPTechCon 2014 How to develop and debug client side code in SharePoint
Mark Rackley
 
Sinergija2012 - Developing REST API for Windows Azure with ASP.NET Web API
Sinergija2012 - Developing REST API for Windows Azure with ASP.NET Web APISinergija2012 - Developing REST API for Windows Azure with ASP.NET Web API
Sinergija2012 - Developing REST API for Windows Azure with ASP.NET Web APIRadenko Zec
 
Azure Resource Manager templates: Improve deployment time and reusability
Azure Resource Manager templates: Improve deployment time and reusabilityAzure Resource Manager templates: Improve deployment time and reusability
Azure Resource Manager templates: Improve deployment time and reusability
Stephane Lapointe
 
SharePoint 2010 Application Development Overview
SharePoint 2010 Application Development OverviewSharePoint 2010 Application Development Overview
SharePoint 2010 Application Development OverviewRob Windsor
 
SharePoint Designer Workflows - Nuts, Bolts and Examples
SharePoint Designer Workflows - Nuts, Bolts and ExamplesSharePoint Designer Workflows - Nuts, Bolts and Examples
SharePoint Designer Workflows - Nuts, Bolts and Examples
Drew Madelung
 
2014 SharePoint Saturday Melbourne Apps or not to Apps
2014 SharePoint Saturday Melbourne Apps or not to Apps2014 SharePoint Saturday Melbourne Apps or not to Apps
2014 SharePoint Saturday Melbourne Apps or not to Apps
Gilles Pommier
 
Developing Apps with Azure AD
Developing Apps with Azure ADDeveloping Apps with Azure AD
Developing Apps with Azure AD
SharePointRadi
 
Session 7 - Integrating share point with silverlight firestarter
Session 7 - Integrating share point with silverlight firestarterSession 7 - Integrating share point with silverlight firestarter
Session 7 - Integrating share point with silverlight firestarterMithun T. Dhar
 
4 - Silverlight y SharePoint, por Rodrigo Diaz y Mauricio Angulo
4 - Silverlight y SharePoint, por Rodrigo Diaz y Mauricio Angulo4 - Silverlight y SharePoint, por Rodrigo Diaz y Mauricio Angulo
4 - Silverlight y SharePoint, por Rodrigo Diaz y Mauricio Angulo
Luis Du Solier
 
Developing Apps for SharePoint 2013
Developing Apps for SharePoint 2013Developing Apps for SharePoint 2013
Developing Apps for SharePoint 2013
SPC Adriatics
 
Automating Enterprise Application Deployments with PowerShell
Automating Enterprise Application Deployments with PowerShellAutomating Enterprise Application Deployments with PowerShell
Automating Enterprise Application Deployments with PowerShell
Geoff Varosky
 
The SharePoint & jQuery Guide
The SharePoint & jQuery GuideThe SharePoint & jQuery Guide
The SharePoint & jQuery Guide
Mark Rackley
 
The SharePoint and jQuery Guide by Mark Rackley - SPTechCon
The SharePoint and jQuery Guide by Mark Rackley - SPTechConThe SharePoint and jQuery Guide by Mark Rackley - SPTechCon
The SharePoint and jQuery Guide by Mark Rackley - SPTechCon
SPTechCon
 
Building real time serverless back ends with aws appsync
Building real time serverless back ends with aws appsyncBuilding real time serverless back ends with aws appsync
Building real time serverless back ends with aws appsync
sterkje
 
SharePoint 2013 APIs
SharePoint 2013 APIsSharePoint 2013 APIs
SharePoint 2013 APIs
John Calvert
 
Que hay de nuevo en Visual Studio 2013 y ASP.NET 5.1
Que hay de nuevo en Visual Studio 2013 y ASP.NET 5.1Que hay de nuevo en Visual Studio 2013 y ASP.NET 5.1
Que hay de nuevo en Visual Studio 2013 y ASP.NET 5.1
Rodolfo Finochietti
 
End to-End SPA Development Using ASP.NET and AngularJS
End to-End SPA Development Using ASP.NET and AngularJSEnd to-End SPA Development Using ASP.NET and AngularJS
End to-End SPA Development Using ASP.NET and AngularJS
Gil Fink
 

Similar to Tips and Tricks for Building Visual Studio Workflows (20)

SharePoint 2013 REST APIs
SharePoint 2013 REST APIsSharePoint 2013 REST APIs
SharePoint 2013 REST APIs
 
So You Want to Be a SharePoint Developer - SPS Utah 2015
So You Want to Be a SharePoint Developer - SPS Utah 2015So You Want to Be a SharePoint Developer - SPS Utah 2015
So You Want to Be a SharePoint Developer - SPS Utah 2015
 
So You Want To Be A SharePoint Developer-SPS Silicon Valley 2015
So You Want To Be A SharePoint Developer-SPS Silicon Valley 2015So You Want To Be A SharePoint Developer-SPS Silicon Valley 2015
So You Want To Be A SharePoint Developer-SPS Silicon Valley 2015
 
SPTechCon 2014 How to develop and debug client side code in SharePoint
SPTechCon 2014 How to develop and debug client side code in SharePointSPTechCon 2014 How to develop and debug client side code in SharePoint
SPTechCon 2014 How to develop and debug client side code in SharePoint
 
Sinergija2012 - Developing REST API for Windows Azure with ASP.NET Web API
Sinergija2012 - Developing REST API for Windows Azure with ASP.NET Web APISinergija2012 - Developing REST API for Windows Azure with ASP.NET Web API
Sinergija2012 - Developing REST API for Windows Azure with ASP.NET Web API
 
Azure Resource Manager templates: Improve deployment time and reusability
Azure Resource Manager templates: Improve deployment time and reusabilityAzure Resource Manager templates: Improve deployment time and reusability
Azure Resource Manager templates: Improve deployment time and reusability
 
SharePoint 2010 Application Development Overview
SharePoint 2010 Application Development OverviewSharePoint 2010 Application Development Overview
SharePoint 2010 Application Development Overview
 
SharePoint Designer Workflows - Nuts, Bolts and Examples
SharePoint Designer Workflows - Nuts, Bolts and ExamplesSharePoint Designer Workflows - Nuts, Bolts and Examples
SharePoint Designer Workflows - Nuts, Bolts and Examples
 
2014 SharePoint Saturday Melbourne Apps or not to Apps
2014 SharePoint Saturday Melbourne Apps or not to Apps2014 SharePoint Saturday Melbourne Apps or not to Apps
2014 SharePoint Saturday Melbourne Apps or not to Apps
 
Developing Apps with Azure AD
Developing Apps with Azure ADDeveloping Apps with Azure AD
Developing Apps with Azure AD
 
Session 7 - Integrating share point with silverlight firestarter
Session 7 - Integrating share point with silverlight firestarterSession 7 - Integrating share point with silverlight firestarter
Session 7 - Integrating share point with silverlight firestarter
 
4 - Silverlight y SharePoint, por Rodrigo Diaz y Mauricio Angulo
4 - Silverlight y SharePoint, por Rodrigo Diaz y Mauricio Angulo4 - Silverlight y SharePoint, por Rodrigo Diaz y Mauricio Angulo
4 - Silverlight y SharePoint, por Rodrigo Diaz y Mauricio Angulo
 
Developing Apps for SharePoint 2013
Developing Apps for SharePoint 2013Developing Apps for SharePoint 2013
Developing Apps for SharePoint 2013
 
Automating Enterprise Application Deployments with PowerShell
Automating Enterprise Application Deployments with PowerShellAutomating Enterprise Application Deployments with PowerShell
Automating Enterprise Application Deployments with PowerShell
 
The SharePoint & jQuery Guide
The SharePoint & jQuery GuideThe SharePoint & jQuery Guide
The SharePoint & jQuery Guide
 
The SharePoint and jQuery Guide by Mark Rackley - SPTechCon
The SharePoint and jQuery Guide by Mark Rackley - SPTechConThe SharePoint and jQuery Guide by Mark Rackley - SPTechCon
The SharePoint and jQuery Guide by Mark Rackley - SPTechCon
 
Building real time serverless back ends with aws appsync
Building real time serverless back ends with aws appsyncBuilding real time serverless back ends with aws appsync
Building real time serverless back ends with aws appsync
 
SharePoint 2013 APIs
SharePoint 2013 APIsSharePoint 2013 APIs
SharePoint 2013 APIs
 
Que hay de nuevo en Visual Studio 2013 y ASP.NET 5.1
Que hay de nuevo en Visual Studio 2013 y ASP.NET 5.1Que hay de nuevo en Visual Studio 2013 y ASP.NET 5.1
Que hay de nuevo en Visual Studio 2013 y ASP.NET 5.1
 
End to-End SPA Development Using ASP.NET and AngularJS
End to-End SPA Development Using ASP.NET and AngularJSEnd to-End SPA Development Using ASP.NET and AngularJS
End to-End SPA Development Using ASP.NET and AngularJS
 

More from Malin De Silva

Azure Key Vault
Azure Key VaultAzure Key Vault
Azure Key Vault
Malin De Silva
 
Azure boards and GitHub
Azure boards and GitHubAzure boards and GitHub
Azure boards and GitHub
Malin De Silva
 
Accelaratinng developmennt and business with azure conntainers
Accelaratinng developmennt and business with azure conntainersAccelaratinng developmennt and business with azure conntainers
Accelaratinng developmennt and business with azure conntainers
Malin De Silva
 
SharePoint Fundamentals in Microsoft Graph
SharePoint Fundamentals in Microsoft GraphSharePoint Fundamentals in Microsoft Graph
SharePoint Fundamentals in Microsoft Graph
Malin De Silva
 
Custom APIs with Powerapps and Microsoft Flow
Custom APIs with Powerapps and Microsoft FlowCustom APIs with Powerapps and Microsoft Flow
Custom APIs with Powerapps and Microsoft Flow
Malin De Silva
 
Exploring the PowerApps advantage
Exploring the PowerApps advantageExploring the PowerApps advantage
Exploring the PowerApps advantage
Malin De Silva
 
Workflow Manager Troubleshooting and Experience
Workflow Manager Troubleshooting and ExperienceWorkflow Manager Troubleshooting and Experience
Workflow Manager Troubleshooting and Experience
Malin De Silva
 
Success Story of SharePoint Development on Azure
Success Story of SharePoint Development on AzureSuccess Story of SharePoint Development on Azure
Success Story of SharePoint Development on Azure
Malin De Silva
 
Moving your share point development to azure
Moving your share point development to azureMoving your share point development to azure
Moving your share point development to azure
Malin De Silva
 
Consuming SharePoint data in universal apps
Consuming SharePoint data in universal appsConsuming SharePoint data in universal apps
Consuming SharePoint data in universal apps
Malin De Silva
 
Branding and designing capabilities with the Design Manager
Branding and designing capabilities with the Design ManagerBranding and designing capabilities with the Design Manager
Branding and designing capabilities with the Design Manager
Malin De Silva
 
Working with Windows Phone sensors, gps and maps
Working with Windows Phone sensors, gps and mapsWorking with Windows Phone sensors, gps and maps
Working with Windows Phone sensors, gps and maps
Malin De Silva
 
Using Lync for cost effective and efficient communications
Using Lync for cost effective and efficient communicationsUsing Lync for cost effective and efficient communications
Using Lync for cost effective and efficient communications
Malin De Silva
 
SharePoint Development
SharePoint DevelopmentSharePoint Development
SharePoint Development
Malin De Silva
 
AngularJS
AngularJSAngularJS
AngularJS
Malin De Silva
 

More from Malin De Silva (15)

Azure Key Vault
Azure Key VaultAzure Key Vault
Azure Key Vault
 
Azure boards and GitHub
Azure boards and GitHubAzure boards and GitHub
Azure boards and GitHub
 
Accelaratinng developmennt and business with azure conntainers
Accelaratinng developmennt and business with azure conntainersAccelaratinng developmennt and business with azure conntainers
Accelaratinng developmennt and business with azure conntainers
 
SharePoint Fundamentals in Microsoft Graph
SharePoint Fundamentals in Microsoft GraphSharePoint Fundamentals in Microsoft Graph
SharePoint Fundamentals in Microsoft Graph
 
Custom APIs with Powerapps and Microsoft Flow
Custom APIs with Powerapps and Microsoft FlowCustom APIs with Powerapps and Microsoft Flow
Custom APIs with Powerapps and Microsoft Flow
 
Exploring the PowerApps advantage
Exploring the PowerApps advantageExploring the PowerApps advantage
Exploring the PowerApps advantage
 
Workflow Manager Troubleshooting and Experience
Workflow Manager Troubleshooting and ExperienceWorkflow Manager Troubleshooting and Experience
Workflow Manager Troubleshooting and Experience
 
Success Story of SharePoint Development on Azure
Success Story of SharePoint Development on AzureSuccess Story of SharePoint Development on Azure
Success Story of SharePoint Development on Azure
 
Moving your share point development to azure
Moving your share point development to azureMoving your share point development to azure
Moving your share point development to azure
 
Consuming SharePoint data in universal apps
Consuming SharePoint data in universal appsConsuming SharePoint data in universal apps
Consuming SharePoint data in universal apps
 
Branding and designing capabilities with the Design Manager
Branding and designing capabilities with the Design ManagerBranding and designing capabilities with the Design Manager
Branding and designing capabilities with the Design Manager
 
Working with Windows Phone sensors, gps and maps
Working with Windows Phone sensors, gps and mapsWorking with Windows Phone sensors, gps and maps
Working with Windows Phone sensors, gps and maps
 
Using Lync for cost effective and efficient communications
Using Lync for cost effective and efficient communicationsUsing Lync for cost effective and efficient communications
Using Lync for cost effective and efficient communications
 
SharePoint Development
SharePoint DevelopmentSharePoint Development
SharePoint Development
 
AngularJS
AngularJSAngularJS
AngularJS
 

Recently uploaded

JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
RTTS
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Jeffrey Haguewood
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
CatarinaPereira64715
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
Product School
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
Abida Shariff
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 

Recently uploaded (20)

JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 

Tips and Tricks for Building Visual Studio Workflows

  • 1. malindesilva@live.com Tips and Tricks for Building Visual Studio Workflows Malin De Silva SharePoint Specialist Exilesoft, Sri Lanka Business 365 Saturday - Singapore 24th October 2015
  • 2. About Me Planning, Development and administering experience since SharePoint 2007. Speaker at many forums and conferences. Blogger, StackExchange contributor and a big Azure fan.
  • 3. Agenda • Introduction to Workflows • Creating Visual Studio Workflows • Using REST API References • Working with Tasks • Challenges and Best Practices malindesilva@live.com
  • 4. Who are we? • Developers? • Have built Workflows? (Designer or Visual Studio) • Have built Visual Studio Workflows in 2013? malindesilva@live.com
  • 5. 2010 vs 2013 Workflows SharePoint 2010 SharePoint 2013 Coupled to SharePoint servers Decoupled (Other consuming platforms) Declarative or Custom Code Declarative SharePoint Foundation and SharePoint Server SharePoint Server Content Types No No Apps App Friendly .Net framework used by SharePoint (.Net 3.51) .Net Framework xxx Workflow runs inside SharePoint Workflows run outside SharePoint malindesilva@live.com
  • 6. Designer 2013 vs Visual Studio SharePoint Designer 2013 Visual Studio Power Users, SharePoint Developers SharePoint Developers Can use Visio Can’t Cannot debug Can debug, including SharePoint Online No ALM support Full ALM support Cannot be a part of apps Can be a part of apps malindesilva@live.com
  • 7. Workflow Development and Debugging Prerequisites • SharePoint Farm • Workflow Manager Farm connected • Visual Studio 2012 or later • Office Developer Tools for Visual Studio 2013 malindesilva@live.com DEVELOPMENT On-premises • Allow Workflow Manager Tools to access through firewall SharePoint Online • May require installing a proxy client • Create Azure Service Bus namespace DEBUGGING
  • 8. Demonstration Creating Visual Studio Workflows and Defining Variables
  • 9. REST API References • Any technology supports standard REST capabilities • Mapping with client object model • Client object model method: List.GetByTitle(listname) • REST endpoint: http://server/site/_api/lists/getbytitle('listname') malindesilva@live.com Operation HTTP Method (s) Read a resource GET Create a resource POST Update a resource PUT, MERGE Delete a resource DELETE
  • 10. REST API Examples Operation HTTP Type Example Read lists in a web GET http://malin.sharepoint.com /_api/lists Creates a list POST http://malin.sharepoint.com /_api/lists { '_metadata':{'type':SP.List}, 'AllowContentTypes': true, 'BaseTemplate': 104, 'ContentTypesEnabled': true, 'Description': 'My list description', 'Title': 'RestTest' } malindesilva@live.com
  • 11. Demonstration Accessing current item and using REST API references
  • 12. Working with Workflow Tasks • Content type changes • Task  Workflow Task (SharePoint 2013) • Workflow Task content type has two new columns • WorkfowInstanceId • TaskOutcome • Two types of tasks • Single task • Composite task • Custom task forms malindesilva@live.com
  • 14. Custom Declarative Activities • Richer market needs • Repeatable design needs • Develop and deploy to business market • Use activities and actions • .actions4 files malindesilva@live.com
  • 15. Workflow Best Practices • Log as much as you can • Scope workflow variables • Ensure User when assigning tasks • Design with failures in mind malindesilva@live.com
  • 16. Challenges We Faced • Long running workflows • HTTP 429 too many requests malindesilva@live.com
  • 18. Thank You! Malin De Silva SharePoint Specialist Exilesoft mds@Exilesoft.com/ malindesilva@live.com @MalinD19