Salesforce

Copying and Pasting Steps and Branches Between Flows (Magic xpi 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

Copying and Pasting Steps and Branches Between Flows (Magic xpi 3.x)

Magic xpi lets you save time by allowing you to copy and paste steps and branches either within a flow or between different flows in your integration project. When you do this, the step or branch automatically retains its assigned flow variables.

To copy and paste steps and branches between flows:

  1. Right-click the step that you want to copy. If you want to copy a branch, right-click the step that appears at the beginning of the branch.

  2. Select either Copy step or Copy branch from the context menu, depending on whether you want to copy a step or a whole branch.

  3. In the Navigation Pane, select the flow where you want to copy the step or the branch.

  4. Select the step where you want to paste the step or the branch. Right-click on the component step and select Paste from the context menu. A Confirmation dialog box opens.

  5. Click OK to confirm that you want to copy the step.

Additional Copy and Paste Functionality

Once you have copied a step in a flow, you can access an additional context menu that gives you other pasting options. To do this, select the step where you want to paste the step that you have copied. Then, use Shift+Right-click to open the context menu. This menu contains the following options:

  • Paste and Replace – This pastes the copied step into the flow in place of the existing step.

  • Paste as Parent – This pastes the copied step into the flow as a parent step.

  • Paste as Child – This pastes the copied step into the flow as a child step.

Copy and Paste Considerations

  • You can remove a branch in one flow and add it to another flow by selecting Cut branch from the step context menu. You can add the branch to a different step by clicking on the relevant step and selecting Paste from the step context menu. However, you cannot paste a copied or cut branch into one of the branch's children.

  • You can copy the first step in a flow, even if this is the only step in the flow.

  • You can only copy between flows that are part of the same topology.

  • If similar variables exist in the target flow, they are displayed in the Duplicate Variables dialog box. Here, you can select whether to ignore or to overwrite either a specific variable or all variables. Overwriting supersedes the existing definition of the flow variable with the copied flow variable.

  • When copying similar variables, attributes of Source and Target variables will be displayed. In case of conflicts (i.e. trying to copy Alpha to Numeric), the display will use a different color and the Paste operation will not be allowed.

  • You can only copy a branch that includes a GoTo command when:

    • The copied flow and the GoTo command is allowed within the branch.

    • The copied branch is copied to the same flow, and the copied to branch supports the GoTo command to the relevant steps. You can test whether the option is supported by trying to define a GoTo command to the relevant steps using the step's context menu.

  • You cannot cut and paste a flow in the same business process.

  • When a Root step with a condition is copied into another flow as a Root step, the step is copied with the condition. However, when a step other than the Root step with a condition is copied into another flow as a Root step, the condition is not copied.

  • Copying a step as Root will change the Parallel setting to Linear.

  • When you copy and paste steps, the flow variables that are used in Database SQL statements and WHERE clauses are not automatically created. You should make sure that you check SQL statements after copying a step or a flow.

  • The Save Point definition cannot be copied to another step.

  • Wait for Completion and Processing Mode cannot be copied when copying the first step.

  • The Logic Flow definition will be set to No in the target flow.

  • Copying a Mapper step will also copy its Exception Flow definition.

    Reference
    Attachment 
    Attachment