cancel
Showing results for 
Search instead for 
Did you mean: 

Query regarding OS Command in Receiver Communication Channel

Former Member
0 Kudos

Hi All,

Consider the following :

1. Sender communication channel picks up file <abc.txt> from /files/in directory. The CC is configured to archive the file in the location /files/archive.

2. Resulting Message is processed successfully in integration engine.

3. Receiver communication channel is configured to place the file in target directory /files/out, and the Run OS command after message processing is set as : "/scripts/FTP_SCRIPT.pl %F".

The above scenario works fine, but I do not understand why it works. :).

I can see (by looking at logs maintained by the script FTP_SCRIPT.pl) that in step 3 %F passes "/files/in/abc.txt" as a parameter.

I believe that the file should not be available in the "in" folder because the sender communication channel would have already archived it. Why is it available?

In what order is XI processing steps 1-3 in the background?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello,

If you have selected Adaper Specific message attributes in both the adapters(File sender/Receiver), the same file name which is currently being used will be passed to the place holder '%F' .

and you might have selected RUN OS command before message processing.

Just confirm.

Regards,

Sreenivas.