Output filter lookup

Apologies if I missed this in the documentation.

Is there a filter that will discard an entire record from a flow if a lookup returns a certain result? For context, the output filter on an import step allows you to discard the entire record from the flow, whereas the output filter on a lookup only discards certain records from that lookup and allows the root record to proceed. Throwing an exception in a hook would not really work in this case because it is not an error to be corrected, rather, it should be discarded silently.

The primary workaround I have been using is to map the appropriate field in the response mapping, and then use an input filter on every subsequent step. This works, but seems a little inefficient, and I was wondering if I was overlooking a simpler way.

Thanks for any insights.

0

Comments

2 comments
Date Votes
  • You can add branching after the lookup, and set it up to only have one branch, and add your filter on the flow conditions for that branch:

    2
  • Thank you, Bas van Ditzhuijzen! That is a very helpful tip.

    0

Please sign in to leave a comment.

 

Didn't find what you were looking for?

New post