Provenance for SplitRecord has a wrong output claim file

2021-07-28 Thread Jens M. Kofoed
Hi I use a SplitRecord with a XMLReader and a JSONRecord Set writer. When looking at provenance date for the process the output claim file is equal to the input claim file which mean that both files are xml files. This is wrong, the output claim file should be the json file. If using a convertReco

Re: Provenance for SplitRecord has a wrong output claim file

2021-07-28 Thread Pierre Villard
Hi, I believe this is expected. If you have one XML file split into 10 JSON files, what would you expect for the output claim? You can use the provenance event to get the child flow files, and retrieve the claims from there. Also note that one claim file can contain multiple flow files but with di

Re: Provenance for SplitRecord has a wrong output claim file

2021-07-28 Thread Jens M. Kofoed
Thanks Pierre your are right, I didn't think of that. what should the output claim file be if there are multiple outputs. The output claim file is off course the original file :-) silly me regards Jens M. Kofoed Den ons. 28. jul. 2021 kl. 11.10 skrev Pierre Villard < pierre.villard...@gmail.com>