SharePoint 2013 Workflow不发送电子邮件

时间:2015-04-16 23:44:07

标签: email sharepoint sharepoint-2013 sharepoint-workflow

我一直在尝试修复此问题,在独立服务器上安装新的SharePoint 2013,现在已经有几天了。我在运行的所有工作流程中收到“内部状态:已暂停”错误:

RequestorId: 8e9ad795-7a8f-9a68-0000-000000000000. Details: An unhandled  
exception occurred during the execution of the workflow instance. 
Exception details: System.ArgumentException: AssignedTo at  Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(CodeActivityContext context) at 
System.Activities.CodeActivity.InternalExecute(ActivityInstance instance,  
ActivityExecutor executor, BookmarkManager bookmarkManager) at     
  System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)

我发现有几篇文章似乎无法解决问题: https://technet.microsoft.com/en-us/library/cc263462.aspx#section2

http://sp2013.pro/category/error/wf-cancelssuspends/

当我创建SP 2013工作流程和SP 2010工作流程时,存在问题。 OOTB Approval工作流程确实可以正确发送电子邮件,因此我知道邮件服务器正在运行。我在自定义工作流程中尝试了批准过程,但失败了......所以我认为问题出在SharePoint Designer工作流程创建和服务器中。

工作流程将一直运行到电子邮件,因为我已经测试了几个变量并将进度记录到历史记录中。

我做过的其他事情: - 完整的配置文件同步 -SMTP服务器设置为允许匿名和仅使用自身的中继

更新:我刚刚发现工作流似乎必须在日历事件中的自定义列中崩溃,并且当您手动将用户添加到工作流时,相反......标准自定义列表将向a发送电子邮件手动输入的地址,并在使用自定义人员/组字段失败前给出以下错误:

Retrying last request. Next attempt scheduled in less than one minute.  
Details of last request: HTTP BadRequest to 
http://domain/_vti_bin/client.svc/sp.utilities.utility.SendEmail

然后通过与原始问题类似的消息暂停自己:

Details: An unhandled exception occurred during the execution of the    
workflow instance. Exception details: System.ArgumentNullException: Value 
cannot be null. Parameter name: Input at      Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(CodeActivityContext context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation) 

0 个答案:

没有答案