Creating multiple documents from a single input XML
I would like to find out if it is possible to have one input event (eg: XMLIN) generate multiple documents form a single call.
We currently have a business process that produces 'document packs' ie: several documents derived from different templates (document definitions). The way this is currently done is by making multiple calls to streamserve, one for each document required. I would like to have a process inside streamserve which will look at the input XML and then decide that it now needs to create several documents.
Is this possible? If so what would be the best way of approaching it? My guess was doing something with lookup tables telling the process which templates and documents to produce for a given 'document pack'.
I need a solution which works in both 5.6.x and 16.x