IMPORTANT:
this is not a Support Forum! Experienced users might answer from time to time questions posted here. If you need a professional and reliable answer, or if you want to report a bug, please contact Altova Support instead.

Looking inside the file Options · View
Mindaugas
Posted: Friday, March 13, 2020 2:09:23 PM
Rank: Newbie

Joined: 2/19/2020
Posts: 5
Location: Norway
Hello Guys,

First time writing i forums, so hopefully ill try to explain as best as I can:

I have a challenge where the client is sending me IFTMIN and IFTMBF files in to a single folder and has no capability to split the files into separate folders or name the files differently. I am mapping the IFTMIN and IFTMBF to an XML. Build the mappings and everything works perfectly and the last step which left to fully automatize the process is somehow do the check firstly whether the file is IFTMIN or IFTMBF.

Once the job checks the file format then it either moves the file to a separate folder if its IFTMIN and if its IFTMBF then leave it as it is.
The details of the file format is stated in the UNH segment.

UNH+000000000+IFTMBF:S:93A:**:******+******'


Thank you in advance!
that
Posted: Friday, March 13, 2020 2:52:45 PM
Rank: Advanced Member

Joined: 6/16/2006
Posts: 487
Location: AT
Mindaugas wrote:
I have a challenge where the client is sending me IFTMIN and IFTMBF files in to a single folder and has no capability to split the files into separate folders or name the files differently.


You can choose more than one message type in an EDI component (as long as both are from the same EDI standard collection). Then you can either combine both of your mappings to XML into one, or you can use this mapping to just detect the message type and output some info into an output file for a following step to run the intended mapping.
Mindaugas
Posted: Monday, March 16, 2020 5:57:07 AM
Rank: Newbie

Joined: 2/19/2020
Posts: 5
Location: Norway
Morning,

Could you please brief me how do I do it? Would be a great solution where the mapping would detect the message type.
Users browsing this topic
guest

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Use of the Altova User Forum(s) is governed by the Altova Terms of Use.