In my flow I work with payloads containing geo-coordinates and about 40 nodes representing geofences. Each payload passes through all fence filter nodes (in parallel). When the coordinates lie within a fence the node title is added to the payload and the payload is returned. If a fence does not match nothing is returned. All outputs end in a single string of nodes for further processing. The fences are exclusive, there are no overlapping areas.
What is a good approach to work with a message that did not match any fences (i.e. that is not returned by any geo-fence node)? A possible workaround I see is to set a match variable to false before the matching nodes and have a function node directly after the fences which would set it to true. If in the same flow I check the variable 250 milliseconds later I would know that there was no match.
Is there something better, less error-prone?