工作流程历史 [英] Workflow History

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

问题描述

请帮助我!

我是新手,我需要交付一个项目

如何带上描述字段(评论)以及批准/拒绝工作流程历史记录?


非常感谢。


解决方案

您好,



请参阅以下主题: 


https://social.msdn.microsoft.com/Forums/office/en-US/fd2e5f6a-6a6f-492a-89af-e92a39f18b83/how-to-get-approver-comments-captured-in- workflow-tasklist-sp2013?forum = sharepointcustomization < o:p>< / o:p>


 


根据您的帖子,我的理解是您希望在SharePoint 2013的任务表单中获得批准者注释。


< p style ="margin-bottom:10pt; padding-right:0px; font-size:14px; line-height:inherit; font-family:'Segoe UI','Lucida Grande',Verdana,Arial,Helvetica,sans- serif; vertical-align:baseline; list-style-type:none; color:#2a2a2a">
当您在列表中将"要求内容批准已提交项目"设置为"是"时,"审批者注释"列将仅显示在列表中,我们需要
单击功能区中的"批准/拒绝"以添加注释。



在SharePoint 2013工作流程中,任务表单中没有"注释",因此如果您想让用户在批准任务表单时添加注释,那么
我们需要使用2010批准工作流程但是,任务表单中的"注释"与列表中的"批准注释"列不同。



如果您想使用2010工作流程任务表单中的注释来更新列表中的"审批注释"列,那么我们可以在
之后创建2010工作流程,步骤如下:



1.创建与列表关联的列表工作流程,并将工作流程设置为在创建项目时启动,然后首先添加"开始审批流程"操作。



2.  点击  " 批准( 14 "  到
编辑任务流程
 和  点击
on 
" 更改单个
任务的行为
"



3.  添加 
"
设置  W orkflow  V ariable "
动作 
in  "
T 问  C ompletes 部分  低于
至 
设置工作流变量"comments"以获取用户对话框中注释的值,形成任务







 



4.添加"暂停持续时间"操作暂停1分钟。



5.添加一些条件以检查当前工作流程的状态是"已批准"还是"已拒绝",然后将内容审批状态设置为"已批准"
或"已拒绝"为"可变" :评论"。



6.发布工作流程并在您的环境中进行测试。



工作流程如下所示:





 



Please help me!
I'm new to the job and I need to deliver a project
How do I bring the Description field (Comment) along with approve / reject to Workflow History?

Thank you very much.

解决方案

Hi,

Please refer the below thread : 

https://social.msdn.microsoft.com/Forums/office/en-US/fd2e5f6a-6a6f-492a-89af-e92a39f18b83/how-to-get-approver-comments-captured-in-workflow-tasklist-sp2013?forum=sharepointcustomization<o:p></o:p>

 

According to your post, my understanding is that you wanted to get the Approver Comments in the tasks form in SharePoint 2013.

The "Approver Comments" column only will be shown in the list when you set "Require content approval for submitted items" to "Yes" in the list, and we need to click "Approve/Reject" in the ribbon to add the comments.

In SharePoint 2013 workflow, there is no "comments" in the task form, so if you want to let users be able to add comments when approving the task form then we need to use 2010 approval workflow instead. However, the "comments" in the task form is different from the "Approval Comments" column in the list.

If you want to use the comments in the 2010 workflow task form to update the "Approval Comments" column in the list, then we can create 2010 workflow following the steps as below:

1. Create a List Workflow associated with the list and set the workflow to start when an item is created, then add the "Start Approval Process" action at first.

2. Click on "Approval(14)" to edit the task process and Click on "Change the behavior of a single task" in the "Customization".

3. Add the "Set Workflow Variable" action in "When a Task Completessection as below to set a workflow variable "comments" to get the value of comments in the user dialog form the task.


 

4. Add the "Pause for Duration" action to pause for 1 minute.

5. Add some conditions to check if the status of the current workflow is "Approved" or "Rejected", and then set Content Approval Status to "Approved" or "Rejected" with "Variable: Comments".

6. Publish the workflow and test it in your environment.

The workflow is shown as below:

 


这篇关于工作流程历史的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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