Build Flows with Flow Builder> Flow Builder Logic> Define Multiple Paths in a Flow


# Define Multiple Paths in a Flow

何もしないで検証ボタンを押す

::: note alert
We can’t find a Record-Triggered Flow named 'Add Generator Product to Named Opps'. Make sure you saved the flow with 'Add_Generator_Product_to_Named_Opps' as the API Name.
:::

Set Case Priorityを作っただけ

::: note alert
We can’t find a Record-Triggered Flow named 'Add Generator Product to Named Opps'. Make sure you saved the flow with 'Add_Generator_Product_to_Named_Opps' as the API Name.
:::

説明の最後まで作ったけど関係ないですね。

::: note alert
We can’t find a Record-Triggered Flow named 'Add Generator Product to Named Opps'. Make sure you saved the flow with 'Add_Generator_Product_to_Named_Opps' as the API Name.
:::

:::note alert
In the Check Opp Name element, we can’t find the default outcome named 'None'.
:::
ああ、設定忘れた

+ [In the Check Opp Name element, we can’t find the default outcome named 'None'.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000OsdwQSAR)

:::note
Make sure when you Paste in your "None" Default Outcome Label you select Done rather than Cancel.

Your Default Outcome still shows "Default Outcome Label" in that screenshot and it should say "None".

Then make sure you Save As a New Version and Activate again.
:::

+ [In the Check Opp Name element, we can’t find the default outcome named 'None'.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000OsdwQSAR)

:::note
Make sure when you Paste in your "None" Default Outcome Label you select Done rather than Cancel.
Your Default Outcome still shows "Default Outcome Label" in that screenshot and it should say "None".
Then make sure you Save As a New Version and Activate again.

「なし」のデフォルト結果ラベルに貼り付けるときは、キャンセルではなく完了を選択してください。
デフォルトの結果には、そのスクリーンショットに「デフォルトの結果ラベル」がまだ表示されており、「なし」と表示されているはずです。
次に、必ず新しいバージョンとして保存し、再度アクティブ化してください。
:::

:::note alert
In the Add Generator Product to Named Opps flow, we can't find the latest version activated.
:::

有効化までチェックしているとは...


# In the create 2000 Opp product element, We can't find the pricebookEntryId set to Get_2000_PBE>id
+ [Build Flows with Flow Builder> Flow Builder Logic> Define Multiple Paths in a Flow](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000PklqT)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/78147d35-2451-c6bf-4ba5-a8efabd5b47b.png)

あっている感じなんだけど、よくわからん

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/9346bc11-83b7-efd2-bab3-b889c5116e25.png)


# In the Get 2000 PBE element, we can’t find a condition requirement that 'Product2Id Equals Product from Get_2000_Product > Id'.

+ [hi, in the Define Multiple Paths in a Flow in gtrailhead on the challenge i get this error In the Get 2000 PBE element, we can’t find a condition requirement that 'Product2Id Equals Product from Get_2000_Product > Id'.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000OrYXDSA3)


![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/ea41ccf7-8a25-1ca5-a74b-6ff9e728e691.png)

:::note
Can you please make sure you enter Product2Id instead of pricebook2Id. 
:::

# We can’t find a Create Records element named 'Create 1500 Opp Product'. Make sure its API Name is 'Create_1500_Opp_Product'

+ [Define Multiple Paths in a Flow(unit1):unable to find API names](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000PewlH)

:::note
Change the label to Create 1500 Opp Product .

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/1590c478-37e5-2250-addf-133e9bddfdf9.png)

https://www.youtube.com/watch?v=-s0k41yQ5Qs
:::

+ [Flow Builder Logic - Define Multiple Paths in a Flow](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V000074VrmS)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/576c86bb-54b4-b46b-4f31-828a0a63a91a.png)

:::note
I deleted all older flows and versions and made sure it was the only one active. Unfortunately, I am still getting the same error, so I've logged a case. Hopefully, someone will be able to go into it and check it out. Maybe there's a glitch? I'm considering just starting over, completely.
:::

