2023年1月の質問の中から整理します

[まとめページに戻る](https://qiita.com/Keiji_otsubo/items/60afc2a8d211b6f7d89f)

**参照して頂くのは結構ですが、そのまま内容を丸ごとコピーするような行為は控えて欲しいです。一応時間を掛けて作っているので、その点はご考慮願いたいです。**

[2023年01月未解決の質問](https://qiita.com/Keiji_otsubo/items/a79f05b872870797866d)
[2023年01月何故かベストアンサーをつけてくれない質問](https://qiita.com/Keiji_otsubo/items/813bec9de7bb61d53382)

# We can't find an entitlement template named 'Phone Support'.

 + [Challenge Get Started with Entitlements not working](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000JfkGWSAZ)

# "System.DmlException:Update failed. first error: CANNOT_EXECUTE_TRIGGER, we cant save this record because the "Fully Operational Battle Station" process failed." Verify the combination of your "Target Name Or ID" and "Target Type" fields to make sure you provide a valid user, Chatter group, or record to post to.

+ [Unable to activate flow on Battle Station App](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000JfkZs)

# failed SSRF Check

+ [Failed SSRF Check?](https://trailhead.salesforce.com/ja/trailblazer-community/feed/0D54S00000NDRk6SAH)


# This error occurred when the flow tried to look up records: SELECT Id, DeveloperName, Type FROM Group WHERE (((Type = 'Queue') AND ^ ERROR at Row:1:Column:37 sObject type 'Group' is not supported. If you are attempting to use a custom object, be sure to append the '__c' after the entity name. Please reference your WSDL or the describe call for the appropriate names..

+ [Flow unable to find Queue for Guest User](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000Jfftv)

:::note
Please check if your flow is running in user sharing mode. If it’s running change to system mode without sharing
:::

# 承認履歴にアクションを表示したいのですが、利用できません。

+ [No Action Available on Approval History](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000JfkIh)

https://ideas.salesforce.com/s/idea/a0B8W00000GdhPmUAJ/approval-history-showing-no-actions-available-in-lightning

# We couldn't find a permission set named 'Trailhead' that has the 'Multi-Factor Authentication for User Interface Logins' permission enabled.

+ [I have completed the challenge for Secure Your Users’ Identity and it is not recognizing that I have completed it](https://trailhead.salesforce.com/ja/trailblazer-community/feed/0D54S00000MjDUX)

:::note
I think its not about dev org or deleting and creating the permission set. The mistake I did was that I selected "Manage Multi-Factor Authentication in User Interface" instead of "Multi-Factor Authentication for User Interface Logins". As the settings are very similar and the wrong one comes up first in the list. It worked for me.  
:::

# Unable to find Region or Zone on the Customize Formula Fields Challenge

+ [Create Account Page Layout in the Customize a Salesforce Object Trailhead and I am having some issues.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000JfpEzSAJ)

:::note
It seems like you have not done the steps in 3rd Unit of that Module! Attaching the link for you as well:
https://trailhead.salesforce.com/content/learn/projects/customize-a-salesforce-object/picklists-field-dependencies

Unable to find Region or Zone on the Customize Formula Fields Challenge
https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000C57FWSAZ
:::

# Could not find a report named 'Opportunities by Rep and Close Month' in the 'Global Sales Reports' folder.

+ [I can't see the reports I created before via Hands-on challenge](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S000000GP9O)

:::note
I seemed to select the wrong Playground so that I couldn't find reports I created before.
:::

# Could not find the 'Annual_Energy_Usage_kWh__c' field on the custom object named 'Energy_Audit__c'.

+ [Create a Custom Object and Custom Fields](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000Jfpqa)

:::note
Sometimes the test and the installed package aren't in sync with each other.  You should try creating a custom field on the Energy Audit object, and call it "Annual Energy Usage kWh"

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

+ [I completed the Set Up your Org Unit and received the message "We couldn't find a custom object named 'Energy_Audit__c'."](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000Jg2rPSAR)

:::note
I had this same problem and found that my API names were incorrect on both the Energy Audit object and Annual Energy Usage (kWH) field. I corrected the APIs and it accepted it. 
:::

# In the validation rule named 'Revenue_Validation', we can’t find a reference to '$CustomMetadata.Support_Tier__mdt.Gold.Minimum_Spending__c'.

+ [Can not able to complete challenge Use Custom Metadata Types in Formulas, Default Values, and Validation Rules](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000KfuzkSAB)



# We could not find an Opportunity Quick Action with the Label 'New Offer' and the action type of 'Create a Record'. 

+ [Unable to add Global Quick Action New Offers](https://trailhead.salesforce.com/ja/trailblazer-community/feed/0D54S00000JfqEwSAJ)

:::note
Do one thing, First delete the "New Offer" Global Action and create again Global Action and follow all the step of the trailhead.

https://developer.salesforce.com/forums/?id=9060G0000005MUsQAM
:::

# We're having trouble processing your request. Try again or ask your Salesforce admin for help.

+ [Trial with problem in dashboard reports](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000MiBI4)


![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/df4fee93-6f97-90a1-2c2d-4dab710cb1cc.png)


:::note
**Workaround**
Go to dashboard-> Edit it-> click on gear icon i.e. 'Settings' and change the view as to 'Me' and standard user will be able to save the dashboards as well.

Note: This functionality is working as designed and will not be changed. This known issue is to reflect the vague error message received. When this known issue is closed, the fix will be more intuitive error messages for the end user.

https://trailblazer.salesforce.com/issues_view?id=a1p3A0000018BUSQA2&title=lightning-dashboard-standard-user-can-see-the-edit-button-but-upon-clicking-on-save-user-is-getting-generic-error-message
:::

# the Set Up Salesforce Flow for Service---Ready for RecordActions

+ [the Set Up Salesforce Flow for Service---Ready for RecordActions](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000JfqqH)

# Oracle Exception: ORA-06502: PL/SQL: numeric or value error: character string buffer too small

+ [Account not integrating](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000JftNA)

:::note
Do strings exist that are longer than 765 bytes (and have fewer characters)?

https://trailblazer.salesforce.com/issues_view?id=a1p4V000001JiWGQA0&title=database-triggers-on-version-objects-throws-numeric-or-value-error-character-string-buffer-too-small-error
:::





# In the Sales profile, we can't find the correct permissions for the Account object.

+ [Data Security Module - Pat 3 of Control Access to Fields Assignment](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000NQlEG)

:::note
Please check this article.

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

# Assigning permission set to Automated Process User in Salesforce causing an error "CUSTOM_TAB_LIMIT_EXCEEDED"

+ [Assigning permission set to Automated Process User in Salesforce causing an error "CUSTOM_TAB_LIMIT_EXCEEDED"](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000NRDJu)

# We could not find a flow that sends an email successfully when the Opportunity is deleted with the StageName of 'Closed Lost'.

+ [We could not find a flow that sends an email successfully when the Opportunity is deleted with the StageName of 'Closed Lost'.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000NEREW)

:::note
The solution was to use a new org and re-do the flow configuration in that new/other org.  Doing this with the same steps passed the challenge right away. 
:::

# We couldn't find the correct settings for the profile 'HR Recruiter' object named 'Candidate__c'. Double check the instructions.

+ [We couldn't find the correct settings for the profile 'HR Recruiter' object named 'Candidate__c'. Double check the instructions.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000FWpGFSA1)

:::note
+ When I refresh the site and check my answer couple of time the issue got resolved automatically. 

+ It sounds like you have created the HR Recruiter profile and given it the appropriate permissions for the Candidate__c object, but you're still encountering an error. There are a few additional things you can check to try and resolve the issue:

1. Verify that the Candidate__c object is enabled for the HR Recruiter profile. Go to Setup > Object Manager > Candidate__c > Profiles, and make sure that the HR Recruiter profile has the appropriate permissions for the object.
2. Check the field-level security for the Candidate__c object to ensure that the HR Recruiter profile has the appropriate permissions for the fields on the object. Go to Setup > Object Manager > Candidate__c > Field-level Security, and verify that the HR Recruiter profile has the appropriate access to the fields.
3. Verify that the page layout for the Candidate__c object includes the fields that the HR Recruiter profile needs to access. Go to Setup > Object Manager > Candidate__c > Page Layouts, and make sure that the HR Recruiter profile has access to the necessary fields in the layout.
4. Check if the HR Recruiter profile has the correct permissions to access related objects. For example, if the Candidate__c object has a lookup or master-detail relationship to another object, make sure that the HR Recruiter profile has the correct access to that object as well.
5. Check if you have any Sharing rules or Apex sharing enabled which might be restricting the access of the profile to the object.
6. Verify that the profile has the correct permissions to access the App. Go to Setup > App Manager > [App Name] > App Settings > Available Profiles and confirm that the HR Recruiter profile has the correct permissions.
7. If the error still persists, you might consider creating a new profile and testing it again.


It's possible that the error message may be caused by an issue specific to your organization or setup that is not covered by the steps outlined above. If none of these steps resolve the issue, it may be necessary to contact Salesforce support for further assistance.
:::

# We couldn't find URL field named 'Link'.

+ [We couldn't find URL field named 'Link'.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000NQMypSAH)

:::note
Update: I deleted the "Notes" filed and created a new one, following the same steps, and it worked. I am not sure what was wrong. I followed the exact steps both times for both "Notes" and "Link".

I hope this helps anyone else facing the same issue.
:::



# Your quick action doesn’t include the 'Status,' 'Case Owner,' and 'Internal Comments' fields. Make sure you edit the quick action’s layout to include these fields.

+ [Issue with Set up the service console productivity tool module](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000Jg3UZ)

:::note
I got the same error in this challenge,  I erased all the work and do it again, but nothing happen.
I create a case and I can see the quick action button with the correct fields
:::

+ [How to deal with an error for the challenge "Set Up Service Console Productivity Tools"](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000NGYJt)

:::note
Supplement: There is a Japanese commentary.

※筆者注： 設定を正しく実施しても

Your quick action doesn’t include the 'Status,' 'Case Owner,' and 'Internal Comments' fields. Make sure you edit the quick action’s layout to include these fields.
というエラーが発生する場合は、Challenge用組織のユーザ言語を[English]に変更し、再度Challengeの確認を実施してください。

https://sfblog.markhammer.net/entry/service-cloud-agent-productivity
:::

# Could not find an Opportunity Quick Action with the Label 'New Offer' and the action type of 'Create a Record'

+ [Unable To Complete Hands On Challenge](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000NQFDK)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/513c3238-e952-4fef-2e9f-e4f1a0e6d05f.png)

:::note
You need to deactivate record types for Opportunities.

You can do that by editing each record type and Deselecting 'Active'. 

If you get an error that it cannot be deactivated because its used by a Profile, click on each of these profiles, go to Object Settings>Opportunities>Edit, under Record Types select Opportunity Layout and deselect all other record types.

Once you did this for all relevant Profiles you should be able to deactivate that record type. Do this for all Opportunity record types.
:::

# Your connected app doesn't have an icon, or it has the incorrect one. Double check that you selected the Case Transcript icon and try again.

+ [Working on Build a Connected App. Error "incorrect icon"](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000Jg3KJ)

:::note
Please check this article.

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

# Use Lightning Data Service to Work with Data Salesforce の連絡先に名と姓のフィールドがない

+ [No First Name and Last Name fields in salesforce contact](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000JfOZx)

:::note
以下のモジュールは accountcreator に基づいており、連絡先フィールドには基づいていません。
:::