• Stephen Long 6
  • NEWBIE
  • 15 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 2
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 3
    Replies
Hi All,

This is more informative than a question - incase anyone else comes looking for this answer as this is a Premium Support only request.

If you are running a GET RECORDS in a flow and it is failing to find records - you may find that your Object has too many records and you are using a non-selective (fields are not indexed) query.

Please see articles and error I received in debug below:

https://help.salesforce.com/articleView?id=000325257&language=en_US&type=1&mode=1

https://help.salesforce.com/articleView?id=000323572&type=1&mode=1

Please include this ErrorId if you contact support: 1328908832-31586 (-548403183)
Hi All,

This is more informative than a question - incase anyone else comes looking for this answer as this is a Premium Support only request.

If you are running a GET RECORDS in a flow and it is failing to find records - you may find that your Object has too many records and you are using a non-selective (fields are not indexed) query.

Please see articles and error I received in debug below:

https://help.salesforce.com/articleView?id=000325257&language=en_US&type=1&mode=1

https://help.salesforce.com/articleView?id=000323572&type=1&mode=1

Please include this ErrorId if you contact support: 1328908832-31586 (-548403183)
Hi All,

This is more informative than a question - incase anyone else comes looking for this answer as this is a Premium Support only request.

If you are running a GET RECORDS in a flow and it is failing to find records - you may find that your Object has too many records and you are using a non-selective (fields are not indexed) query.

Please see articles and error I received in debug below:

https://help.salesforce.com/articleView?id=000325257&language=en_US&type=1&mode=1

https://help.salesforce.com/articleView?id=000323572&type=1&mode=1

Please include this ErrorId if you contact support: 1328908832-31586 (-548403183)
I have two custom objects both form managed packages. 
I would like to create a visual force page using these objects where A is the master of object B. 
All I want to do is display related list. How do I achieve that in a visualforce page.
I have tried using 
<apex:page standardController="MyMasterObject__c">
<apex:relatedList list="MyChildObjects__r" />
</apex:page>
 
I'm trying to compare 2 lists using flow. I'm not an apex developer and would prefer to do this entirely with clicks. I've tried to do this using 2 fast lookups and then nesting one loop inside the other. The first lookup grabs a set selection of contacts and places into an sobject collection. The second grabs a set of account records and places into a separate sobject. I then start a loop through the contacts and a loop through the accounts. If the accountid=account.id I check a condition. If that condition is true I go to the next contact. If false, it adds the record to new collection variable. If the accountid<>account.id, I loop to the next account.
For me, I call that a "nested loop".
What I'm finding is the inside loop (the one through the accounts) isn't restarting when I go back to next contact. I've turned on debug and I see the iteration of the account loop doesn't restart. Even with ordering the original collections by the accountid/account.id, I'm not getting the desired results.
My questions are: 1) is there a better way to do this type of check? (I want to be able to use nested loops in other items too) and 2) is there a way to get the loop to restart from the original iteration.
Restrictions: there will be more than 100 records, so I will run into limits.
Here's an example of the flow. Please note that HH is the "account" object for me.
Flow with nested loop