How to publish a Workflow Definition in SharePoint using PowerShell

oday, while working on the PnP Provisioning Engine I had to write some code to publish a new XAML based Workflow Definition in SharePoint, as well as to create a Subscription between the workflow and a target list/library. To make it easier, I wrote a bunch of PowerShell scripting that leverages the Erwin’s PnP PowerShell […]

Read more

Workflow Tasks with Predecessors

During the last weeks I had to work around a workflow project with some specific requirements. In particular, one of the requirements was to support workflow tasks with predecessors. As you probably know, tasks in SharePoint are based on the well-known Task content type (ID: 0x0108), and “Workflow Task (SharePoint 2013)” content type inherits from […]

Read more

Updating declarative custom actions for SharePoint 2013 Workflows

Let’s say you have created a declarative custom action for a SharePoint 2013 workflow, like I have illustrated in this post. Now, let’s say you want to update it, changing the .actions4 file or updating its inner workings in the .xaml file. When you upload the .WSP sandboxed solution, which includes the custom action, and […]

Read more

Publishing SharePoint apps that leverage SharePoint Workflow Services

Just a quick reference for those of you, who are developing SharePoint apps that leverage the SharePoint Workflow Services. If you are using Microsoft Visual Studio 2013, you can see the app publishing process has been improved and simplified. You simply right-click on the SharePoint app project, you select “Publish …”, and you are prompted […]

Read more