LoginSignup
2
0

More than 1 year has passed since last update.

【プロジェクト】簡単なフローの作成の覚え

Last updated at Posted at 2022-03-30

簡単なフローの作成 : Build a simple flow

ユーザから取引先責任者情報の収集

  • フローを作成して画面を追加する
  • 取引先責任者のレコード変数を作成する

まで実施して確認ボタンを押してみる 
 The "ContactName" screen component isn't properly configured. Check the instructions.

  • 名前入力コンポーネントを画面に追加する

まで実施して確認ボタンを押してみる 
 The "Account" screen component isn't properly configured. Check the instructions.

5 . [Configure Choices (選択肢を設定)] セクションの [Choice (選択肢)] で [New Choice Resource (新規選択肢リソース)] を選択します。次の値を入力します。
image.png

7 . [Done (完了)] を 2 回クリックします。
とあるけど、2回目は{!accounts}を選択してないとエラーになります。何故か自動でセットされなかった。

image.png

  • 選択リスト入力コンポーネントを画面に追加する

まで実施して確認ボタンを押してみる 
The "update_toggle" screen component isn't properly configured. Check the instructions.

  • 切り替え入力コンポーネントを画面に追加する

    まで実施して確認ボタンを押してみる 

    まだやってないものがあるのに、合格しちゃった。

組織内の一致する取引先責任者の確認

しまった、何もせずに確認ボタンを押すのを忘れた。 何もおこらず。

フローのブランチ

 何もせずに確認ボタンを押してみる 

 The "Update or Create?" decision isn't properly configured. Check the instructions for how to set the API name and the default connector label.

問題なく完了できました。

取引先責任者の作成または更新

  何もせずに確認ボタンを押してみる 
The Create Records element isn't properly configured. Make sure the element has the right label, API name, and object.

  • レコード作成要素を使用して新規取引先責任者を作成する

    まで実施して確認ボタンを押してみる 
    We couldn’t find an Assignment element with the label ‘Set Contact ID’.

  • 割り当て要素を使用してレコード変数に取引先責任者 ID を設定する

    まで実施して確認ボタンを押してみる 
    The Update Records element isn't properly configured. Make sure the element has the right label, API name, and object.

  • レコード更新要素を使用して既存の取引先責任者を更新する

    まで実施して確認ボタンを押してみる 

    There was an issue processing your verification. Please refresh the page and try again.

    あれ?なんだ。

 もう一度。

 この Challenge はすでに完了しています

ネットワーク障害かな。

終了してました。
image.png

Flow Builder >フローへの画面の追加

この続きのようです。

おいおい、画面のAPI名が指定されてないよ。

確認画面の追加
1.「Build a Simple Flow (簡単なフローの作成)」プロジェクトで作成した [New Contact (新規取引先責任者)] フローをまだ開いていない場合は、開きます。[自動レイアウト] オプションが選択されていることを確認します。
2. [画面] 要素をキャンバスにドラッグします。
3. 画面に表示ラベルを設定して、確認します。

Add a Confirmation Screen

  1. If you haven't already, open the "New Contact" flow that you created in the Build a Simple Flow project. Ensure the Freeform option is selected.
  2. Drag a Screen element onto the canvas.
  3. Give the screen a label and confirm.

もしかして、confirm ?
image.png

 何もせずに確認ボタンを押してみる 

表示ラベルが「新規商談」で API 参照名が「New_Oppty」のフローは見つかりません。
We can’t find a flow labeled 'New Oppty' with the API name 'New_Oppty'.

では、表示テキストコンポーネントに戻って、この数式を使用しましょう。
 1.表示テキストコンポーネントで、テキストボックスの上にある検索ボックスをクリックし、[新規リソース] をクリックします。

どこ?

結局何もいれずに、これを出すってこと?分かりにく。
image.png

ああ、入力場所が違うみたい。

image.png

ここの意味が分からん。 どうも検証ロジックの範囲外だから無視だな。英語を読んでも余計に分からない。
どこにそんなリンクボタンがあるんだろう? ないよ。

image.png

チャレンジは無事に終了できました。 上記の内容は全く理解できないけど...

同様の質問です。そりゃぁ私も分からんわ。

フローへのロジックの追加

まずは、何もせずに確認ボタンを押してみます。

表示ラベルが「新規商談」で API 参照名が「New_Oppty」のフローは見つかりません。

英語モードにしているつもりなんだけど日本語のエラーメッセージだなぁ。

立ち上げているTrailblazer Communityも英語にしてみると、何か日本語のメッセージとは対応してないなぁ。

 We can’t find a text variable with the API name ‘opptyStage’.

対応策

  1. Please check if you have any inactive flow version and delete them. Only active version should be there .
  2. Switch to auto layout

Error in Flow

We can’t find a connector from the screen to the assignment.

Keep getting error message stating 'We can’t find a connector from the screen to the assignment.' Please help!

In my case my flow also had a auto layout so you might want to try this too.

Make sure that your org has only one flow with the label ‘New Oppty’.

Try deleting the old version of the flow ( Deactivated ).

Not able to finish this challenge "Challenge not yet complete in training@g.com Make sure that your org has only one flow with the label ‘New Oppty’. i have checked with it but throwing the same error again and again.. Please help me what is wrong with

update_toggle.valueのエラー

image.png

I solved it you have to uncheck Manually assign variables (advanced) in the toggle that you have created

https://salesforce.stackexchange.com/questions/288746/unable-to-get-resource-in-flows

I had the same exact problem. Keiji is right, the update_toggle variable should not be manually assigned. The previous trailhead section needs to be corrected so we configure this correctly.

To edit it in the flows, click on the Contact Info screen, Edit Element. Select the Update_Toggle section that you added, in the menu at the right, open advanced, and then uncheck the box next to Manually Assign Variables. Click Done.

2
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
2
0