AnsweredAssumed Answered

How to determine EDI type

Question asked by rob.banas on Jan 30, 2017
Latest reply on Jan 30, 2017 by rob.banas

I'm sending EDIs to a partner. I need to set a process property based on whether the document is an 820 or a 997. This is needed as the partner expects each type of EDI doc to be placed in a very specific location. Files will be sent to the partner using SFTP.

 

My Boomi process has 2 steps: In the first step, I write the EDI file to disk using a TP shape.

In the 2nd process, I use a Disk shape to read the files in & determine the document type. Once determined, I will SFTP the file to the appropriate folder on the TP's SFTP site.

 

What options do I have, aside from using custom scripting to look for a string such as "ST*820" ?

Outcomes