工作流程有时显示为已取消,但不是每次都显示 [英] Workflow showing as Cancelled sometimes but not every time

查看:104
本文介绍了工作流程有时显示为已取消,但不是每次都显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello有用的MSDN Sharepoint Designer专家!

Hello helpful MSDN Sharepoint Designer experts!

我们有一个看似行为不正常的Sharepoint Designer工作流程。在Sharepoint中创建新的联系人记录时,将激活工作流程。它应该向新记录分配给的人发送通知电子邮件。
有些人说他们收到了电子邮件,但其他人一直说他们没有收到电子邮件。

We had a Sharepoint Designer workflow that didn't seem to be behaving correctly. The workflow is activated when a new contact record is created in Sharepoint. It is supposed to send a notification email to the person that the new record gets assigned to. Some people were saying that they were receiving the email but others kept saying that they were not receiving the email.

所以我们删除了工作流程并将其重建为版本2。然后我们看到了类似的行为 - 有些人接收邮件,有些人则没有。查看自工作流重建以来创建的新记录,我们可以看到工作流显示
为"已取消"。对于某些联系人但是"已完成"对于其他人。

So we deleted the workflow and rebuilt it as Version 2. Since then we have seen similar behaviour - some people receive the mail and some others do not. Looking at the new records created since the workflow was rebuilt we can see that the workflow is showing as "Cancelled" for some contacts but "Completed" for others.

如果我们点击"已取消",错误消息,然后有关于错误的更多信息 - "强制失败:此强制输入不能为空。"

If we click on the "Cancelled" error message, then there is more info on the error - "Coercion Failed: Input cannot be null for this coercion."

仅供参考,与三个突出显示的记录关联的ID是:

Just for reference, the IDs associated with the three highlighted records are:

1336已取消

1336 Cancelled

1335已完成

1335 Completed

1334已完成

请注意,我们在系统中有50个工作流程,我们认为这些工作流程非常过分。我们还有具有相似名称和类似配置/逻辑的工作流程。我担心的是,某种程度上工作流程相互冲突或者以某种方式发生冲突。

Please note, we do have 50 workflows in the system which we regard as quite excessive. We also have workflows that have similar names and similar configuration/logic. My fear is that somehow the workflows are working against each other or are in conflict somehow.

请你推荐一个前进的方法。我们不想重建工作流程,因为我们已经尝试过了。

Please can you recommend a way forward with this. We don't want to just rebuild the workflow as we've already tried that.

您有什么建议可以帮助我们解决这个问题吗?

Do you have any suggestions you can make to help us to get this resolved?

(我试过在这里插入三个屏幕截图,但我收到错误"Body必须长4到60000个字符。"所以我删除了屏幕截图,看看我是否可以摆脱错误)

(I've tried inserting three screenshots here but I'm getting the error "Body must be 4 to 60000 characters long.". So I removed the screenshots to see if I could get rid of the error)

非常感谢

Steve Roberts

Steve Roberts

连接助手

03303330814

03303330814

推荐答案

您好steve_steev, 

Hi steve_steev, 

不要使用系统帐户启动工作流程。尝试与其他用户一起启动工作流。 

Don't start the workflow with system account. try to start the workflow with other users. 

您是创建SharePoint 2010平台工作流还是SharePoint 2013平台工作流?

Do you create SharePoint 2010 platform workflow or SharePoint 2013 platform workflow?

确保选择as string:

Make sure you choose as string:

请参阅以下文章:

https://social.technet.microsoft.com/wiki/contents/articles/31284.sharepoint -2013-error-input-can-null-for-this-coercion.aspx

最好的问候, 

Best Regards, 

Lisa Chen 

Lisa Chen 


这篇关于工作流程有时显示为已取消,但不是每次都显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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