Custom Report: BPIntermediateEvent

Hello,

i’m trying to get information about transitTo, transitFrom from e.g. BPIntermediateEvents. In the VP-Gui, one can find these information in the “Traceability”-Tab of the model specification panel.

I thought that would be a simple task, because i just wanted to iterate through transitTo and transitFrom and get type and value. The example-file (ModelTransitor.xml) looked promising, but did not do what i thought it would do, in fact it just showed the name of the event and it’s model type (e.g. BPIntermediateEvent).

Let me show how an altered example may look like:


<Subtemplate>
	<StaticText content="Model Transitor" style="Heading 2 (VP)"/>
	<ParagraphBreak/>
	<HasMetaModelPropertyChecker property="transitFrom" flag="true">
		<StaticText content="Transit From" style="Heading 3 (VP)"/>
		<TableBlock colWidths="5000,5000" tableWidth="14500" alignment="right">
			<TableRow>
				<TableCell leftBorderEnable="false" rightBorderEnable="false" color="230, 230, 230">
					<StaticText content="Type" style="Column header 1"/>
				</TableCell>
				<TableCell leftBorderEnable="false" rightBorderEnable="false" color="230, 230, 230">
					<StaticText content="Value" style="Column header 1"/>
				</TableCell>
			</TableRow>
			<ForEach property="transitFrom" ignoreParagraphBreakForLastModel="false">
				<TableRow>
					<TableCell leftBorderEnable="false" rightBorderEnable="false">
						<StaticText content="TransitFrom" style="Table Contents"/>
					</TableCell>
					<TableCell leftBorderEnable="false" rightBorderEnable="false">
						<StringPropertyText propertyText="value" style="Table Contents"/>
					</TableCell>
				</TableRow>
			</ForEach>
		</TableBlock>
	</HasMetaModelPropertyChecker>
	
	<HasMetaModelPropertyChecker property="transitTo" flag="true">
		<StaticText content="Transit To" style="Heading 3 (VP)"/>
		<TableBlock colWidths="5000,5000" tableWidth="14500" alignment="right">
			<TableRow>
				<TableCell leftBorderEnable="false" rightBorderEnable="false" color="230, 230, 230">
					<StaticText content="Type" style="Column header 1"/>
				</TableCell>
				<TableCell leftBorderEnable="false" rightBorderEnable="false" color="230, 230, 230">
					<StaticText content="Value" style="Column header 1"/>
				</TableCell>
			</TableRow>
			<ForEach property="transitTo" ignoreParagraphBreakForLastModel="false">
			<TableRow>
					<TableCell leftBorderEnable="false" rightBorderEnable="false">
					<StaticText content="TransitFrom" style="Table Contents"/>
				</TableCell>
				<TableCell leftBorderEnable="false" rightBorderEnable="false">
					<StringPropertyText propertyText="value" style="Table Contents"/>
				</TableCell>
			</TableRow>
			</ForEach>
		</TableBlock>
	</HasMetaModelPropertyChecker>
	<StaticText content="" style="Default"/>
</Subtemplate>

This is not working, of course. So i don’t know what properties i have to read and how they are named.

Any thoughts on this?
-cbarth


bpIntermediateEvent.png

Hi cbarth,

Base on your need, we have added a new template called “Traceability”. Please run the update program to advance to latest patch release, and have a try. Instruction:
http://www.visual-paradigm.com/admin/configpatchserver.jsp

Best regards,
Jick

traceability.png