I am using a task process within a SharePoint 2013 workflow. I have an IF/ELSE statement setup for the task being approved or rejected; however it still continues to Stage 2, despite the outcome. Is there a way to end the workflow after the first rejection?

3 Answers 3


At Transition to Stage make a new if condition to check the value of the outcome variable as the following.

If Variable: Outcome equals Rejected
    Go to End of Workflow
    Go to Stage 2

enter image description here

  • I don't have a "End workflow" action. It is only available in the transition to stage area.
    – cbbrown
    Commented Feb 14, 2017 at 18:50
  • you are right I have updated my answer Commented Feb 14, 2017 at 18:57
  • I can't use anything but "Go-to" actions in the Transaction to Stage area.
    – cbbrown
    Commented Feb 14, 2017 at 19:51
  • select go to action then right click > select delete action, now in transition section, there is no anything , so just perform right click to add if condition, please if you can't do it tell me to post detail steps with image in my answer Commented Feb 14, 2017 at 19:56

That should be in the transition. There should be a variable that was generated called Outcome the transition (if not you can set the variable after it gets completed) should have:

If(Outcome equals "Rejected")
  Go to "End of Workflow"
  • I'm not able to enter "Go to" as an action. Not in 2013.
    – cbbrown
    Commented Feb 14, 2017 at 18:49
  • should be under the "Transition to stage" bar. Like this: 3.bp.blogspot.com/-yyQYJ77zK0Q/UA8KhsJ-fpI/AAAAAAAAAJQ/… Unless you are saying SharePoint 2013, but using a SharePoint 2010 engine workflow...
    – Mike
    Commented Feb 14, 2017 at 19:30

Thanks for your responses. I had to completely remove any current "go-to" statement from the Transition to Stage phase, save and refresh. Then I was able to insert the IF/ELSE statement. I'm not sure if that last part is absolutely necessary for everyone, but it worked for me.

Your Answer

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

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