フローが失敗が失敗した場合の処理
プロセスをトリガーするアクション (レコードの作成など) をユーザーが実行し、そのプロセスに失敗すると、ユーザーにエラーメッセージが表示されます。エラーメッセージには、プロセス名、エラー ID、および場合によってはユーザーが Salesforce システム管理者に提供できる技術情報が含まれます。このエラー ID を使用して、プロセスが失敗したときに送信された詳細なエラーメールを特定できます。
必要なエディション
| 使用可能なインターフェース: Salesforce Classic (使用できない組織もあります) および Lightning Experience の両方 |
| 使用可能なエディション: Essentials Edition、Professional Edition、Enterprise Edition、Performance Edition、Unlimited Edition、および Developer Edition |
重要 プロセスビルダーのサポートと更新は 2025 年 12 月 31 日で終了します。 つまり、プロセスのサポートは提供されず、プロセスビルダー製品のバグは修正されません。「Workflow Rules & Process Builder End of Support (ワークフロールールとプロセスビルダーのサポート終了)」を参照してください。
2025 年 12 月 31 日以降も既存のプロセスは引き続き実行され、有効化、無効化、編集ができますが、Flow Builder を使用することをお勧めします。既存のプロセスを移行するには、Flow Builder への切り替えを計画し、 Migrate to Flow ツールを使用します。新しい自動化の場合は、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)
この記事で問題は解決されましたか?
ご意見をお待ちしております。

