New answers tagged error-messages
2
votes
Flow - Error Occurred: Too many query rows: 50001
Your issue is indeed because you query all accounts and not a subset of them. Check if you can use DISTANCE function when getting accounts in a flow and use it if you can.
If that is not possible, you ...
- 5,166
1
vote
Flow - Error Occurred: Too many query rows: 50001
Instead of looping over all accounts and checking the radius in for loop, you can try adding the same condition in the Get Accounts.
That is, the field you are checking in the Decision statement, add ...
- 11
Top 50 recent answers are included
Related Tags
error-messages × 475apex × 146
visualforce × 78
trigger × 57
error × 53
lightning-aura-components × 30
javascript × 22
lightning × 19
marketing-cloud × 18
lightning-web-components × 16
validation × 15
visual-workflow × 14
unit-test × 13
deployment × 12
controller × 11
validation-rule × 11
soql × 10
pagemessages × 10
managed-package × 9
approval-process × 8
before-trigger × 8
adderror × 8
query × 7
formula × 7
exception × 7