Click here to Skip to main content
15,790,472 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi All,

SharePoint 2010, Visual Studio 2010.

I have a sequential workflow with Task 1 > Task 2 > Task 3. All must be approved. If any of them is rejected then we do not take any further action.

If all tasks are approved, them my workflow status shows up as Completed, which is good.

However if Task 1 is rejected
- Task 2 and 3 still get fired, which they should not.
- Workflow status shows up as In Progress, it should show up as "Completed".

Any idea on how to set workflow status to completed pro grammatically on Task rejection?

Thanks in advance

1 solution

For this scenario I'd look at using a serial workflow with multiple approvers and make sure to check "Automatically reject the document if it is rejected by any participant"
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900