0

I inherited a site with a sequential workflow (created in Visual Studio 2008). The workflow is attached to a content type and is set to run only on item created. Recently, I attached three declarative workflows (SharePoint Designer) to the same list the content types are attached to. Ever since, the sequential workflow will randomly run twice and create duplicate approval tasks. Once I took the declarative workflows off the list, the duplication problem seemed to go away.

SharePoint Designer Workflows: Two of the SPD workflows I added do not alter data in the list, they only check an expiration date, pause for a duration (30 and 60 days), then send an email. The last work flow does update the list, but only after it pauses for 90 days. I am not sure why the SPD workflows would trigger two instances of the VS workflow to run, especially when the VS workflow is set to run on item created. Also, the timing between the two instances of the VS workflow is like 15 minutes apart. The VS workflow is not being started manually either.

Any help is appreciated

1 Answer 1

1

Have you tried adding a pause to the Visual Studio workflow of 1 minute at the begining?

I have several SP Designer 2007 workflows that would send duplicate emails but if the workflow started with a 1 minute pause then it wouldn't. Not sure why it helps but it solved my problem!

3
  • I did not. The SPD workflows, however, are staggered with five minute pause between each. I'll have too look at pausing the VS workflow. Thanks. Feb 13, 2013 at 14:19
  • I misunderstood your answer. I had pauses in the SPD WFs. However, the VS WF had no pause. I found this which basically corroborates what you are saying. Feb 28, 2013 at 21:06
  • I want to confirm that adding a pause to the visual studio workflow fixed the problem. Mar 19, 2013 at 13:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.