문제

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?

도움이 되었습니까?

해결책

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

다른 팁

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top