Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Tarzan on June 30, 2025, 06:51:04 pm
-
Hello Everyone,
I have an issue. I made a reporttemplate for a procesmodel (see below). It works for a model in BPMN. But the problem is that someone else wanted to use this reporttemplate but the value of the element fields are not seen in his report. So, you can see the values of the diagram fields but not of the element fields. The model without values is made with a personilized MDG that extends BPMN. Doe anyone has an idea on how to fix this?
Reporttemplate:
package >
diagram >
{Diagram.Name} diagram
Author: {Diagram.Author} version: {Diagram.Version} Last update: {Diagram.DateModifiedShort}
Description:
{Diagram.Notes}
{Diagram.DiagramImg}
{Diagram.Name}
element >
Description per element:
Proces step Type Role Description
{Element.Name} {Element.Type} {Element.Owner} {Element.Notes}
< element
< diagram
child packages >
< child packages
element >
embedded elements >
< embedded elements
diagram >
< diagram
child elements >
< child elements
< element
< package
-
Have you checked the filters in the template properties? If it contains filters that use BPMN stereotypes, then your custom stereotypes might not show up.
Geert
-
Thank you for your reaction!
It looks like that is not the problem. There are no filters active on the template
-
Are there any other suggestions?
-
My first thought was possibly filters however, as you've eliminated that then other sources of that problem could be.
a) Not selecting the right package for the template to generate the information from.
b) Some kind of corruption in the model. Perform a integrity check to correct.
-
Is this option checked in the Diagram section of the diagram properties?
Add each contained element in Documentation
Select this checkbox to include documentation on each element in this diagram, in any document report generated on the parent Package or element.
Just a thought
Phil
-
The solutions didn't work. I added it between child elements >Element.Name, Element.Type, etc. < Child elements
After that I could see it, but only if I placed the pools and other BPMN elements at the same hierarchy level as the BPMN_BusinessProcess stereotype. But this is not exactly what I want. I want them one hierarchy level under the BPMN_BusinessProcess stereotype