Github user markap14 commented on the issue:
https://github.com/apache/nifi/pull/2777
@ijokarumawak whenever Expression Language is evaluated from a
PropertyDescriptor, it always has access to the Variable Registry. The
framework provides the variable registry to the compiled expression when it is
evaluated.---
