Answered

Document Template: concatenate table rows with same values

Hi,

I created a document template including tables within tables (attached here). When I generate the final Word document in the Work Portal the rows with the same values (that would be the first six table columns) are not concatenaded in the table, as shown in Bizagi's manual (see this page: http://help.bizagi.com/bpmsuite/en/index.html?edit__delete_document_templates.htm or image attached.)

It should not concatenate the lines?

Many thanks

Comments (7)

photo
1

Dear Jeferson,

In many cases you might need to generate document templates including multiple records by each record of a collection. Bizagi allows generating these kind of documents by simply including additional tags in the base template.

documenttemplates124

For further information: http://help.bizagi.com/bpmsuite/en/index.html?tables_within_tables.htm

Regards

photo
1

Hi Juan,

I did exactly as this article says. Instead of concatenate the rows containing the same values, Bizagi is repeating the same value in each row. See the Word document attached. This is what I'm getting from Bizagi. My first 6 columns should have concatenated rows.

In the article, "country" is not repeated for each "city" in the table. The rows in the "country" column are concatenated.

Many thanks.

JP

photo
1

Dear Jeferson,

Bear in mind to have the correct relation. It means to 1 country has many (*) cities. So that, you need create a loop for countries and inside of it, a loop for cities.

Check again the loop and the relation.

Follow the example of the article to solve it:

documenttemplates122

Regards

photo
1

Hi Juan,

See attached a print of my data model. I believe the relations are correct (on to many), please confirm. We have the collection "TabelaRiscos" within the collection "TabelaCargo".

Is this the "loop" you referred to? Is there anything else I should do?

Many thanks

photo
1

Dear Jeferson,

There will be a mistake. Please share with us your word template in order to analyse it.

We look forward to hearing from you

photo
1

Hi Juan, its attached.

Thank you

photo
1

Dear Jeferson,

I found that you have a problem at the moment to close the loop. The [end] is located in a wrong part. I have created an example to show you. Check the attachments.

Regards