如何设置工作流状态以完成任务拒绝

如何设置工作流状态以完成任务拒绝

本文介绍了如何设置工作流状态以完成任务拒绝?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

SharePoint 2010,Visual Studio2010.

我有一个任务1>的顺序工作流程.任务2>任务3.必须全部批准.如果其中任何一个被拒绝,那么我们将不采取任何进一步的措施.

如果所有任务都得到批准,它们的工作流程状态将显示为已完成",这很好.

但是,如果任务1被拒绝
-任务2和3仍然被解雇,他们不应该被解雇.
-工作流状态显示为进行中",应显示为已完成".

关于如何在任务拒绝时以编程方式完成工作流状态的构想?

在此先感谢您

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

推荐答案


这篇关于如何设置工作流状态以完成任务拒绝?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-29 19:14