Designer 10.7 | webMethods Service Development Help | Mapping Data in Flow Services | About Linking Variables | Linking Variables of Different Data Types | Converting Two String Lists to a Document List in the Pipeline
 
Converting Two String Lists to a Document List in the Pipeline
Two String Lists can be combined into one Document List in the pipeline by linking each String List to a String nested in a Document List. For example, suppose that you had String List variables named aList and bList, and documentList had two String children named aString and bString. You could combine the two String Lists by linking aList to aString and bList to bString.
Converting two String Lists to a Document List
Tip:
You can also convert a String List to a Document List (IData[ ] object) by invoking the built-in service pub.list:stringListToDocumentList. You can insert the service as an INVOKE step or as a transformer. For more information about transformers, see Working with Transformers. For more information about built-in services, see the webMethods Integration Server Built-In Services Reference.