Unable to process the case: Found end of mail merge region '[ItemName]' without matching start


When using Document Templates, it is not allowed to use multi-lines for lists due to a restriction in the library used to  parse and generate documents.

Applies to

Bizagi 10.x and 11.x


When trying to send an email, the following error appears in the Work Portal.


This error is caused when trying to generate lists with multiples lines. That is to say, when adding several lines between the tags [FOREACH] and [END] in the Document Template.


To avoid this error, use only one line as shown in the following image

Refer to http://help.bizagi.com/bpm-suite/en/index.html?creating_a_flat_text_template.htm for more information.