Created on 12-15-2022 01:30 AM - edited 12-15-2022 02:19 AM
Hi everyone,
I have a issue on Nifi 1.15.3 InvokeScriptedProcessor (Groovy), I set a custom property in sensitive in my processor, put for value a context parameter which is sensitive too, but when i'm trying to context.getProperty, it return the expression #{blahblah} instead of the value.
This problem is "new", the flow was working, and one day, the token from sensitive value was not evaluated anymore...
My property declaration :
Sensitive property setup :
How i get the property :
It's not the first time I have trouble with sensitive property (It block reboot of Nifi 1.12 for example) but right now I'm stuck...
Thanks by advance
Created 06-24-2023 04:56 PM
Should look more like this:
context.getProperty(externalRequestTokenDescriptor).evaluateAttributeExpressions().getValue()