I'm in a flow and I Fast Created a bunch of opportunities. Now I need the record IDs of those opportunities. Since they are not automatically added to the SObject Collection I wanted to do a Fast Lookup of opportunities. I really wanted to do a filter such that:

Created Date = {!$Flow.CurrentDate}

But this causes the Lookup to come back empty. Is there something else I can do to get this lookup criteria to work? Or to get the Record IDs for a collection I just created?

  • A workaround I'm going to try is to populate with all of the Opportunities for the contact, and then using a loop and a decision element using the above formula to see if I can sort through them this way. Sep 25, 2015 at 21:54

1 Answer 1


The IDs actually are all there. The problem is that I assume you are doing this in the same Flow so there has been no commit to the database yet, thus no CreatedDate. But you can access the Ids, so I don't know why you'd need the filter at all. If you use the Collection variables again you will have access to the variables.


  • Thanks. I realize now that an issue I had before was not what I thought it was, which had further reaching effects than I initially thought. Sep 28, 2015 at 14:28

You must log in to answer this question.

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