Support Questions

Find answers, ask questions, and share your expertise

NiFi Attribute toNumber failing validation

avatar
Master 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

avatar
Master Guru

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

avatar
Master Guru

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