0

Can I not have a fast/record lookup that returns a collection of IDs and then do a second fast/record lookup using that collection of IDs in the filter criteria?

I think the answer to this is that flows don't allow it, but I want to confirm.

4
  • do you want to achieve this in same screen or different screen? Mar 22 '17 at 16:16
  • @SantanuBoral This is actually an autolaunched flow. Sorry, should have specified.
    – Adam H.
    Mar 22 '17 at 16:57
  • Not sure if this can be done, but it would be use the first fast lookup to populate an sObject Collection variable, then loop through that one by one to lookup the other records into an sObject variable and add those to a different sObject Collection. Going to see if I can do this in a dev org.
    – Dave Humm
    Mar 22 '17 at 17:02
  • Thanks @DaveHumm, but I would like to stay away from queries within the loop so that I don't hit limits and generally slow performance.
    – Adam H.
    Mar 22 '17 at 17:27
1

The straightforward and short answer is, currently what you're trying to achieve is not possible in Flow.

Possible solution: - There is a plugin created by a community member (I think I heard about it on success community workflow group) to overcome it.

1
  • 1
    Yes, hitting the flow limitations. The only other workround I could see would be having an invocable apex class called by the flow which does get round some of the limits and perfomrance issues with bulk work using flow.
    – Dave Humm
    Mar 23 '17 at 8:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.