CopyOf function

The CopyOf function copies the entire contents of the source node to the destination node.

The CopyOf function ( CopyOf button ) copies the entire contents of the source node (the entire subtree of the source node including all children) to the destination node.

Attention: The XML Schema of the destination node must match the XML Schema of the source node for the CopyOf function to correctly copy the values of the source nodes to the destination nodes.
For example, if the Call Procedure activity returns the following result set nodes (through the any node) during run time:
  • results/result/resultSet/column1, where column1 is an integer.
  • results/result/resultSet/column2, where column2 is an integer.
The XML Schema of the destination nodes in the To Orchestration pane, must match the expected XML Schema of the result set that is returned from the Call Procedure activity, as shown in the following figure:
This figure shows how the result set returned from the Call Procedure activity matches the XML Schema of the destination nodes.

In the preceding figure, the CopyOf function ( CopyOf button ) is linking the source result node and the destination result node.

Parameter: input

The name of the source nodes to copy.   

Returns: anySimpleType

The resulting subtree of XML data.




Feedback | Notices


Timestamp icon Last updated: Thursday, December 17, 2015


http://pic.dhe.ibm.com/infocenter/wci/v7r0m0/topic/com.ibm.wci.doc/CopyOfFunction.html