Hi Bran,

I have an expression in file that have more than 10 condition. I am reading
a file using list and fetchs3. Using extracttext i am extracting as
attribute (test).

I am trying to use test in routeonattribute but it shows an error like it
was expecting boolean but having string value.

please let me know if you have any question.

Thanks,
selvam R

Thanks,
Selvam R

On Thu, Oct 6, 2016 at 8:57 PM, Bryan Bende <[email protected]> wrote:

> Hello,
>
> I'm not totally sure, but I think this creates two levels of expression
> language and won't work.
>
> Typically the flow file would have an attribute like db.table.name and
> then in RouteOnAttribute you would define a property like test =
> ${db.table.name:equals('test')}.
>
> -Bryan
>
> On Thu, Oct 6, 2016 at 3:31 PM, Selvam Raman <[email protected]> wrote:
>
>> Hi,
>>
>> can we refer to an attribute from a previous processor for specifying a
>> boolean clause in routeonattribute processor.
>>
>> For Eg. : A flowfile from a previous processor has  a attribute called
>> expression with value ${db.table.name:equals('test')} . Can we refer to
>> this ${expression} attribute as a boolean clause in routeonattribute
>> processor ?
>>
>> --
>> Selvam Raman
>> "லஞ்சம் தவிர்த்து நெஞ்சம் நிமிர்த்து"
>>
>
>


-- 
Selvam Raman
"லஞ்சம் தவிர்த்து நெஞ்சம் நிமிர்த்து"

Reply via email to