Hi
I can suggest exporting this list into the file, upload file into Adobe server, then call xtk.workflow.SpawnWithParameters to spawn a workflow from a template:
var parameters = <variables file={pathToFile} />
// all parameters will be visible in workflow as vars.* In this case file will become vars.file
xtk.workflow.SpawnWithParameters(
workflowId,
parameters);
Inside the workflow, load the file into a temporary table and spawn a delivery.
Alternatively, one can configure delivery to be spawn from a CSV file, call nms.delivery.SubmitNotification and spawn a delivery directly from the memory context:
var ctx = loadFile(csvFilePath)
nms.delivery.SubmitNotification(notificaionTemplate,
<delivery>
<targets fromExternalSource='true'>
<externalSource>{ctx.toString()}</externalSource>
</targets>
</delivery>
)
But in this case, delivery might require lots of memory to process.