Home / User Voice / An action for generating a diynamic number of word files from different templates.
MVP
An action for generating a diynamic number of word files from different templates.
24.03.2022 10:08

At this pointthe only way to generate multiple word documents is to create multiple actions, or if you have a dynamic number of documents, you should use subworkflows.

The second solution works alright when we are talking about 2-20 documents, but (I'm not sure if all of you are aware) creating an new instance, ore moving it one step is a verry slow action and if you need to move or create 1000 instances using the default actions you will have to wait sometimes hours. Another problem is that the action is not multithreaded at all.

We ave a custommer that needs about 1milion of documents to be generated once a month. That is a lot and using the actions it would take more than a month to finnish all the work. We have investigated how the reports quickpath functionality works (because it seemed to work multithreading) and we have notticed that it uses JS to send async all the instances via the API. So we are now using the API via sdk in order to start all tose subworkfols for generating word templates. The API is doing all the work multithreading and much faster than the builtin actions.

Nobody has replied in this thread yet.