0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

フローでのエラーのデバック: An unhandled fault has occurred in this flow

Posted at

Flow Error - An unhandled fault has occurred in this flow

When a process or flow interview fails, a detailed email is sent to the admin who last modified the process or flow. However, sometimes the admin isn’t the best person to act on the details of what was executed and what went wrong. In that case, you can send error emails to the Apex exception email recipients.

プロセスまたはフローのインタビューが失敗すると、プロセスまたはフローを最後に変更した管理者に詳細な電子メールが送信されます。ただし、管理者は、実行された内容や問題の詳細に対処するのに最適な人物ではない場合があります。その場合、Apex 例外メール受信者にエラーメールを送信できます。

ということで、例外メールの受信者の設定を確認。

今回のエラーは承認プロセスみたいです。

Error Occurred: No applicable approval process was found.

Transaction Rolled Back

Because an error occurred, any records that the flow was ready to create, update, or delete weren’t committed to the database.

以下をチェックするみたいです。

check the following reasons-

  1. correct entry criteria
  2. initial submitters
  3. permissions

in my case, it was the initial submitters causing the problem
https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000A7vPzSAJ

I solved this by removing the Entry Criteria. It said that a criteria won't required, but it actually fails if one is present.

結果は

it was issue with Initial Submitters.

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?