Skip to Content
0
Former Member
May 14, 2008 at 06:15 AM

Multi Mapping

63 Views

Hi all,

I need a help on how to go about the following scenerio.

XI first performs a multi-mapping that creates two output messages:

One is the target message in Flat File Format. The mapping also generates the filename for the output message which should follow the format 11_<Unique ID>.txt. This filename is written into the XML Payload of the message. The File Adapter later does a flat file conversion on the message. In this step, the filename is not written into the flat file. Instead, it is used by the file adapter as the target filename.

The file should be placed in a specified directory.

The mapping also creates a second message, which only contains the same filename in the payload. This message goes to a second File Adapter, which also does a flat file conversion. Its output only contains the filename that was created by the mapping, followed by a line break. The output of this File Adapter is written into the same directory as the first file. The name of the output file is 11.catlg. If the file already exists in the target directory, the output needs to be appended to this file.

Thankyou.