Question

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?

Was it helpful?

Solution

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
Else
    Go to Stage 2

enter image description here

OTHER TIPS

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"

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top