B2B Integration 10.4 | Administering and Monitoring B2B Transactions | Service Development Help | Mapping Data in Flow Services | About Assigning Values to Pipeline Variables | Copying Assigned Values Between Pipeline Variables
 
Copying Assigned Values Between Pipeline Variables
You can copy the value assigned to a variable by copying the icon next to the variable. You can assign this value to other variables of the same data type in Service In or Pipeline Out by pasting the icon.
When you copy assigned values from one pipeline variable to another, keep the following points in mind:
*You can only copy and paste set values between variables of the same data type. For example, you can only copy the set value assigned to a String variable to another String variable.
*You can only copy and paste set values between variables if the target variable has the same structure as the source variable or has no defined structure. For example, you can copy the set value of a String List variable with length 3 to another String List variable only if the target String List also has length 3 or has an undefined length (no defined structure).
*If you are copying a set value between Document variables, the source Document variable and the target Document variable must have the same structure or the target Document variable must have no structure defined. For example, if the source Document variable contains three String variables named city, state, and zip as children, the target Document variable must have three String variables named city, state, and zip as children.
*You cannot copy an assigned value to a pipeline variable if the variable has a fixed null or default value assigned to it. Designer uses the symbol next to the variable icon to indicate that the variable has a fixed value that you cannot override by linking it to another variable.
* To copy a set value
1. In the flow service editor, select the INVOKE or MAP step containing the variable with the value you want to copy and paste.
2. In the Pipeline view, select the assigned value icon that you want to copy.
3. Right-click and select Copy.
4. Select the variable to which you want to assign the copied value, right-click and select Paste.

Copyright © 2016- 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release