# In the Create 1500 Opp Product element, we can’t find the 'PricebookEntryId' set to 'Get 1500 PBE > Id'.

+ [Getting error we can’t find the 'PricebookEntryId' set to 'Get 1500 PBE > Id' in multiple flow challenge](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007H9sn8)

:::note
Please compare the settings below.

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/9be51036-81d5-906b-371d-3bb961a7bb01.png)
:::


# The "Product from Get_1500_Product > Id" does not appear as an option in the Value space in the "Get New Records" for "1500kW.

+ [Define Multiple Paths in a Flow Unit - Missing Value](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000PfDiG)

:::note
I recreated the entire flow and the missing value appeared on that one. Everything was the same on both flows, so I didn't do anything differently... but it worked!
:::


# Calculate Values in Variables and Formulas

何もせずに検証ボタンを押してみる

:::note alert
We can’t find a record-triggered flow named 'Add VIP to Description'. Make sure you saved the flow with 'Add_VIP_to_Description' as the API name.
:::

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/72884fdc-6851-7602-e3f8-fd3b4b122b6b.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/bf4362d9-282a-df8f-20f5-2dd1a2c0cc0a.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/e679ede7-d8a0-4621-28cd-2fd34f3c5d43.png)

:::note alert
In the Add VIP to Description flow, we can’t find a trigger that runs the flow only when a record is updated.
:::

あちゃ、新規作成だけになってた。

:::note alert
In the Add VIP to Description flow, we can’t find a setting to run the flow only when a record is updated to meet the condition requirements.
:::

さっき、新規だけにしてたから

Only when a record is updated to meet the condition requirements　が選択されてなかった

:::note alert
In the VIP Description variable, we can’t find the default value set to 'VIP. '. (Don’t forget the period and space after VIP.)
:::

おお、予定通りのエラー
ピリオドの後にスペースがない

:::note alert
In the Get Account element, we can’t find a condition requirement that 'Id Equals $Record > AccountId'.
:::

わざと２つスペースを入れたらこのエラーだ

:::note alert
In the Get Account element, we can’t find a condition requirement that 'Id Equals $Record > AccountId'.
:::

スペースを一つにしても関係ない？ああ、確かに間違えてました。

+ [In the Get Account element, we can’t find a condition requirement that 'Id Equals $Record > AccountId'.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000PjtFx)

:::note
This resolved my issue:  https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000OsQGKSA3
:::


:::note alert
In the Add VIP to Description flow, we can't find the latest version activated.
:::

これもアクティベートをチェックしているな。

# In the VIP Description variable, we can’t find the default value set to 'VIP. '. (Don’t forget the period and space after VIP.)

