我有一个工作流程,该工作流程会自动批准我不想要的事情.
I have a workflow that is automatically approving something that I do not want it to.
这样的过程使得雇员将要求关闭一个项目,其中他用信息(文本,下拉列表,查找等)填写表格.该员工需要能够在Active Directory中执行查找,以便其经理查看其项目. 该字段被命名为经理审查".并且可以搜索和选择此人.负责审核的经理应收到批准项目关闭请求的请求.当您执行此搜索并选择一名员工来审查您的项目时, 工作流程会自动批准工作流程.但是,如果在工作流程中我删除了经理以进行查找,并将其声明为静态AD用户,则工作流程将按预期发送批准请求并等待响应.这是悬崖笔记版本:
The process is such that an employee will request a project to be closed wherein he fills a form with information (text, drop downs, lookups, etc.). This employee needs to be able to perform a lookup in Active Directory for his manager to review his project. The field is named "manager to review" and the person can be searched and selected. That manager to review should get a request to approve the project close request. When you perform this search and select an employee to review your project, the workflow automatically approves the workflow. However, if in the workflow I remove the manager to review as a lookup and state it as a static AD user the workflow sends the approval request as intended and waits for a response. Here's the cliff notes version:
阶段:等待批准
应用步骤
从当前项目:经理开始执行任务流程以进行审查(任务结果到变量:项目结束分配)
Start a task process with current item:manager to review (task outcome to variable:project close assignment)
过渡到舞台
如果变量:项目结束分配=批准
If variable:project close assignment = approved
转到项目关闭已批准
go to project close approved
其他
去项目关闭被拒绝
go to project close rejected
阶段:项目关闭已获批准
Stage: project close approved
通过电子邮件发送当前项目:创建者;当前项目:经理审核
email current item:created by; current item:manager to review
过渡到舞台
转到工作流程结束
阶段:项目关闭被拒绝
通过电子邮件发送当前项目:创建者
email current item:created by
过渡到舞台
转到工作流程结束
推荐答案
嗨JamRWil,
Hi JamRWil,
这个问题是,如果您在开始任务过程"中使用经理"字段,批准任务将被自动批准,对吗?
This issue is that if you use the Manager field in "Start a task process", the approval task will be approved automatically, is it right?
您是否使用查找列存储经理信息?
Did you use a lookup column to store the manager information?
转到任务"列表,然后检查相关任务,检查谁是分配给"人员.完成任务.
Go to the Tasks list and check the related task, check who is the "Assigned To" for the task.
请创建人员"列以存储Manager信息,而不是查找列,然后在工作流程中使用新的人员"列.
Please create a People column to store the Manager information instead of a lookup column, then use the new People column in your workflow.
谢谢
温迪
更多推荐
自动工作流程批准
发布评论