Github user ottobackwards commented on the issue:
https://github.com/apache/nifi/pull/2951
Ran with contrib-check, and stepped through.
@markap14 this is certainly a better fix for the issues than my other PR's.
I learned something I didn't know about the el evaluation and the additional
attributes. I certainly tackled this from the wrong angle.
I enthusiastically support this code's replacement of my initial PR and
closing out my current one when this lands. +1
@mosermw, since you reviewed my other pr, can you take a look at this?
---