Tim, Sorry I lost track of this, I meant to respond earlier. If you can use a tool/language that brings in dependencies easily, such as Groovy, then using NiFi Expression Language to evaluate expressions is fairly straightforward, here's a Groovy script I use to do just that (the extra gravy is for CLI users):
@Grab(group='org.apache.nifi', module='nifi-expression-language', version='1.9.1') import org.apache.nifi.attribute.expression.language.* def cli = new CliBuilder(usage:'groovy testEL.groovy [options] [expressions]', header:'Options:') cli.help('print this message') cli.D(args:2, valueSeparator:'=', argName:'attribute=value', 'set value for given attribute') def options = cli.parse(args) if(!options.arguments()) { cli.usage() return 1 } def attrMap = [:] def currKey = null options.Ds?.eachWithIndex {o,i -> if(i%2==0) { currKey = o } else { attrMap[currKey] = o } } options.arguments()?.each { def q = Query.compile(it) println q.evaluate(attrMap ?: null) } Regards, Matt On Thu, Mar 21, 2019 at 5:42 PM Tim Zimmerman <iceman...@hotmail.com> wrote: > > Sorry for the delay in responding. > After looking at a few different options it looks like it will be pretty > easy to accomplish what we need using Java Unified Expression Language > <http://juel.sourceforge.net/> . > > > > > > -- > Sent from: http://apache-nifi-users-list.2361937.n4.nabble.com/