I have a scheduled site workflow that for some reason will error out with the message "Failed on Start". The workflow will run for approximately 35-40 minutes before the error occurs. It will also be doing tasks associated with the workflow. When I look at the workflow status, I see the error "The workflow could not update the item, possibly because one or more columns for the item require a different type of information". I find this odd as all this workflow is doing is matching up a student with a teacher, capturing the teacher's email address, and writing the teacher's email address to the list. I'm performing a Query list to pull in all the forms in a list. Right now there around 1000 items. I'm pulling out the list ID and a studentID and assign those to collection variables. My next step is a loop to review each item. I perform a Get Collection operation to assign the studentID to a workflow variable. The next step is an Execute Sql. I'm quering a database to select the email address of the student's teacher by matching the student's ID against the studentIDs in a teacher's class list. I then write the teacher's email address to a workflow variable. The last step is to update the form with the teacher's email address that I retrieved from the previous step. The point of all this is for teachers to review a specific document created when our students go out into the community. Since a student can change teachers each year, it was a bit of a pain to do this annually. Also, it is possible that a student could change classrooms during the course of the school year. That way when a teacher opens up her dashboard page, he/she sees all the created documents for his/her classroom. I essentially call it the MyClassroom View. When i first tested this in my demo environment, I ran into no issues. However, there were only 10 or so forms in there. Now when I run this against my production environment, it fails. It probably gets through 40% of the forms before it stops. I'm guessing I'm hitting some threshold, but I really don't know what it could be. 1000 forms isn't that much to me, but maybe I'm being a little nieve on that. Any one have some ideas?
Workflow fails on start error
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
