Skip to Content
Technical Articles
Author's profile photo Sookriti Mishra

SAP Cloud Platform Integration (CPI) || Part 10 || How to use “Send”?

Dear Reader,

This blog post is a part of a series of blog posts related to SAP Cloud Platform Integration. The blogs so far are:

  • My adventure in learning CPI || Part 1 || All about SAP Cloud
  • My adventure in learning CPI || Part 2 || Deployment Models
  • My adventure in learning CPI || Part 3 || Cloud Security
  • SAP Cloud Platform Integration (CPI) || Part 4 || Know your tool
  • SAP Cloud Platform Integration (CPI) || Part 5 || Content Modifier
  • SAP Cloud Platform Integration (CPI) || Part 6 || Configuring Mail Adapter
  • SAP Cloud Platform Integration (CPI) || Part 7 || Maintaining logs by using “Groovy Scripts”, even if the IFlow is not on trace mode
  • SAP Cloud Platform Integration (CPI) || Part 8 || Working with Request Reply
  • SAP Cloud Platform Integration (CPI) || Part 9 || SAP Cloud Platform Cockpit || All about Account, Tenant, and User ID

Up next:

  • SAP Cloud Platform Integration (CPI) || Part 11 || How to use a Local Integration Process

Other blogs:

— o — — o — — o — — o —

SEND: You can pick this step from the palette Call –> External Call –> Send.

Send function can be used to configure a service call to a receiver system where no reply is expected. You will need a Send step in your IFlow whenever within an IFlow, before the end-step, you have an urge to make a service call to a receiver system. The receiver system can be connected via a Mail, SOAP, or SFTP adapter. In my instance, I have used a Mail Adapter.

The below is the IFlow which I shall be used to explain the “Send” step.

Now, let me explain how Send works:

1.  Start Timer: Since there is no Sender System in this instance, I have used a Start Timer, which would trigger the message once it is deployed.

2. Request Reply: To know how the Request Reply works, click here.

3. Send: The Send doesnot have any configurations attached to it. You can just rename this step. As I have mentioned above, you can connect the “Send” to connect to receiver system. In my instance, I am using Mail Adapter. To know how mail adapter works, click here.

4. Content Modifier: To know how the Content Modifier works, click here.

Here, I have defined a Header element of type XPath which capture one of the fields coming in the payload from Request Reply (refer the screenshot below). The same Header Property has been called in the body of the email which shall be triggered in the next step.

 

 

EXPECTED OUTPUT: 2 emails shall trigger, 1) from the Send step, which would contain the entire payload coming in, 2) from the Content Modifier in 4.sdfs 

ACTUAL OUTPUT:

 

Hope you had a good read.

If you wish to know more, or have any queries on this blog, then please feel free to drop a comment.

 

Thanks & Regards,

Sookriti Mishra

Assigned Tags

      3 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Arun Kumar Yerram
      Arun Kumar Yerram
      Sookriti,
      Can I use the Header & Property attributes from Request Reply in Step2 in Content Modifier Step 4 without using them in the Send step 3?
      Thanks,
      Arun
      Author's profile photo Mohanram Selvaraj
      Mohanram Selvaraj

      Hello Sookriti,

      Is there a way to send back the response from a request reply after modifying the response content using content modifier to the actual sender system itself?

      (For instance, assume SOAP sender and HTTP receiver)

      Thanks,

      Mohan

      Author's profile photo Purushotham Nagamalli
      Purushotham Nagamalli

      Hello Sookriti Mishra

      Greetings!!!

      Need your inputs on using a common iFlow to send error notification emails when a main iFlow runs to error.

      I have used Exception Subprocess to call common iFlow with process direct adapter (Error End step would not work here) and if we use End Message step, we will not get ''Failed' status in message monitoring.

      I need 'Failed' status in message monitoring and send the email notification using a common iFlow.

      Can you help me to design this scenario.

      Thank you.