Support Questions
Find answers, ask questions, and share your expertise

NiFi Attribute toNumber failing validation

Super Guru

I used the update attribute to create an attribute called compressvalue and set it to 2. Then I used this attribute in the posthttp processor Attribute Compression Level and used my attribute $(compressvalue:toNumber()). The processor fails to validate complaining my attribute is not an integer. any ideas?

1 ACCEPTED SOLUTION

The Compression Level property doesn't look like it supports expression language. The docs should say which properties do.

View solution in original post

1 REPLY 1

The Compression Level property doesn't look like it supports expression language. The docs should say which properties do.

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.