The new SharePoint 2013 workflow object model supports advanced scenarios to harness the power of the new SharePoint workflow platform. This sample illustrates ways in which you can use the SharePoint object model to enable these advanced scenarios.
This sample requires the following:
The new SharePoint 2013 workflow object model supports advanced scenarios to harness the power of the new SharePoint workflow platform.
The object model allows you to deploy workflows, to manage workflow instances, and supports messaging to workflow instances.
A SharePoint-hosted app for SharePoint can use the SharePoint JSOM and SharePoint REST APIs to access the Workflow object model. A self-hosted and an auto-hosted SharePoint app can also use SharePoint CSOM in addition to SharePoint JSOM and SharePoint REST API to access workflow object model.
For more information about selecting the best APIs for your programming tasks, see Choose the right API set in SharePoint 2013.
The WorkflowOMTest code sample is an example of an interactive SharePoint-hosted app that is using SharePoint workflow JSOM to deploy workflow definitions to both an app web and to a "parent web" (that is, a SharePoint web hosting the app).
First release. July 16, 2012