locked
How to Break Loop in Parallel Block - Designer 2013 RRS feed

  • Question

  • I have a List called Test1 and below are the controls (only for testing purposes).

    enter image description here

    Below is my Designer 2013 workflow associated with the list above:

    enter image description here

    The workflow does the following:

    • When a user submits a new item, the workflow Updates the DueDate to equal to a Calculated column called CalcDueDate. The calculated column is formulated to display the date asCreated + 14days shown below:

    enter image description here

    • It then sets a variable
    • I am using a Parallel Block because I have multiple scenarios that will move the workflow to the next step depending on what the user has selected. This parallel block will stop if loopVar returns True (Yes) in Parallel Block Advanced Settings.
    • Next, in Email Loop Step, as long as loopVar = No, then the loop will pause for 1 minute and email Created By. This will continuously loop and email every minute.
    • On the Step Change Color To Red, a user can break out of the Parallel Block if Colors = Red. This immediately stops the looping with continuous email every minute as expected.

    The Step Break Loop is my focus. The desired effect is that when a user changes the DueDate to something other than what is already set by the Update activity, then it will exit the Parallel Block and move to the next Step.

    In other words, if the DueDate has been changed then break the Loop and go to the next Step.

    The issue:

    When the DueDate has been changed, the workflow continuous the Pause activity and Emails the Created By one more time before finally breaking out of the Loop.

    The desired:

    When the DueDate has been changed then immediately stop the Loop and move to the next step.

    However, I can’t come up with the logic that can do this and one that would actually work for that matter. I have been testing numerous possibilities but the same issue persists.

    Any assistance would be helpful.


    Monday, June 6, 2016 10:14 PM

Answers

All replies

  • Hi,

    Please check if it can help you out

    http://www.learningsharepoint.com/2013/07/05/run-only-one-not-all-of-parallel-actions-with-sharepoint-designer-2013-workflow/


    Please remember to click 'Mark as Answer' on the answer if it helps you

    Monday, June 6, 2016 10:20 PM
  • I know how to use a Parallel Block. 

    Thanks for the tip but this does not help.

    Please read in detail again to get the exact issue. All this article explains is how to use a Parallel Block, which I already know how to and is detailed above in explanation.



    Monday, June 6, 2016 10:24 PM
  • hi

    try to use wait for action in the break loop step

    Wednesday, June 22, 2016 3:24 AM