工作流程:根据条件分配任务 [英] workflows: assign a task based on conditions

查看:109
本文介绍了工作流程:根据条件分配任务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

背景

我正在使用SPD创建自定义2013工作流程。 我在解决逻辑问题上遇到了问题。 当用户填写列表时,WF即开始。 分配任务以批准或拒绝该请求(从列表中填写)行为设置为
如果被拒绝请求返回给用户。 用户要么进行更改,将WF路由回到启动过程(分配第一个任务),要么拒绝结束工作流的任务。  如果任务获得批准,则会移动到下一个人
,并获得分配给他们的任务,以批准或拒绝该任务。 此过程一直持续到最后一个批准者(已分配任务)被批准或用户(填写列表的人)拒绝任何拒绝其任务的批准者的更改

I am using SPD to create a custom 2013 workflow.  I am having issues getting my logic to work.  The WF starts when a user fills out a list.  A task is assigned to approve or reject the request (filled out from the list) conductions are set if rejected the request goes back to the user.  The user either makes the changes which routs the WF back to the start process (first task assigned) or rejects the task which ends the workflow.  If the task is approved it moves to the next person in line which gets a task assigned to them to approve or reject  the task.  The process continues until the final stage when the last approver (task assigned) is approved or the user (the one who filled out the list) rejects the changes from any of the approvers that rejected their tasks.

问题

到目前为止,一切都有效。 我需要为每个批准者添加备份。 要求是,如果当前任务未被批准或拒绝(分配的人员没有做任何事情)3天,则将
任务分配给他们的备份。此时,备份或原始任务者都可以批准该任务。这个过程将发生在4个不同的阶段。有四个批准者被分配一个任务,每个批准者需要一个备份批准者,在他们备份他们的人3天之后没有为他们分配任务
 他们的任务。

Everything up to this point works.  I have a requirement to add backups to each of the approvers.  The requirement is that if the current task is not approved or rejected  (the person assigned did nothing) for 3 days to assign a task to their backup. At this point either the backup or the original tasker can approval  the task. This process will happen for 4 different stages. There are four approvers that get assigned a task and each require a backup approver which get a task assigned to them after 3 days of their person they are backing up has did nothing  with their task.

推荐答案

您可以创建2010工作流程包含四个步骤,每个步骤包含一个"开始审批流程"操作,每个操作设置一个为期三天的
到期日。

对于每个审批流程,点击"Approval"> ; "更改单个任务的行为"。 

您可以在这里编辑"任务过期时"的逻辑。

这里有一个名为"向该用户重新分配任务"的操作"但是,你只能将任务分配给一个特定的用户,尽管这个动作更容易
。 

如果您坚持将任务分配给原始批准者和备份批准者,您将需要使用这4个到期状态变量来跟踪到期状态的
。 




然后在"当任务过期时"(对于批准(5)),

< img alt =""src ="https://social.technet.microsoft.com/Forums/getfile/1305949">


此外,您需要编辑"更改此任务流程的完成条件"(对于审批(7)并行参与者),以便您的任务将完成
如果只收到任何一个批准这两个中的一个,或者其中一个拒绝这个项目。


$


(参考

https://social.msdn.microsoft.com/Forums/sharepoint/en-US/2cd81250-1124-4d61- b78d-78e747f7fd64 / parallel-approval-workflow-where-one-approval-completed-the-workflow?forum = sharepointcustomizationprevious

最好的问候,

Allen Allen


这篇关于工作流程:根据条件分配任务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