• Status: Solved
  • Priority: Low
  • Security: Public
  • Views: 135
  • Last Modified:

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.
MV-Results-2017-11-13.docx
0
Michael Vasilevsky
Asked:
Michael Vasilevsky
1 Solution
 
Michael VasilevskySolutions ArchitectAuthor Commented:
Since Deviations is a Document Library list, it needs the column "Name (FileLeafRef"
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now