Building a workflow-powered app for SharePoint
Published: July 16, 2012
Provides a brief introduction to creating apps for SharePoint that integrate the power of SharePoint 2013 workflows.
Applies to: SharePoint Server 2013 | apps for SharePoint
This is preliminary content provided for the current documentation release. A fuller treatment with additional details and extended sample code is forthcoming.
This sample demonstrates how apps for SharePoint and the new model for apps for SharePoint can use the power of the new framework for SharePoint 2013 workflows.
Workflows can be used in all types of SharePoint apps as a middle tier for encoding long-running business logic. Examples include document approval systems, and workflow logic to support the periodic publication of marketing communications to the web.
The example presents a simple SharePoint-hosted app that uses SharePoint 2013 workflow. The sample app demonstrates the following:
Auto-starting a workflow when a list item is created.
A workflow waiting and listening for a list item event.
A workflow creating a list item.
Making a workflow portable by using List Id tokens.
You can locate the sample code here: SharePoint 2013 workflow: Workflow-powered app for SharePoint (http://code.msdn.microsoft.com/SharePoint-2013-workflow-580034f9).
July 16, 2012