Is there a possiblity of dropping a document list which is created at run time?
I am using the built in service wm.tnweb.querySvc:getDocuments which gets the details of all the documents in a document list. How do we drop the document list once I am done with its usage.
There is a trick to deleted variables which are coming in running.
Create similar kind of document in your pipeline and then drop that document in very next step.
I assume you’re talking about the toDocs or fromDocs variables that are returned by wm.tnweb.querySvc:getDocuments. There’s no trick needed. Just drop the variable in a map step.
Yes, if there are runtime variables, which do not show up in the pipeline at design time, you can drop them by first creating a var with same name and then dropping it - it’s no trick really… just a straight forward approach.
Alternatively, you can use clearPipeline and preserve the variables you want.