Everybody, Long time reader, first time poster... Building my first Flow, and striking out already. Scenario: Loan custom object Related list custom object called Related Entities, with a Lookup field back to Loan From Loan, click custom button "Request Documents", which uses GetRecords element to query Related Entities where Loan__c = {!$Flow.CurrentRecord}

I've tried retrieving all data, and "Choose fields and assign variables", but neither way returns any data. When I remove the Conditions of the query, the query does find Related Entities. GetRecords query

After I find the records, I want to display them in a list of checkboxes, but I can't even get the records I want yet. (Yes, I'd love some help with that, but I guess that's a second question)

Any help would be greatly appreciated. Thanks so much! I promise I'll get pretty self sufficient with these after a bit, but would love some help getting over initial hurdles.

GetRecords query

1 Answer 1


You need to assign the value to the {!$Flow.CurrentRecord} variable first to avoid passing null values.Please check the article on how to set the value and try again.

  • Super helpful. Thanks so much, Shirisha!
    – sommerscm
    Sep 11, 2020 at 19:35
  • Can you please mark it as best answer so that this post can be closed. Sep 14, 2020 at 8:35

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .