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?

モジュール Record-Triggered Flows

Last updated at Posted at 2023-05-16

Record-Triggered Flows

この環境で実施 otsubo@wise-shark-ci0xb3.com

Build a Record-Triggered Flow

  • 何もしないで検証ボタンを押した場合

We can’t find a flow with 'Review Opportunity with Account Owner' as the label and 'Review_Opportunity_with_Account_Owner' as the API Name.

  • 説明されているフローを完了した後に検証ボタンを押した場合

We can’t find a flow with 'Review Opportunity with Account Owner' as the label and 'Review_Opportunity_with_Account_Owner' as the API Name.

このモジュールは説明は関係ないみたい

  • とりあえず基本部分まで入力して保存した場合

In the 'Review Opportunity with Account Owner' flow, we can’t find a 'Create Records' element with 'Create_Email_Task' as the API Name.

  • 名前を間違えた

image.png

In the 'Review Opportunity with Account Owner' flow, we can’t find a 'Create Records' element with 'Create_Email_Task' as the API Name.

  • 何で?

In the 'Create Task' action, we can’t find the 'OwnerId' field set to the owner of the Opportunity that triggered the flow.

UserIdまで選択したから?

image.png

何だろうなぁ

The field "OwnerId" isn't compatible with the SObject element "$Record". "$Record" can't be a SObject.

こんなエラーまで...

If you're working on a screen component, check your component configuration for invalid values.
Uncaught Error: Element must be non empty object but instead was undefined throws at

下の選択肢を選ぶ

image.png

image.png

I was having the same issue, and I believe I figured it out.

While you're choosing a value, you first click on $Record (It references opportunity underneath) and it has a picture of a globe next to it. Then you have to scroll down to click on the OwnerID that has the symbol Aa next to it. For it to work properly. You also have to do the same thing for the WhatId Value as well.

I'm still learning the exact terminology, but I believe the first OwnerID and AccountID options that show up (that don't have an icon to the left of the name) are considered field options and not values. The OwnerID and AccountID options that show up with the icon Aa next to them, are considered value options and can be used as values in this context.

https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000JgJxzSAF

  • 最終形

不思議なことに有効化しなくてもエラーにはならなかった

image.png

image.png

トレイルヘッドの質問

I changed the API name of my replacement to something different; I was then allowed to keep the name the same, even though I was told there was a duplicate, and having done that, I was able to successfully pass the review and move on.

Add a Scheduled Task to Your Flow

  • 何もしないで検証ボタンを押した場合

In the 'Review Opportunity with Account Owner' flow, we can’t find a Path with the API name 'X3_Days_After_Last_Modified_Date'. Make sure you saved the changes in your flow.

トレイルヘッドの質問

$Record > OwnerId is assigned to another field.

WhoId --> OwnerID

image.png

未分類

Make sure your WhatId is $Record>Account Id not $Record>Account>Account Id

image.png

image.png

I think there are two OwnerIds. Please try using the one below.

image.png

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?