2016-10-10 93 views
0

對於上下文:我的團隊有一個SharePoint(子)網站,其中包含附加到SharePoint列表的InfoPath路徑。此表單中的一個字段是一個SharePoint組(隱藏),以便用戶提交此表單後,該列表將包含對相關SharePoint組的引用。 所有這些都按預期工作。Sharepoint工作流程將電子郵件發送到Sharepoint列表中定義的Sharepoint組

我們還設置了一個簡單的工作流程,當新條目添加到列表中時,可以通過電子郵件發送上述SharePoint組。這不再工作。這個功能在2個月前開始工作,但現在由於某種原因,當它被觸發時,它變爲'Started'狀態,最後進入'Suspended'狀態。有關已啓動和暫停狀態的更多詳細信息,請參閱下文。

當我設置工作流程給靜態人員發送電子郵件時,它工作正常。

下面是在工作流中的電子郵件的配置:

  • 數據來源:當前項目
  • 場從源:SharePoint組現場]
  • 返回領域爲:電子郵件地址

其他一些注意事項:

  • 該組設置在父級共享點上,並具有對父級和子級的讀取權限。

  • 集團是由每個人都可見

詳細瞭解狀況:

入門:

Retrying last request. Next attempt scheduled in less than one minute. Details of last request: HTTP BadRequest to https://sharepointsite.com/site/subsite/_vti_bin/client.svc/sp.utilities.utility.ResolvePrincipalInCurrentcontext([email protected],scopes='15',sources='15',inputIsEmailOnly='false',addToUserInfoList='True')?%40ParamUser='SD&I+Service+Focal(s)' Correlation Id: c9706d34-5654-3916-bdde-3ae4147b18cf Instance Id: 9b57de3d-d115-4a79-b2e5-e2a9239e8709 

暫停:

RequestorId: c9706d34-5654-3916-0000-000000000000. Details: An unhandled exception occurred during the execution of the workflow instance. Exception details: System.ApplicationException: HTTP 400 {"error":{"code":"-1, Microsoft.SharePoint.Client.InvalidClientQueryException","message":{"lang":"en-US","value":"The query string \"input\" is missing or invalid."}}} {"Transfer-Encoding":["chunked"],"X-SharePointHealthScore":["0"],"SPClientServiceRequestDuration":["7"],"SPRequestGuid":["c9706d34-5654-3916-bbfd-0b7313f83918"],"request-id":["c9706d34-5654-3916-bbfd-0b7313f83918"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"MicrosoftSharePointTeamServices":["15.0.0.4737"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1; RequireReadOnly"],"Cache-Control":["max-age=0, private"],"Date":["Mon, 10 Oct 2016 16:03:57 GMT"],"Set-Cookie":["BIGipServerwcms-ew-80-pool=3893922185.20480.0000; path=\/"],"Server":["Microsoft-IIS\/8.0"],"X-AspNet-Version":["4.0.30319"],"X-Powered-By":["ASP.NET"]} at Microsoft.Activities.Hosting.Runtime.Subroutine`1.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

在我的特殊情況下,答案是SharePoint組名稱中包含&符號。在api調用期間,SharePoint並不打算對其進行編碼。我也在其他地方讀過,撇號可能會導致這個錯誤。

相關問題