0
0

Opportunity recordsを作ることが出来ないというエラーの整理

Last updated at Posted at 2024-02-23

以前のチャレンジが残っていた場合のエラーメッセージ2に戻る

An unexpected error occurred while inserting Opportunity records and we couldn't check your work. Make sure Opportunity records can be inserted in this org, and click "Check Challenge" again. If this continues, contact the Trailhead Help team.

Varidatio ruleの時のエラーの回答例

Close Reasonという複数選択肢で 選択リストを値セットで定義された値に制限するチェックボックスの選択を解除します

Try unchecking the checkbox "deselect the checkbox Restrict picklist to the values ​​defined in the value set" in Picklist (Multi-Select) Options in the settings for "Close Reason".

image.png

"Try unchecking the checkbox "deselect the checkbox Restrict picklist to the values ​​defined in the value set" in Picklist (Multi-Select) Options in the settings for "Close Reason"." was the good solution for me to resolve this problem.

必須のオプションを外す

Unchecking "Required" on the Account "Support_Tier__c" field worked for me. Hope that helps.

IF(
   (ISPICKVAL( Support_Tier__c , "Gold")
       &&
    ( AnnualRevenue <
    20*$CustomMetadata.Support_Tier__mdt.Gold.Minimum_Spending__c
    )
  ), TRUE, FALSE
)

複合の回答例

I ended up creating a new playground and going through the steps again. I found that the Customize Record Pages step was different from when I went through it the first time a few weeks ago. This time it had me using Dynamic Forms and the Lightning App Builder. I was able to successfully validate the last lesson and complete the project.

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

I had to disable triggers created in previous exercises which were blocking the creation of new account record.

I did get similar error on Opportunity which I was able to fix based on steps outlined in following question:

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

結局、新しいプレイグラウンドを作成して、もう一度手順を繰り返すことになりました。「レコード ページのカスタマイズ」ステップが、数週間前に初めて実行したときとは異なっていることがわかりました。今回は、Dynamic Forms と Lightning App Builder を使用しました。最後のレッスンを正常に検証し、プロジェクトを完了することができました。

大坪 啓二 (深田電気株式会社)
こんにちは@Sadigova Lalaさん

結局、新しいプレイグラウンドを作成して、もう一度手順を繰り返すことになりました。「レコード ページのカスタマイズ」ステップが、数週間前に初めて実行したときとは異なっていることがわかりました。今回は、Dynamic Forms と Lightning App Builder を使用しました。最後のレッスンを正常に検証し、プロジェクトを完了することができました。

新しい取引先レコードの作成をブロックしていた前の演習で作成したトリガーを無効にする必要がありました。

Opportunity でも同様のエラーが発生しましたが、次の質問で説明されている手順に基づいて修正できました。

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