cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hi

We have two source files (abc.pdf & 123.xml) in the same source directory and need to follow sequence in processing the files.

abc.pdf should be picked first and processed (file to file) and then (123.xml) should be picked (file to idoc) else this will result in conflict due to some dependency.

Please let me know if the below approach would work.

1) We can set External control mode for sender file channel (123.xml) and start the channel once 1st scenario is competed and stop it after 2nd scenario is done

or

2) Specify a condition in sender file channel (123.xml) "to pick the file only if (abc.pdf) is not available in the folder" or "to not to pick the file as long as (abc.pdf) is available in the folder"

Kindly provide your valuable suggestions on how to maintain the sequence in processing of those files.

Regards

Sudarvizhi P

0 Likes
View Entire Topic
JayChan
Active Participant
0 Likes

Hi, Sudarvizhi

How about using bridge technique to link 2 interfaces?

Firstly grasp 123.xml to its destination, then bridge to 2nd integration configuration to grasp abc.pdf to its IDoc destination.

I used following demo to illustrate my idea (since I don't have suitable IDoc target system, I represented it with another file system instead)

Step1. Create 1st sender channel, grab abc.pdf

Step2. Create 1st receiver channel. In the tab of "Module" in 1st receiver channel, config bridge configurations

Step3. Configure 1st integration configuration to make it effective sending abc.pdf to 1st file destination system.

Step4. Create 2nd sender channel, grab 123.xml

Step5. Create 2nd receiver channel, in your case I think it will be a IDoc destination(since I don't have suitable IDoc target system, I represented it with another file system instead)

Step6. Create 2nd integration configuration, be aware to check "Sender Uses Virtual Receiver"