Workflow Associate To Host Web

Copper Contributor

I have created a SharePoint 2013 Workflow which I want to associate with a list in the Add-in’s Host Web. I have followed the PnP sample guide on the provide on GitHub which involved opening the .app package and then updating the WorkflowManifest.xml. After doing this and adding to the App Catalogue I get an App Package Error Message saying:

 

 The package contains the wrong number of relationships for relationship type 'http://schemas.microsoft.com/sharepoint/2012/app/relationships/package-manifest'. Expected: '1'. Actual: '0'.


When I upload the app without changing anything in the app it installs and the workflow as works as expected in the App Web.

 

Has anyone experienced this issue or have any ideas on any other potential ways to add a workflow to the HostWeb?

 

Thanks in advanced.

0 Replies