Avatar of Michael Vasilevsky
Michael Vasilevsky
Flag for United States of America

asked on 

Workflow in Visual Studio for SharePoint Online Add-in

I'm trying to create a simple workflow for a SharePoint add-in using Visual Studio 2015. The attached MS Word document shows the design. The workflow is supposed to add an item to the list Deviations automatically when an item is added to the list DevInfo manually. Based on the DevInfo list, WorkflowHistoryList, and WorkflowTaskList (see screenshots in the attached), it appears the workflow does not fire at all.

I noticed the workflow.xaml file is not automatically added to a feature, although WorkflowHistoryList and WorkflowTaskList are. Is that something I need to add manually?

Also if I try to open the workflow after deploying the app on a dev site, I get an error and have to close/reopen the project. See screenshot in the attached.
Microsoft SharePointMicrosoft Visual Studio

Avatar of undefined
Last Comment
Michael Vasilevsky

8/22/2022 - Mon