+ [Calculate Values in Variables and formulas Challenge isn't checking correctly](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V000075vknt)

:::note
It should be

```
VIP.
```
 
Not

```
VIP .
```
 
https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000JgwteSAB
:::

+ [【未解決】Calculate Values in Variables and formulas Challenge isn't checking correctly](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V000075vknt)



#  VIP. が先頭になっているのは何故？

+ [Calculate Values in Variables and Formulas unit - why is text added to start?](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007RJkZ2)

:::note
I realize I should have clarified-- the challenge asks you to add "VIP. " to the start of the description, and I followed the instructions successfully. 

So, a disclaimer in case anyone gets confused by this conversation-- the exercise @Ortega Roberto helped me work through, of adding the VIP text to the end of the description, was not intended to solve the challenge. My problem was that I misunderstood how the Add operator works with variables and values in the Assignment element, and by Roberto helping me understand how to add text to the end of existing text, I was able to understand why VIP was added to the beginning of existing text.
:::

# In the start element of the Add VIP to Description flow, we can’t find a condition requirement that 'Name Contains VIP'.

+ [【未解決】In the start element of the Add VIP to Description flow, we can’t find a condition requirement that 'Name Contains VIP'.](https://trailhead.salesforce.com/trailblazer-community/feed/0D5KX00000J8VmE)

# 未分類

+ [In the Get PBE element, we can’t find filters that check if 'Pricebook2Id' Equals 'PricebookID' and 'Product2Id Equals Get_Product > Id'](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V000079RAW8)

:::note
I think you have the wrong combination of fields and values.

Add another condition requirement:

+ Field: Product2Id
+ Operator: Equals
+ Value: Product from Get_Product > Id

https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000JgRdE
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/813a186f-371a-d303-d9be-483f0b5acdeb.png)
:::

# In the Get PBE element, we can’t find filters that check if 'Pricebook2Id' Equals 'PricebookID' and 'Product2Id Equals Get_Product > Id'.

+ [Run a Flow within a Flow Help](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000JgRdE)
+ [In the Get PBE element, we can’t find filters that check if 'Pricebook2Id' Equals 'PricebookID' and 'Product2Id Equals Get_Product > Id'.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007O5H3I)
+ [【未解決】Run a Flow within a flow error](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007SrxEc)
+ [Run a Flow Within a Flow Getting error: In the Get PBE element, we can’t find filters that check if 'Pricebook2Id' Equals 'PricebookID' and 'Product2Id Equals Get_Product > Id'"](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007ifj4CSAQ)

:::note
I think you have the wrong combination of fields and values.

Add another condition requirement:
+ Field: Product2Id
+ Operator: Equals
+ Value: Product from Get_Product > Id

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/ff10b849-0f4f-4922-def0-e1594e06c853.png)
:::

+ [Run a Flow Within A Flow](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007LTpKX)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/4b9a725b-6c16-76ac-5581-4edbd4b2478c.png)

:::note
for others that may have encountered the same problem.   deleting previous versions of the subflows , redoing the Get PBE and Create Opp Product  elements and the calling of the subflow may be required to address the problem. 

同じ問題に遭遇した可能性のある他の人のために。問題に対処するには、以前のバージョンのサブフローを削除し、Get PBE 要素と Create Opp Product 要素をやり直して、サブフローを呼び出すことが必要な場合があります。
:::


+ [In the Get PBE element, we can’t find filters that check if 'Pricebook2Id' Equals 'PricebookID' and 'Product2Id Equals Get_Product > Id'.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007ajaTESAY)

+ [Error in "Run a Flow Within a Flow"](https://trailhead.salesforce.com/trailblazer-community/feed/0D5KX00000MaLns)

:::note
I think  Pricebook2Id  not assigned correctly, try to select from dropdown list and make sure you created all variables in flow

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/8981721f-5f87-cf01-99e4-b1831ef31776.png)

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

# In the Get 1500 PBE element, we can’t find a condition requirement that 'Product2Id Equals Product from Get_1500_Product > Id'

+ [Getting error " In the Get 1500 PBE element, we can’t find a condition requirement that 'Product2Id Equals Product from Get_1500_Product > Id'.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007OrZwR)

+ [Getting error " In the Get 1500 PBE element, we can’t find a condition requirement that 'Product2Id Equals Product from Get_1500_Product > Id'.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007OrZwR)
+ [I am getting error after checking the requirements three times](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007ifqEg)

:::note
Get_1500_Product 要素を確認し、これらのチェックボックスがオンになっていることを確認します。

Check the Get_1500_Product Element, and make sure these checkboxes are checked

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/e121f47d-e45a-eea9-cd52-986f4048a985.png)
:::

# In the X1500kW outcome, we can’t find a condition requirement that '$Record > Name Contains 1500'.

+ [【未解決】In the X1500kW outcome, we can’t find a condition requirement that '$Record > Name Contains 1500'.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007MZuziSAD)
+ [【未解決】In the X1500kW outcome, we can’t find a condition requirement that '$Record > Name Contains 1500'.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007OXaLZSA1)
+ [【未解決】Define Multiple Paths in a Flow](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007KYA93SAH)
+ [【未解決】I am getting this error "In the X1500kW outcome, we can’t find a condition requirement that '$Record > Name Contains 1500'. please help me to solve this issue?](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007UssfF)
+ [【未解決】In the X1500kW outcome, we can’t find a condition requirement that '$Record > Name Contains 1500'.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007ZC3lVSAT)
+ [In the X1500kW outcome, we can’t find a condition requirement that ‘!$Record>Name Contains 1500’.](https://trailhead.salesforce.com/trailblazer-community/feed/0D5KX00000Kg476)

:::note
Check out the decision 

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/5fee52eb-7e38-ea04-7e04-67731bbc2c1e.png)

The decision was the issue.  I had 2000 in both the 1500 outcome and 2000 outcome.  I changed the 1500 outcome to 1500.  Now the "Challenge" passed.
:::





# In the Get Pricebook element, we can’t find a condition requirement that 'Name Equals Standard Price Book'.

+ [In the Get Pricebook element, we can’t find a condition requirement that 'Name Equals Standard Price Book'.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007A2YKXSA3)

:::note
I encountered the same error today.

In order to resolve the issue had to create a new org because I have previously installed BOTanicals that mess up with already built-in product properties on the specific playground.

今日同じエラーに遭遇しました。

この問題を解決するには、新しい組織を作成する必要がありました。これは、特定のプレイグラウンドに既に組み込まれている製品プロパティを台無しにしてしまう BOTanicals を以前にインストールしたためです。
:::

# In the Get Pricebook element, we found unexpected condition requirements. Remove all extra condition requirements

+ [flow builder error message](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007cmAWL)

:::note
Make sure you assigned correct condition

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/b744d04d-7244-b6d2-7ffa-aa957ffc1298.png)
:::

# このフローはケースで機能し、商談製品では機能しないことです。何が足りないのでしょうか?

+ [The 'Run a Flow Within a Flow' requires a flow from the 'Define Multiple Paths in a Flow' module called](https://trailhead.salesforce.com/ja/trailblazer-community/feed/0D54V00007eqAas)


# Whoops, looks like there was a problem. Please try again.

+ [Whoops, looks like there was a problem. Please try again.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007ig65kSAA)

# In the X1500kW outcome, we can’t find a condition requirement that '$Record > Name Contains   
+ [am stuck on Define Multiple Paths in a Flow and getting a error and trying to fix it and if i could plz and ty get some assistance](https://trailhead.salesforce.com/trailblazer-community/feed/0D5KX00000MZ334)

:::note
the issue  was resolved by re-entering the fields.  

Can you check that you don't have a space before the value 1500? Also delete any previous versions of flow if you have them 

It would be best if you used "Contains" in the decision Node instead of Equals. 
if it helps, then please do click on the like button! thanks 


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


# In the 'Create 1500 Opp Product' element, we can’t find the input value for 'ProductKW' set to '1500'.

+ [am stuck at the end of the challenge on Run a Flow Within a Flow and getting a error and trying to fix it](https://trailhead.salesforce.com/trailblazer-community/feed/0D5KX00000MbBYd)

:::note
I think the decision element has been removed. 

No 1500KW path 

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/fd700ef2-33d3-41eb-9d63-a883912942dc.png)

https://trailhead.salesforce.com/content/learn/modules/flow-build-logic/run-flow-within-flow
:::

# In "Define Multiple Paths in a Flow" Challenge, In the Get Pricebook element, we can’t find a condition requirement that 'Name Equals Standard Price Book'.

+ [In "Define Multiple Paths in a Flow" Challenge, In the Get Pricebook element, we can’t find a condition requirement that 'Name Equals Standard Price Book'. I am getting the following error. Can anyone help me on this? I really appreciate your support.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007Ph8gH)

:::note
Try launching a new playground. I was able to resolve this issue by doing so, as others have suggested.


However, I ran into a different issue with a subsequent step, the Get 1500 Product, which required Salesforce's help. The "All Conditions Are Met (AND)" condition requirement wasn't working correctly. Hopefully it is for you. When you Edit Get Records for the "Get 1500 Product" and "Get 2000 Product," manually type the simple numerical values "1500" and "2000" in the respective values field. Do not select the "X1500kW" or "X2000kW" values that appear when you start typing. 

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