SharePoint Asked by Dylan Cristy on November 25, 2021
This is on SP 2013 and using 2013 workflow.
I have a survey list, and when a user completes the survey, we want to create a list item in another list and populate one of the fields with data from the survey.
However, I can’t seem to get the workflow to start. Initially the workflow was set to start automatically upon new item creation, then wait until the Completed
field equals Yes, then create the item in the other list.
I added a bunch of logging to track the workflow’s progress, but I don’t see anything in the Workflow History list. I then changed the workflow to be able to be manually started. After that, if I went to a survey response and looked at the workflows for that item, I could see my workflow and try to start it, but if I look at the workflow status it just sits there with internal status of “Not Started”.
What’s going on here, why won’t my workflow start?
I had a similar issue with sending emails. Perhaps this will also work for you.
Keep in mind I'm Site Admin so while I'm fairly positive this should also work for owners I've not tested it. This is also in the SharePoint 2013 environment with a SharePoint 2010 workflow.
I've discovered two things. One if you have a survey with no branches the workflow acts as expected. Two if you have a branching survey the workflow doesn't work unless you make it as "Start workflow automatically when an item is changed". I believe that with branching every time you go to another "page" the item is saved but not competed so the workflow isn't kicked off.
The downside to using the "item is changed" is that if a person goes back to change an answer you'll get spammed with an email for each question in the survey.
I'm still investigating this. I'll come back if I find a work around.
Answered by Kyler Hunter on November 25, 2021
If you set item level permissions such as user can only see their own survey, the workflow won't run.
Answered by Vamsi K K on November 25, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP