本文介绍了SharePoint Online:工作流错误消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个工作流,将日期字段与今天的日期进行比较,并检查其他字段的空值。

I created a workflow that compares date fields to todays date and checks other fields for null values.

__________________________________________________________________________________________

__________________________________________________________________________________________

设置变量

Set Variables

设置变量:TodaysDate到今天

Set Variable:TodaysDate to Today

然后将变量:EmptyStringDate设置为1/1/0001

then set Variable:EmptyStringDate to 1/1/0001

第5阶段

Stage 5

    如果(TargetedDate> EmptyStringDate) - 检查目标日期字段是否为空

     If (TargetedDate > EmptyStringDate) - Check to see if targeted date field is null

       和If(TodaysDate> TargetedDate) - 检查今天的日期是否大于

       and If (TodaysDate > TargetedDate) - Checks to see if todays date is greater than

         和if(FeedbackDate< = EmptyStringDate) - 检查FeedbackDate是否为空

          and if (FeedbackDate <= EmptyStringDate) - Checks to see if FeedbackDate is empty

电子邮件 - DistributionGroup

Email - DistributionGroup

然后记录Stage5完成工作流程历史记录

then log Stage5 Complete to the workflow history

     ELSE

     ELSE

Log Stage5对工作流程历史记录无动作

Log Stage5 No action to the workflow history

___________________________________________________________________________________________

___________________________________________________________________________________________

工作流程正在工作约2停止发送电子邮件通知的前几天。工作流程暂停后,我收到以下错误消息。

The workflow was working for about 2 days before it stopped sending email notifications. I have been receiving the below error message once the workflow becomes suspended.

RequestorId:d8ee91bd-4f7a-01ab-0000-000000000000。详细信息:在执行工作流实例期间发生未处理的异常。异常详细信息:System.ApplicationException:HTTP 403 {" error":{" code":" -2147024891,System.UnauthorizedAccessException"," message":{" lang":" en-US"," ; value":"访问
被拒绝。您无权执行此操作或访问此资源。"}}} {" Transfer-Encoding":[" chunked"],"" X-SharePointHealthScore":[" 0"]," X-MSDAVEXT_Error":[" 917656;访问+拒绝。+前+开放+文件+中+本+位置%2C +你+必备+第一+浏览+至+在+网络+现场+和+选择+在+期权+到+登录+自动" ],英寸×-SP-SERVERSTATE":["只读= 0"]," DATASERVICEVERSION":[" 3.0"]," SPClientServiceRequestDuration":[" 128"]," SPRequestDuration" :[" 322"]," SPRequestGuid":[" d8ee91bd-4f7a-01ab-9239-8a32cb2077b5"],"请求-ID":[" d8ee91bd-4f7a-01ab-9239-8a32cb2077b5"], " MS-CV":[" vZHu2HpPqwGSOYoyyyB3tQ.0"],"严格-运输和安全":["最大年龄= 31536000"],英寸×-FRAME-方式];:[" SAMEORIGIN" ]," MicrosoftSharePointTeamServices":[" 16.0.0.7911"],英寸×-的Content-Type-方式];:[" nosniff"],英寸×-MS-InvokeApp":[" 1;
RequireReadOnly"]," Cache-Control" ;: [" max-age = 0,private"]," Date" ;: [" Thu,26 Jul 2018 09:13:13 GMT"], "P3P":[" CP = \" ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT
NAV ONL PHY PRE PUR UNI \""] ,"服务器":["微软IIS\ / 8.5"],英寸×-ASPNET-版":[" 4.0.30319"],英寸×供电-所谓QUOT;:[" System.Activities的System.Activities.CodeActivity.InternalExecute(ActivityInstance实例,ActivityExecutor executor,BookmarkManager bookmarkManager)上的Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(CodeActivityContext
context)中的ASP.NET"]} .Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor,BookmarkManager
bookmarkManager,Location resultLocation)活动异常抛出序列顺序TryCatch序列Microsoft.SharePoint.WorkflowServic es.Activities.RetryForEmail HttpPost序列如果序列Microsoft.SharePoint.WorkflowServices.Activities.Email
那么如果日期专利序列流程图序列新产品状态 - 日期实际通知.WorkflowXaml_068f2686_8d23_4777_82a8_b118b5f354e6

RequestorId: d8ee91bd-4f7a-01ab-0000-000000000000. Details: An unhandled exception occurred during the execution of the workflow instance. Exception details: System.ApplicationException: HTTP 403 {"error":{"code":"-2147024891, System.UnauthorizedAccessException","message":{"lang":"en-US","value":"Access denied. You do not have permission to perform this action or access this resource."}}} {"Transfer-Encoding":["chunked"],"X-SharePointHealthScore":["0"],"X-MSDAVEXT_Error":["917656; Access+denied.+Before+opening+files+in+this+location%2c+you+must+first+browse+to+the+web+site+and+select+the+option+to+login+automatically."],"X-SP-SERVERSTATE":["ReadOnly=0"],"DATASERVICEVERSION":["3.0"],"SPClientServiceRequestDuration":["128"],"SPRequestDuration":["322"],"SPRequestGuid":["d8ee91bd-4f7a-01ab-9239-8a32cb2077b5"],"request-id":["d8ee91bd-4f7a-01ab-9239-8a32cb2077b5"],"MS-CV":["vZHu2HpPqwGSOYoyyyB3tQ.0"],"Strict-Transport-Security":["max-age=31536000"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"MicrosoftSharePointTeamServices":["16.0.0.7911"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1; RequireReadOnly"],"Cache-Control":["max-age=0, private"],"Date":["Thu, 26 Jul 2018 09:13:13 GMT"],"P3P":["CP=\"ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI\""],"Server":["Microsoft-IIS\/8.5"],"X-AspNet-Version":["4.0.30319"],"X-Powered-By":["ASP.NET"]} 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) Exception from activity Throw If Sequence Sequence TryCatch Sequence Microsoft.SharePoint.WorkflowServices.Activities.RetryForEmail HttpPost Sequence If Sequence Microsoft.SharePoint.WorkflowServices.Activities.Email Then If Date Patent Sequence Flowchart Sequence New Product Status - Date Actual Notification.WorkflowXaml_068f2686_8d23_4777_82a8_b118b5f354e6

推荐答案

从错误消息中,您无权执行操作。

From the error message, you do not have the permission to perform the action.

要解决此问题,请检查以下内容:

To troubleshoot the issue, check things below:

1 。使用当前用户登录该站点以检查用户是否可以访问该站点。

1. Login to the site with the current user to check if the user can access the site.

2。在线检查SharePoint中站点中用户的权限。

2. Check the permission of the user in the site in SharePoint online.

祝你好运,

Sara Fan


这篇关于SharePoint Online:工作流错误消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-20 14:10