I added file support to JoltTransformJSON under NIFI-4957 [1], a first glance at the code seems like it should work, but I'll try to reproduce it and follow up, thanks for bringing this to our attention!
Regards, Matt [1] https://issues.apache.org/jira/browse/NIFI-4957 On Thu, Aug 10, 2023 at 6:53 AM Matthew Hawkins <[email protected]> wrote: > > Hi devs, > > Using 1.23.0 I have a simple transform adding some flowfile attributes into > the content. > When putting the spec directly to the processor it works fine. If I have > the spec in an external file however it seems to put in the literal string > ${attrname} - ie the EL didn't process. > > Have I done something incorrectly or should I be now asking for an account > to log a bug? > > Sample spec run using Chain DSL: > > [{ > "operation": "shift", > "spec": { > "@": "values" > }, > { > "operation": "default", > "spec": { > "firstname": "${firstname}" > } > } > ] > > Kind regards, > Matthew
