SharePoint 审批工作流程问题
我有启用了发布功能的 SharePoint 网站。我有一个自定义内容类型,配置了开箱即用的审批工作流程。在工作流程设置中,最后一个选项“更新审批状态(使用此工作流程控制内容审批)”已被选中。配置内容类型的列表未选择“需要内容批准”选项。
我的问题:是否需要勾选“更新审批状态”选项才能享受内容审批的好处?
添加到列表中的所有内容都需要获得批准,但此配置似乎会导致工作流程出现错误。审批方面工作正常,但每个工作流程均出现错误:“审批工作流程中发生错误”。我读到这是由于上述配置造成的。作为记录,ULS 日志显示此错误:
工作流程基础设施
98d4 意外的 System.ArgumentNullException: 值不能为空。参数名称: 姓名在 System.Resources.ResourceManager.GetString(字符串 名称、CultureInfo 文化)位于 Microsoft.Office.Workflow.LocUtil.GetResourceString(SPWeb 网络,字符串资源ID)位于 Microsoft.Office.Workflow.ReviewRouting.SetItemMetadata(对象 发送者、EventArgs e) at System.Workflow.ComponentModel.Activity.RaiseEvent(DependencyProperty dependencyEvent,对象发送者, 事件参数 e) at Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity.Execute(ActivityExecutionContext 上下文)在 System.Workflow.ComponentModel.ActivityExecutor1.Execute(T 活动、ActivityExecutionContext 执行上下文)在 System.Workflow.ComponentModel.ActivityExecutor
1.Execute(活动 活动、ActivityExecutionContext ...
I have SharePoint site with publishing features enabled. I have a custom content type with the out of the box approval workflow configured. In the Workflow settings, the final option to "Update the approval status (use this workflow to control content approval)" has been checked. The lists on which the content type is configured do not have the "require content approval" option selected.
My question: is it necessary to "Update the approval status" option checked to enjoy the benefit of content approval?
All content added to the lists needs to be approved but this configuration appears to be causing an error on the workflows. The approval aspect works correctly but then each workflow errors: "An error has occured in Approval Workflow". I have read that this is because of the configuration described above. For the record, the ULS logs show this error:
Workflow Infrastructure
98d4 Unexpected System.ArgumentNullException:
Value cannot be null. Parameter name:
name at
System.Resources.ResourceManager.GetString(String
name, CultureInfo culture) at
Microsoft.Office.Workflow.LocUtil.GetResourceString(SPWeb
web, String resourceId) at
Microsoft.Office.Workflow.ReviewRouting.SetItemMetadata(Object
sender, EventArgs e) at
System.Workflow.ComponentModel.Activity.RaiseEvent(DependencyProperty
dependencyEvent, Object sender,
EventArgs e) at
Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity.Execute(ActivityExecutionContext
context) at
System.Workflow.ComponentModel.ActivityExecutor1.Execute(T
1.Execute(Activity
activity, ActivityExecutionContext
executionContext) at
System.Workflow.ComponentModel.ActivityExecutor
activity, ActivityExecutionContext ...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
作为参考,这是我发现的:
为了使批准功能正常工作,列表应具有:
如果工作流配置为控制内容审批,但列表上未配置内容审批,则 SharePoint 会生成上述错误。
For reference, this is what i've found:
For the approval functionality to work correctly, the list should have:
If the workflow is configured to control content approval but the list does not have content approval configured on it, SharePoint generates the above error.
根据错误以及您提供的有关自定义内容类型的信息判断,代码可能会尝试将全球化应用于自定义内容类型列或任何其他列,并且:
检查您当前的版本是否有任何修补程序(或服务包),如果存在则同步所有语言包你还没有,看看这是否有帮助。
Judging by the error and with the information on the custom content type you provided, the code might be trying to apply globalization the custom content-type column or any other column and:
Check if your current version has any hotfixes ahead of it (or service packs), sync all the language packs if you haven't and see if that helps.