Skip to Content

Hi All,

The Purpose of the document is to show that, placing a file in different directories using Single Receiver Communication Channel.

Steps:

The Main purpose of this blog is to process the file in two different directories at target system. One folder for processing the file in target system and the other folder is for archiving the file. So, the processing of the file has failed then the target system will get the same file from the other folder where PI archives the file.

Design and Configuration Process:

As per the requirement we have to create two data types, two message types, three service interfaces( One for sender and two for receivers), one message mapping and two operation mappings.

Message Mapping please do the following steps…

Untitled.png

In the mapping we are replacing the “+” in “\” because the directory we have mentioned with + in that “\” will not accept in parameterized mapping.

We need to use an UDF to different directories and parameterized mapping should be maintained.

UDF:

/wp-content/uploads/2013/03/udf_199487.png

In the parameter we need to use a variable called directory as a variable to the different directories at runtime.

In Signature tab Mention

/wp-content/uploads/2013/03/sign_199529.png

Maintain 2 operations mapping with parameters.

ID Part:

●      Configure the designed objects, interfaces created in the ESR and also the applications.

●      Configure communication channels for sender and receiver applications.

●      File channel configuration we have to specify Source directory and File Name information.

●      Receiver channel configuration we have to specify the receiver path and file name details and specify the parameterized information.

●      Receiver interface we need to specify the parameters value.

Provide ICO below steps:

For 1st Service interface

service interfac1.png

For 2nd Service interface:

service interfac2.png

After testing you will get

Output.png

Here are the 2 message IDs

Message Log for  d41d97a6-d235-11e1-bba0-000000294da2.

Message log for  d41d97a6-d235-11e1-bba0-000000294da2.

NOTE:  It is work only for NFS not on FTP scenarios.

To report this post you need to login first.

1 Comment

You must be Logged on to comment or reply to a post.

  1. Sourabh Nirmal

    Hi

    I have a requirement to place one file in multiple folders(100+) of a target FTP server

    Could you please suggest how this can be acheived

    Sourabh

    (0) 

Leave a Reply