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 An unhandled fault has occurred while processing the flow. Please contact your system administrator for more information.

Last updated at Posted at 2022-06-27

このヘルプを読んでもよく分からん。

Lookup field in flow throws error: 'An unhandled fault has occurred in this flow'

未解決

解決か?

必須フィールドに値がセットされていない。

I used Custom Metadata Types (CMDT) to automate fields updates and populate some field values. It works fine in the DEV1 org, but when I deployed the Flows and CMDT to DEV2, I am getting an 'UNKNOWN_EXCEPTION: An unexpected error occurred. Please include this error Id if you contact support: 1864777442-209431 (1156755792)'. No other information.

I finally was able to isolate the issue. For everyone's knowledge, I will explain.

There was an existing Subflow, that was triggered by Process Builder before. We converted those Process Builders, in to a combined Record Triggered Flow, and the subflow was also included. The subflow was set to run 'System Context with Share - Record Level Access Enforced' which unfortunately a Record Triggered flow cannot trigger! I have changed the context to 'User or System Context - Depends on How the Flow is Triggered' and that resolved the issue.

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?