In Progress

Duplicates in generated template

I've created a template that contains a collection of collections like this :

[Foreach:entity1]

[attribute1]

[attribute2]

[Foreach:entity2]

[attributex]

[End]

[attribute3]

[End]

The template generates duplicates if "entity 2" has more than one item.the duplicates have the same values except for the "attribute x" in "entity 2" they are different.

photo
0

Dear Ahmad,

A member of our support team will contact you.

Regards

photo
0

Dear Juan,

We've got tahe same problem: build-in "Foreach" works as a single "Foreach".Template:

[Foreach:Part][Pokazatel] [Foreach:Component][Comp] [Rez][End][End]

Rezult:

Pokazatel-1 Comp-1 Rez-1

Pokazatel-1 Comp-2 Rez-2

Pokazatel-1 Comp-3 Rez-3

Pokazatel-2 Comp-xxx Rez-xxx

BisAgi ver.10.6.1.2116

photo
0

Dear Julia,

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_zoom56

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

Regards

photo
0

Dear Juan,

Thanks for the link.

But the issue is that construction:

[Foreach:Part][Pokazatel] [Foreach:Component][Comp] [Rez][End][End]

works exactly like construction:

[Foreach:Part][Pokazatel][Comp] [Rez][End]

I.e. the Tags [Comp] [Rez] are not included into the "Part" as collection, but the Tag [Pokazalel] printed in each row.

You can see Data base screen1, Template screen2 and ResultDoc screen in attachment (sorry for test data's inside)

Best Regards

photo
0

Dear Julia,

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_zoom56

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

Regards