“如何停止”;Salesforce错误“;报告批处理错误的电子邮件

“如何停止”;Salesforce错误“;报告批处理错误的电子邮件,salesforce,apex,Salesforce,Apex,我们定期收到Salesforce关于批次Apex错误的自动电子邮件,但在1)禁用错误电子邮件和2)跟踪问题方面遇到了问题。有没有办法禁用这些错误消息(组织中的许多人定期收到这些消息,我希望只有一个用户(如果有的话)收到它们)?有没有办法具体查看是哪个Apex脚本触发了这些错误,或者获取有关错误的更多信息 下面是一个示例错误消息: Organization: Organization Name(0000000000000000) User: email@gmail.com(000000000000

我们定期收到Salesforce关于批次Apex错误的自动电子邮件,但在1)禁用错误电子邮件和2)跟踪问题方面遇到了问题。有没有办法禁用这些错误消息(组织中的许多人定期收到这些消息,我希望只有一个用户(如果有的话)收到它们)?有没有办法具体查看是哪个Apex脚本触发了这些错误,或者获取有关错误的更多信息

下面是一个示例错误消息:

Organization: Organization Name(0000000000000000)
User: email@gmail.com(0000000000000000)

Salesforce reported the below errors as NPSP was attempting to execute its batch jobs, or at a time when it was unable to display error messages directly to a user. It’s likely that NPSP was attempting to update summary fields on Accounts and Contacts, but was unable to save certain records. This failure might have been caused by a variety of issues unrelated to NPSP, such as custom code or validation rules.

Read this article on the Power of Us Hub to learn how these Scheduled Jobs work: https://powerofus.force.com/NPSP_Scheduled_Jobs

If you’re not sure how to resolve these errors, post a message in the Nonprofit Success Pack group in the Power of Us Hub: https://powerofus.force.com/HUB_NPSP_Group


Errors:

----------
 Error #1:

Error Type: Batch Apex error
Error Date: 2017-09-11 04:00:25
Message: "First error: Update failed. First exception on row 0 with id 003i000001ILolWAAT; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION, Please enter a Mailing Country.: []"
Context: npsp__RLLP_OppSoftCreditRollup_BATCH

Stack Trace:
 null

这不是平台发送的标准电子邮件。这是由NPSP发送的自定义电子邮件,您必须已安装

如果您不需要这些批处理过程工作,可以通过设置计划作业来停止它们的运行

如果您确实需要运行它们,那么您只需转到错误联系人003i000001ILolWAAT中指示的记录,并填充邮寄国家/地区。您还可以关闭要求邮寄国家/地区的验证规则,或将其更新为不适用于您的用户,以便在批处理过程运行时能够通过它