webMethods Integration Cloud and Cloud Deployment Documentation 5.6.0 | webMethods Integration Cloud | Integrations, Built-In Services, REST APIs, SOAP APIs, Doc Types, and Recipes | Built-In Services | List | stringListToDocumentList
 
stringListToDocumentList
Converts a String list to a document list.
Input Parameters
fromList
String List Optional. List of Strings (a String[ ]) that you want to convert to a list of documents. If fromList is not specified, the service returns a zero length array for toList.
key
String Optional. Key name to use in the generated document list.
Output Parameters
toList
Document List Resulting document list.
Usage Notes
Creates a document list containing one document for each element in the fromList. Each document will contain a single String element named key.
For example, if fromList consists of:
fromList[0] = "a"
fromList[1] = "b"
fromList[2] = "c"
key = "myKey"
The result would be:

Copyright © 2014- 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.