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