...
Parameter | Description | Valid examples |
---|---|---|
| Name of the word template that will be uploaded to the resources folder is set here. |
|
| Here, |
|
| For example we will set the counter to 3, and it will generate 3 documents out of it + if merge is true will create an aditional document which is a merge of all three documents in one place. |
|
| By setting to |
|
| By setting to |
|
| The name of the merged document will be set |
|
| With the target parameter, the user can determine the document name in the destination folder. |
|
Word template is required (detailed explanation on how to create the template is provided in the WordTemplateHandler) . In the template document the variables
${invoiceto}, ${deliverto} ${amount}
etc. are used.
...
individualprice[0]
...
total[0]
...
For the second document that will be generated out of template, the process variables must have the same name as the previous one but indexes start with 1. eg. invoiceto[1]
, deliveryto[1]
, amount[1]
, description[1]
, individualprice[1]
, total[1]
.invoiceto[1]
...
After a successful execution you can see that three documents are visible in the "Documents" tab of the operation. The first document contains the value from process variables having Index number [0] like invoiceto[0], description[0] etc. The second document contains the value from process variables having Index number [1] like invoiceto[1], description[1] etc. The merged version of these two documents is also available.
You can view the content of the first two documents here. The third document is simply a merged version of the first two.
...