本文介绍了间歇性工作流错误-用户不存在或不唯一的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个自定义的SP Designer工作流,该工作流根据列表中的人员选择器字段分配权限.   InfoPath表单已提交到库,并且工作流自动启动.  它从另一个列表中的人员选择器中查找用户组 基于表单和列表中的唯一值.

We have a custom SP Designer workflow that assigns permissions based on a people picker field in a list.  The InfoPath form is submitted to the library and the workflow autostarts.  It looks up the set of users from a people picker in another list based on a unique value in both the form and the list.

工作流程启动时,有时会发生错误,有时不会发生,工作流会分配权限,否则会因错误而失败,并且这些错误会在日志中得到确认.

When the workflow kicks off, sometimes the error occurs and sometimes it doesn't and the workflow assigns the permissions otherwise it fails with the error and these errors are confirmed in the logs.

当工作流终止并手动启动时,它每次都会工作,因此它只是间歇性(40%的时间)会出错.

When the workflow is terminated and started manually it works every time so it is only intermittently (40% of the time) it errors.

我在网上到处看,看是什么原因造成的.  我添加了暂停功能,甚至添加了Powershell脚本来运行,以在提交时成功释放表单上的锁.

I have looked everywhere on line to see what can cause this.  I have added pauses and even a powershell script to run to release the lock on the form when submitted without any success.

还有其他人遇到过此问题,有些工作流与此问题有关.  我还检查了User Profile Service,UPS中存在试图应用权限的用户.

Has anyone else had this problem with some workflows coming up with this issue.  I've also checked User Profile Service and the users that it's trying to apply permissions exist in the UPS.

谢谢-乔恩

推荐答案


这篇关于间歇性工作流错误-用户不存在或不唯一的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-31 07:55