nifi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Thomsen <mikerthom...@gmail.com>
Subject Re: Checking for existence of mandatory attributes
Date Thu, 20 Dec 2018 17:18:46 GMT
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 <markap14@hotmail.com> 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 <mikerthomsen@gmail.com>
> 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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message