I might still hack out a prototype and send it as a PR because it would be like a really beefed up version of RouteOnAttribute that is built around policy enforcement with attributes.
On Thu, Dec 20, 2018 at 12:18 PM Mike Thomsen <[email protected]> wrote: > This is probably enough: > https://nifi.apache.org/docs/nifi-docs/html/expression-language-guide.html#allattributes > > I missed that because I was thinking "how do I do a bunch of 'and must > exist' statements." > > Thanks, > > Mike > > On Thu, Dec 20, 2018 at 12:01 PM Mark Payne <[email protected]> wrote: > >> Hey Mike, >> >> I would recommend RouteOnAttribute for that. >> >> Thanks >> -Mark >> >> Sent from my iPhone >> >> > On Dec 20, 2018, at 11:45 AM, Mike Thomsen <[email protected]> >> wrote: >> > >> > Do we have any processors that would be particularly good at checking a >> > flowfile for the existence of certain mandatory attributes and then >> routing >> > flowfiles missing them to a failure relationship? >> > >> > I have a processor sketched out in my head for this already, but don't >> want >> > to reinvent the wheel. >> > >> > Thanks, >> > >> > Mike >> >
