Created on 11-17-2021 01:27 AM - edited 11-17-2021 01:29 AM
Hi Team,
I've a MergeContent processor to process the two files (file1, file2) which are coming from two FlowFiles. But here the File2 comes sometimes not regularly , whereas File1 comes on daily basis.so this process two Files successfully. But How we can process the File1 whenever File2 is not present? is it possible through MergeContent Processor or is there any different approach (routing FileFlow) we need to use?
I've tried processing File1 alone but the flow got stuck in queue in between UpdateRecord & MergeContent.
Created on 11-22-2021 11:52 AM - edited 11-22-2021 11:52 AM
This has been Achieved through Merge failure can get the single File and do the required transformation and then to place the file in destination.
Created 11-17-2021 07:28 AM
Hi
If one flowfile is processed regularly and the other comes in intermittently do they even need to be merged? it sounds like the flow is so quiet that use of merge is not required?
Created 11-17-2021 12:13 PM
Thanks @Griggsy for your prompt response on this.
Yes the scenario is like this whenever the file2 comes it has go to the merge FileFlow along with File1 and after the transformation file needs to send to Destinaion.
if the File2 is not present, the daily file File1 needs to processed to different fileflow where all transformations done transferred to destination
Created on 11-22-2021 11:52 AM - edited 11-22-2021 11:52 AM
This has been Achieved through Merge failure can get the single File and do the required transformation and then to place the file in destination.