Shubhro,
to append an object to an object list, I’m creating a kind of buffer and passing it as parameter to the component called pub.list:appendToDocumentList. Example:
let’s suppose we have a document with a document list with the following fields: A,B and C. To append an information to this document list you just have to create a temporary document (buffer) with the same fields and same types. So, the temporary document will have A, B and C fields.
After this you use the pub.list:appendToDocumentList in this way:
the parameter toList receives the document List you have
the parameter fromItem receives the temporary document (buffer)
the parameter fromList doesn’t receive nothing
the output parameter named as toList, you have to assign it to your document list.
Done.
Regards,
Kleber Ferreira
#Integration-Server-and-ESB#webMethods#Flow-and-Java-services