Hello!
I’m a novice in Report Writer templates then I’m sorry for my stupid questions. :oops:
I have a simple BPDiagram with some Sub-Process elements.
I try to enumerate child elements of BPDiagram throuh , but I need to process only for Sub-Processes:
<?xml version="1.0" encoding="CP1251"?>
<Template>
<TemplateInformationHeader id="BPDocumentTest" name="Just a Test" description="" type="text" default="false"/>
<!-- Basing on a diagram -->
<DiagramBaseInitiationBlock>
<!-- -->
<!-- Let's enumerate elements, but only Sub-Process -->
<!-- -->
<StaticText content="ELEMENTS: "/>
<ParagraphBreak/>
<IterationBlock modelType = "Sub-Process">
<StaticText content="element ("/>
<StringPropertyText property="modelType" />
<StaticText content="): "/>
<StringPropertyText property="name" />
<ParagraphBreak/>
</IterationBlock>
<ParagraphBreak/>
</DiagramBaseInitiationBlock>
</Template>
In report I see just:
ELEMENTS:
If I set empty value for modelType, then I see better result, but it contains a Text Annotation element:
ELEMENTS:
element (Sub-Process): Process One
element (Sub-Process): Process Two
element (Text Annotation): Annotation9
element (Sub-Process): Process Three
My questions:
Q1. What I do wrong while trying to get Sub-Process elements only?
Q2. Where can I get info about modelType names, allowed in IterationBlock?
Q3. Why does not exist a separate forum for customizing Report Writer templates? I see many topics in Agilian forum about templates, but it is inconvenient to catch them from common Agilian forum.
Q4. I have a problem while trying to register in forum. All my tries end with message ‘An error has occurred. For detailed error information, please see the HTML source code, and contact the forum Administrator. java.lang.NullPointerException’. How can I register in forum (IE8.0.7601@MSWindows7)?
Thank you!
With best reguards,
Vladimir Andreyev.