cancel
Showing results for 
Search instead for 
Did you mean: 

FTP adapter with application acknowledgment

Former Member
0 Kudos

Hello,

I like to send a file with an FTP adapter to an "in" folder and configure a sender FTP adapter to pick up files from an "out" folder. I'd like to us a BPM and have the BPM determine if the returning file is pointing to an error and send an alert. This is my manual way to create an application acknowledgment.

So my BPM needs a Receive, Send and then another Receive step. Has anyone done this before? Or is there some good documentation on this process?

Thanks,

Matt

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

That sounds reasonable. Do you know of an example or a good resource to help me create a UDF that can read an error message within an XML file?

Thanks,

Matt

prateek
Active Contributor
0 Kudos

Some misunderstanding I guess

I was explaining to use UDF to raise alert message, say for example using this

Checking file for error should be based on the business logic used by the receiver system. XI won't understand in itself that the file has error. There must be some business requirement that should be checked.

Regards,

Prateek

Answers (2)

Answers (2)

Former Member
0 Kudos

In this scenario I am hoping to send a PO from R/3 to XI via proxy. Then have XI send the PO as an XML document to outside organization with a FTP server using XI's FTP adapter (the XML file contains the message id). The outside organization processes the XML and creates a file using the message id with a success or fail message and puts it in the Outgoing folder. XI FTP adapter is configured to pick up that files from that server every 10 minutes. It grabs the PO acknowledgment and then sends an alert if the PO acknowledgment contains an error message.

I want all of this on one BPM so I can process each message. Is this possible?

Thanks,

Matt

prateek
Active Contributor
0 Kudos

The BPM is possible here, and the steps Recieve, Send, Receive is fine. But you should place second receive in a separate block otherwise it will ask for common correlation between first and second receive.

It grabs the PO acknowledgment and then sends an alert if the PO acknowledgment contains an error message.

How are you planning to achieve this? You cannot understand the error directly. And unless there is an error, no alert will be raised. In that case, you may create a dummy transform step and write a UDF to create an alert explicitly through UDF.

Regards,

Prateek

prateek
Active Contributor
0 Kudos

I like to send a file with an FTP adapter to an "in" folder and configure a sender FTP adapter to pick up files from an "out" folder.

You want to send file but what i the trigger point of the scenario. The scenario must start with receiving some file in XI. In my understanding, you scenario would begin from "out" folder to XI to "in" folder.

See this

Regards,

Prateek