进程失败时发生的内容?
在用户执行可触发进程(例如创建记录)的操作且该进程失败时,用户将看到一则错误消息。错误消息包括进程名称、错误 ID,有时也包含用户为您(即 Salesforce 管理员)提供的技术信息。您可以使用错误 ID,以查找在进程失败时发送的详细错误电子邮件。
所需的 Edition
| 适用于:Salesforce Classic(并非在所有组织中可用)和 Lightning Experience |
| 适用于:Essentials、Professional、Enterprise、Performance、Unlimited 和 Developer Edition |
重要 对进程构建器的支持和更新已于 2025 年 12 月 31 日结束。这意味着不会对任何进程提供支持,也不会修复进程构建器产品中的错误。请参阅工作流规则和进程构建器结束支持。
2025 年 12 月 31 日之后,现有进程继续运行,您可以激活、取消激活和编辑它们;但是,我们建议使用 Flow Builder。要迁移现有流程,请计划切换到 Flow Builder,并使用“迁移到流”工具。对于新的自动化,请在 Flow Builder 中创建流。
电子邮件包含失败的元素、来自该失败的错误消息、标准相关详细信息以及进程尝试执行的操作。主题行为流“Process_Name”期间发生错误:错误。
示例
Error Occurred During Flow "Opportunity_Management": No applicable approval process was found.
// The error occurred when the LeadConvertEmail process was triggered.
An error occurred at element myRule_1_A1 (FlowActionCall).
No applicable approval process was found.
// The error occurred at the first action (A1) that’s associated with the
// first criteria node (myRule_1).
Flow Details
Flow Name: Opportunity_Management
Type: Workflow
Version: 3
Status: Active
Org: Acme (00DR00000000o82)
// The user triggered version 3 of the Opportunity_Management process.
Flow Interview Details
Interview Label: Opportunity_Management-3_Opportunity
Current User: Madison Rigsby (0051a000000qJXL)
Start time: 2/2/2017 11:21 AM
Duration: 0 seconds
// The process was triggered by user Madison Rigsby.
How the Interview Started
Madison Rigsby (0051a000000qJXL) started the flow interview.
Some of this flow's variables were set when the interview started.
myVariable_old = 0061a00000D3ibfAAB
myVariable_current = 0061a00000D3ibfAAB
ASSIGNMENT: myVariable_waitStartTimeAssignment
{!myVariable_waitStartTimeVariable} Equals {!Flow.CurrentDateTime}
Result
{!myVariable_waitStartTimeVariable} = "2/2/2017 11:21 AM"
DECISION: myDecision
Executed this outcome: myRule_1
Outcome conditions: and
1. {!myVariable_current.StageName} (Proposal/Price Quote) Equals Proposal/Price Quote
Logic: All conditions must be true (AND)
// The first criteria node (myRule_1) checks whether the opportunity’s StageName
// is “Proposal/Price Quote”. It is, so the process moves on to execute the associated
// actions.
SUBMIT FOR APPROVAL: myRule_1_A1
Inputs:
objectId = {!myVariable_current.Id} (0061a00000D3ibfAAB)
comment = null
Error Occurred: No applicable approval process was found.
// The process tries to execute the first associated action.
// The action fails because no approval processes exist that
// the record can be submitted to. Maybe the org doesn’t include
// any active Opportunity approval processes. Or maybe it does, but the
// record doesn’t meet the entry criteria for any of them.
Salesforce Error ID: 593281227-1030 (-1996259564)
本文章是否解决您的问题?
请与我们共享您的想法,以便我们进行改进!

