1. There is a process, it has subprocesses. Parent example
http://crm.mebelok.com/admin/customorder/logistika/1869103/edit/In the parent, we will put the action Check out the document. But it will work for the current process, but we need it for subprocesses. That is, to create 1 document for all sub-processes 1 level lower.
2. Next, here is the template itself
http://crm.mebelok.com/admin/shop/document/templates/67/control/https://prnt.sc/xyur06There may be such a situation: there are 3 subprocesses, in 2 of them the same client (the client field in the subprocess), as a result, there will be 3 such tables in the 1st document
https://prnt.sc/y4gc3wAnd we need to group by the client field. That is, for 1 client, create only 1 such table and add data from subprocesses
https://prnt.sc/y4ggap to it, that is, do not create a table for each client, but group the client into one by field, I hope I explained it clearly.