...
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.
...