1
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?

2024年11月の質問の中から整理します

Last updated at Posted at 2024-11-04

まとめページに戻る
Trailhead関係 年月で整理に戻る

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

なるべく、回答の中身も転記しておきます。結構な割合で質問者さんが黒歴史を消したいのか質問自体を削除しますので... 最良の答えとしてもらっても即消されることは大変多いです。

10月は過去最低レベルの質問の少なさでした。また回答しても何にも返答もない。だんだんマナーも崩壊している感じがします。ベストアンサーも全く増えませんでしたね。

2024年11月未解決の質問


We can’t find the 'Add Step to Collection' element immediately after the 'Set Project Step Details' element" when I try to validate the pratical challenge of "Avoid Flow limits"

position for Add Step to Collection is not correct it should be after Set Project Step Details
Also make sure you saved the flow and current version of flow is activated and try to delete older version of flow

  1. From Setup, enter Flows in the Quick Find box, then select Flows.
  2. Click the name of the flow.
  3. To delete an individual version, click the Del link for that version.

Error: Unexpected token :id

Please try with the belwo code.

public class QueryContact {
  public static Id getContactID(String lastName, String title) {
    try {
      Contact myContact = Database.query(
        'SELECT ID FROM Contact WHERE lastName = :lastName AND title = :title LIMIT 1'
      );
      return myContact.Id;
    } catch (Exception ex) {
      return null;
    }
  }
  public static Id getContactIDWithBinds(Map<String, Object> bindVars) {
    String query = 'SELECT ID FROM Contact WHERE LastName = :lastName AND Title = :title LIMIT 1';
    List<Contact> contacts = Database.queryWithBinds(query, bindVars, AccessLevel.USER_MODE);
    if (contacts != null && !contacts.isEmpty()) {
      return contacts[0].Id;
    } else {
      return null;
    }
  }
}

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

We couldn't confirm Communities is enabled. Make sure Communities is enabled in Setup.

I Launched a new Playground and everything works perfectly

We couldn’t run the ruleset job. Try again later. If the error continues, contact Salesforce Customer Support.

I tried just ploughing ahead with the instructions despite the errors and what do you know, it made no difference and I was able to complete the unit! If I were using Data Cloud for real I guess it would have been a real issue, so I think you Salesforce folk should follow up anyway. Yes, I clicked the 'Run Ruleset' button when I didn't see the data. Please take it from here.

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

We can't show this data because of an error. Ask your Admissions Connect administrator for help.

Found the solution -- this is a bug in Admissions connect that was fixed by applying the the 1.16 version of Admissions connect.

We can't find the Business Rules Engine org with our sample data. Make sure you select the special Developer Edition org with Business Rules Engine from the Hands-on Challenge picklist

For this Challenge you should use Special Dev Org with Prerequired Data, which you can create following this LINK

After creating Org you should Connect this ORG to your Trailhead Profile:

https://trailhead.salesforce.com/users/profiles/orgs:

  1. Open Hands-On Orgs: https://trailhead.salesforce.com/users/profiles/orgs

  2. Click "Connect Org"

image.png

このチャレンジでは、このリンクに従って作成できる、事前必須データを備えた特別な開発組織を使用する必要があります。

Org を作成したら、この ORG を Trailhead プロファイルに接続する必要があります。

https://trailhead.salesforce.com/users/profiles/orgs :

  1. オープンハンズオン組織: https://trailhead.salesforce.com/users/profiles/orgs

  2. 「組織を接続」をクリックします

Error element Update (FlowScreen).

The flow failed to access the value for InventoryItems.selectedRows[$EachItem].00NPv000001reZp.00NPv000001rcUn because the field is not available to the running user.

Hey I was getting the same field not available error just now. In my case, it didnt like that I fed the Repeater's input source collection parameter with a Transform collection.

I assigned the Transform collection to a standard Record Collection Variable, then pointed the Repeater source to that and no longer got the error.

Not sure if that might help you but thought id share

We couldn't confirm Communities is enabled. Make sure Communities is enabled in Setup.

Could you please make sure that you are checking challenge against correct Playground.

test apex triggers public class RestrictContactByName {

{"message":"An unexpected error occurred. Please include this ErrorId if you contact support: 1483921004-509561 (733720480)","errorCode":"UNKNOWN_EXCEPTION"}

So the problem was because of the query parameters i reduced the query parameters and the issue was resolved. There was issue with one of the query parameter i didnt dig deeper on to which parameter was causing this issue. But if this issue occurs with you try reducing the parameters

"message":"sObject type 'SecurityHealthCheckRisks' is not supported.","errorCode":"INVALID_TYPE"

Represents your org’s security setting values, risks, and Salesforce-recommended setting values. Only users with the "View Setup and Configuration" user permission can retrieve data from this object. Available in Tooling API version 37.0 and later.

https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_securityhealthcheckrisks.htm

In the 'Look for Matching Account' element, we can’t find a filter for 'Name Equals $Record > Company'.

Not sure I can off much help - but what I did learn today is that you CANNOT copy and paste values into the "value" windows. The trailhead may say the text is $Record > Account > ID - but this cannot be pasted into the box. You have to start typing and then click through - only then does the syntax work.

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

We can’t find an OAuth Token from your OAuth 2.0 Web Server flow. Check your external client app configuration, and try authenticating again.

I had the same issue but was able to resolve it by creating a new playground and completing the challenges again.

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

We can’t find the 'Variables' flow. Make sure you saved the flow with 'Variables' as the API name.

I was able to resolve it. I reviewed it again; while saving the flow, I ensured that the correct name was used, and it went through.

1
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
1
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?