Sorry for the resend. Thought I'd try one more time.  I'm struggling with 
LookupRecord.

I'm making good progress leaning to use using Lookup Record  Processor.
I have it working so that I know how to turn
[{"key": "value1"}, {"key":"value2"}, {"key":"value3"}]
Into
[{"key": "value1","enhanced":1}, {"key":"value2","enhanced":2}, 
{"key":"value3","enhanced":3}]
BUT
What if your array is actually inside an outer record? Is that supported?  How?

What if you have
{"foo":"bar", "outerrecord":[{"key": "value1"}, {"key":"value2"}, 
{"key":"value3"}]}
And want to turn it into
{"foo":"bar", "outerrecord":[{"key": "value1","enhanced":1}, 
{"key":"value2","enhanced":2}, {"key":"value3","enhanced":3}]}
How do you specify your lookup key is outerrecord/key, but the array of records 
is actually located at /outerrecord.  Is there some kind of path magic? Or is 
there some kind of flow magic where you have to separate outerrecord into a 
separate flow file, and then (?somehow?) glue it back in after its processed?

(If necessary, I could certainly put the whole thing into an array too, of 
course, if that helps.)

Thanks!

Reply via email to