cancel
Showing results for 
Search instead for 
Did you mean: 

[PI 7.5] : Proxy to REST to Mail Scenario

babruvahana
Contributor
0 Kudos

Hi Experts,

I have a requirement where PI has to fetch the attachments from the invoices by performing GET operation using invoiceID triggered by Proxy.

Flow: Proxy --> PI-->REST-->Mail.

After this, the payload from the GET operation needs to be sent in a mail as an attachment.

I tried using the request-response bean on the sender adapter, but no luck.

Any other approaches would be of great help.

Regards,

Pavan G

Accepted Solutions (0)

Answers (1)

Answers (1)

khusal810
Active Participant
0 Kudos

Hello Pavan,

You can use two flows

Proxy --> PI --> REST

REST --> PI --> MAIL

Rest receiver will be pointing to the PI rest sender .

https://blogs.sap.com/2014/12/18/pi-rest-adapter-defining-a-dynamic-endpoint/#:~:text=The%20endpoint....

In this way you can achieve this i believe.