I am in a scenario where I get EDIFACT from a partner through FTP and will be sent to receiver through AS2. Each transaction will have a custom JOBID attribute (sent in the filename) that is used to send back the status to sender partner.
Now when the MDN comes from receiver partner, I have to find out the original EDIFACT Envelope transaction for this, get the JOBID from its attributes and sendback the status to sender partner.
Sender -> EDIFACT with JOBID -> AS2 -> Receiver
Receiver -> AS2 MDN -> EDIFACT JOBID -> Status -> Sender
Can you please share some ideas on acheiving this?