SAP Cloud Integration – Copy and Paste feature in the Integration Flow Editor
With the 5.24.x/6.16.x release, SAP Cloud Integration provides a feature to copy and paste single flow step within an integration flow. In this blog, I will give a detailed overview on this feature.
This feature is described in the SAP Help Portal (see Copy and Paste Flow Steps).
New with SAP Cloud Integration release (5.26.x.x/6.18.x)
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 and across Integration Flows. Please refer the detailed aspects from the blog.
New with SAP Cloud Integration release (5.25.x.x/6.17.x)
SAP Cloud Integration August 2021 release (5.25.x/6.17.x) provides an extension in copy and paste feature that will allow single flow step copy and paste across the integration flows.
Please refer the section – Copy and paste across integration flows for details.
What is Copy and Paste in an integration flow
Copy and Paste is a feature which allows integration developer to copy flow step and other elements within and across integration flows.
Why Copy and Paste
Integration developer who builds multiple and complex integration flows usually needs a capability to copy and paste the flow steps along with the properties, configurations, externalized parameters, and resources from an existing integration flow.
This feature will enable integration developer to improve developer productivity, ease the modelling aspects and reduce the effort required to develop integration flow.
How to use Copy and Paste
You can use copy and paste feature in three different ways
- Copy and Paste button in tool palette.
- Copy and Paste speed button on the flow step.
- Keyboard controls for copying (e.g. CTRL + C) and pasting (e.g. CTRL + V).
There are two variants in copy and paste feature.
- Explicit selection – In this variant, the paste is performed on the desired location at a mouse pointer.
- No explicit selection – In this variant, paste is performed without choosing the desired location. Copied flow step will overlap.
Let us understand how to use copy and paste feature in the integration flow editor with an example.
Scenario # 1 – Copy and paste of flow step in the integration flow editor with explicit selection
In this scenario, I’ll explain how the flow step can be copied along with its resource in the integration flow.
Open and edit the integration flow where you want to perform copy and paste of flow step.Image1: Open integration flow for copy and paste
Select the flow step which you would like to copy. Click the copy button available in the tool palette.Image2: Flow step is selected for copy
Select the local integration process using the mouse pointer where you want to paste the copied flow step.Image3: Local integration process selected to paste the copied flow step
On click of the paste button from the tool palette, copied flow element will be pasted.Image4: Copied flow element is pasted in the local integration process
Later, you can connect the flow step manually to the sequence flow.Image5: Flow step is connected to the sequence flow
You will notice resource is maintained and referenced in the copied flow element.Image6: Resource is maintained in the copied flow element
Scenario # 2 – Copy and paste of flow step with no explicit selection
In this scenario, I’ll explain how the flow step can be copied along with the properties and externalized parameters in the integration flow.
Write variable flow is selected for copy and it has properties and externalized parameter.Image1: Write variable is selected for copy
Copy is clicked from the tool palette to copy write variable.Image2: Copy from tool palette is clicked.
Without moving mouse pointer, click the paste button from the tool palette.Image3: Paste button is clicked from the tool palette
On paste, the copied flow step is overlapped.Image4: Flow step is copied and it is overlapped
Copied flow step will hold the properties and externalized parameters.
Image5: Properties and externalized parameter is maintained in the copied flow step.
Copy and Paste rules and constraints
This table will explain the rule and constraint defined for the copy and paste feature.
|Where||What||On Explicit selection||No Explicit selection (at mouse pointer)|
|Integration flow canvas||
As mentioned in the beginning of the blog, the 5.24.x/6.16.x release contains the first scope – copy and paste of single flow step inside the integration flow.
Copy and paste across integration flows
Select flow step that you would like to copy from the source integration flow.Image1: Flow step selected for copy.
Click copy action from the source integration flowImage2: Copy action in the source integration flow.
Select the process pool of the target integration flow where you want to perform the paste.
Image3: Process pool of the target integration flow is selected.
Click paste action from the target integration flow.Image4: Paste action in the target integration flow.
On paste, copied flow step will be seen in the target integration flow.Image5: Flow step is copied in the target integration flow.
Points to note
- Source integration flow can be either in the read or edit mode.
- Target integration flow has to be in the edit mode.
- Flow step is copied along with the properties and externalized parameters.
- You can copy and paste across the browser tab and windows, but the browser has to be of same type. For an example, Copy from Firefox and paste in the Google Chrome is not supported.
In the forthcoming increments, we have plans to address the following cases.
What’s coming next?
- Copy and paste of adapter inside and across integration flows
- Copy and paste of Integration process, Local Integration Process, Exception subprocess inside and across integration flows.
I hope, you can benefit from the feature presented in this blog post.
In case of questions or feedback, please feel free to comment on this blog.