Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

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.