02-11-2024 1:58 PM - edited 02-11-2024 2:47 PM
Hi,
I am new to CPI and learning the tool....
I have a very simple scenario. Reading a csv file from a sftp server and generate 2 output csv files.
I succeeded in creating a integration package to read the csv file, do the mapping and create one csv output file. But when I extend this flow with a second branch for writing the second file, it fails.
Debugging shows that both gather processes aren't executed.
Basically what I did is : General Splitter > csv to xml converter > msg mapping > xml to csv converter > Gather > sftp receiver
I extended this flow ; General Splitter > csv to xml converter > msg mapping > Parallel Multicast
>> (branch1) xml to csv converter > Gather 1 > sftp receiver 1
>> (branch2) msg mapping > xml to csv converter > Gather 2 > sftp receiver 2
Can somebody give me some advice to solve this ?
Thank you !
Hi @mark_st
No need to use gather in the flow.
you are generating two files separately in the flow and sending to target SFTP as separate files.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @mark_st
If there is 100 records in 1 CSV file. output file should generate with 100 records. Check the occurance in messagemapping_1 and make it to 0 to unbounded in the target xsd file.
No need to use Splitter.
User | Count |
---|---|
75 | |
10 | |
10 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.