Mike,
I also have a Pull Request in that allows a Record to be returned from a
LookupService and then have LookupRecord
add all of the fields of that Record to the incoming data instead of adding the
Record itself. So, for example,
you could have a Scripted LookupService return a record like:
{
"key1": "value1",
"key2": "value2",
"key3": "value3"
}
And then LookupRecord would insert all of those values into your incoming
Record as desired. So I would expect that
update should be in the next release.
Thanks
-Mark
> On Aug 29, 2017, at 1:36 PM, Matt Burgess <[email protected]> wrote:
>
> Right now it's a single update per processor, you can provide multiple keys
> to do a compound lookup but it returns a single value. ExecuteScript is
> technically record-aware so you could script such a thing.
>
> Regards,
> Matt
>
>> On Aug 29, 2017, at 1:32 PM, Mike Thomsen <[email protected]> wrote:
>>
>> Is it possible to make multiple updates to a record from a single call to a
>> lookup service? We have to add about 5-6 new fields to a record based on the
>> contents of a single CSV file, but it doesn't seem like
>> SimpleCsvFileLookupService or ScriptedLookupService would let us do
>> something like return a Map and merge its keys into the record. Am I missing
>> something?
>>
>> Thanks,
>>
>> Mike