This is the second part of the Copy and Paste features of the Flow Step. With the release of 5.26.x/ 6.18.x, SAP Cloud Integration now provides a feature where users can Copy and Paste Multiple Flow Steps within & across Integration Flows. Refer the Part 1 of this series and also the SAP Help Document to understand this feature in detail.
Consider a scenario where Integration Developer has built an integration flow and he/she wants to use the multiple flow steps either in the same Integration flow or in a different Integration flow. In this case Integration Developer either has to rebuild the scenario again, adding the same multiple flow steps which will lead to redundancy, it will be error-prone and also time-consuming.
Now to overcome this problem, SAP Cloud Integration supports Copy and Paste of Multiple Flow steps within and across the integration flow.
How to use this feature
We will take one example to understand this feature where Cloud Integration is sending Tax data to Individuals for Verification. In case, data is sent to an individual, it will be filtered based on PAN and user Id will be mapped and if it is related to Department it should terminate. Let’s see how it works. We will first discuss within integration flow and then across the integration flow.
a)Within Integration Flow
Integration Developer can copy the multiple flow steps in non-editable mode however he can’t paste it. Hence, in our case, we will click on Edit Button first so that we can do copy and paste multiple selected flow elements.
Let’s say Integration Developer wants to use the same logic which built-in below screenshot from PAN Number-Filter till Conversion XML to CSV.
Click on the Ctrl button and select the element which you want to copy.
Now we will add one more Integration Process and will paste the multiple elements which we have copied previously.
Now Click on the Paste Button
Also, when you click on Additional Details-Content Modifier, Properties are also copied.
Integration Developer can also Paste the Message Flow Element in the Local Integration Process.
It is also possible if the Integration Developer has copied the sequence flow(line), the incoming and outgoing flow step is copied as well. In the below screenshot, sequence flow(Line) is copied after PAN Number-Filter till Conversion-XML to CSV.
When the Integration Developer paste the copied Sequence flow(line), the incoming and outgoing flow steps are also copied.
In this way, we can copy and paste multiple flow elements within the integration flow. Now let’s see across the Iflow how it works.
b)Across Integration Iflow
In this example, we will copy the Router Element from the original integration flow and will paste it into another new integration flow.
Below are the routing conditions which Integration Developer wants to re-use in another integration flow.
Create a new Integration flow and enable the Edit button
Again click on the Integration Process where we want to paste copied message flow element.
This is how we can copy the multiple flow steps element from one integration flow to another.
Points to note
Copy and paste flow steps across integration flows are supported within the same tenant application. Across the tenant application, it is not supported
In this way, an integration developer can copy and paste multiple flow steps within and across the integration flow. I hope, you can benefit from the feature presented in this blog post and start using this feature while building any scenarios.
In case of any questions or feedback, please feel free to comment on this blog post.