Advanced SharePoint 2013 Workflow for Developers

SharePoint 2013 introduces the renewed workflow engine. In this session, you learn some advanced topics about developing workflows with Microsoft Visual Studio 2012/2013. In particular, you learn how to create custom actions to extend SharePoint Designer 2013, how to create custom workflow forms, and how to leverage the Workflow Services Manager engine to automate and manage workflows.

This session targets .NET developers with a good experience in the fields of workflows development and/or process management.

10.
BUT WE HAVE
REST APIS
• Support XML/OData/JSON format
• Can be used to query (OData)
contents
• Can be used to manage
(add, update, delete) content
• Make the Client Side Object
Model (CSOM) remotely available
via REST
• Useful for JavaScript/jQuery
consumers
• But also for workflows in
SPD2013 or Visual Studio
2012/2013
_api is new alias for _vti_bin/client.svc
Server
Client
REST
OData
JSON
CSOM
JavaScript
Library
Silverlight
Library
Custom Client Code
.Net CLR
Library

21.
A Workflow is like an App
• The workflow engine has an App Principal
• You can manage app principals:
• https://{hostname}/sites/{site}/_layouts/15/appprincipals.aspx?Scope=Web
• https://{hostname}/sites/{site}/_layouts/15/appinv.aspx
• https://{hostname}/sites/{site}/_layouts/15/appregnew.aspx

27.
Workflow Forms and Kind of Projects
• In Full Trust workflow projects
• Can run server-side code (SharePoint Server Object Model)
• Can do averything (they are full-trust)
• Are not support for cloud-based (Office 365) deployments
• In App for SharePoint projects
• Workflows are available in app-web only
• In a SharePoint-hosted app-web you can run only JavaScript code (!)
• The form templates provided by Visual Studio are JavaScript based
• You will have to interact with the Workflow Services Manager