locked
Tasks completed but workflow does not continue RRS feed

  • Question

  • It is a problem with a Sharepoint Designer 2007 Workflow. I have two tasks created with "collect data from user" through two workflows that are triggered on change. The tasks are created properly. However, after completing the tasks, none of the workflow continues. The workflow steps work like this:

    Workflow1

    Step 1

    Condition: if field1 = value1 and trigger1 = no

    Action: set trigger1 = yes

    then collect data from user into variable task1ID

    Step 2

    Condition: When task1:status = Completed

    Action: Send email

    Workflow2 logic is pretty much the same as Workflow1, but just looking for different value.

    Step 1

    Condition: if field2 = value2 and trigger2 = no

    Action: set trigger2 = yes

    then collect data from user into variable task2ID

    Step 2

    Condition: When task2:status (lookup using task2ID) = Completed

    Action: Send email

     

    The respective task in the tasks list is set to Complete through the Complete Task in the form. Seems like the event is not fired for the workflow or the workflow somehow can't capture it. When there was only one of those workflows, the workflow completes properly. Are there known issue with multiple workflow triggered by Item Change?

    I know many may suggest Visual Studio but this is not an option here.


    Now I tried to remove all On Change workflow and recreate just the one but it still only created the task. But when the task is set to complete, the workflow doesn't continue to the next step. I'm stumped.
    Thursday, June 30, 2011 2:15 AM

Answers

  • Someone else figured this out. When I was comparing the task status, somehow the workflow comparison step is faster than the task being changed to complete. If we put in a delay before the step, it would work.

    Another workaround is to check the value of the data (is not empty) on the form. Likely they are saved before the task is changed to the Completed status.

    • Marked as answer by Wayne Fan Monday, July 11, 2011 3:35 AM
    Friday, July 1, 2011 2:37 AM

All replies

  • Someone else figured this out. When I was comparing the task status, somehow the workflow comparison step is faster than the task being changed to complete. If we put in a delay before the step, it would work.

    Another workaround is to check the value of the data (is not empty) on the form. Likely they are saved before the task is changed to the Completed status.

    • Marked as answer by Wayne Fan Monday, July 11, 2011 3:35 AM
    Friday, July 1, 2011 2:37 AM
  • Hi,

    Glad to know you have figure it out.

    Have a nice day!

     

    Seven Ma

    TechNet Subscriber Support in forum

    If you have any feedback on our support, please contact tnmff@microsoft.com     

    Friday, July 1, 2011 7:27 AM