# Iterate over pre or postcondition entries

**URL:** <https://forums.visual-paradigm.com/t/iterate-over-pre-or-postcondition-entries/17395>\
**Category:** General Questions/Discussions\
**Tags:** generate-document\
**Created:** [January 30, 2022, 6:41am UTC](https://forums.visual-paradigm.com/t/iterate-over-pre-or-postcondition-entries/17395 "2022-01-30T06:41:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zsolt\_Sandor](https://forums.visual-paradigm.com/user_avatar/forums.visual-paradigm.com/zsolt_sandor/32/5002_2.png) [@Zsolt\_Sandor](https://forums.visual-paradigm.com/u/Zsolt_Sandor)\
**Post date:** [January 30, 2022, 6:41am UTC](https://forums.visual-paradigm.com/t/iterate-over-pre-or-postcondition-entries/17395/1 "2022-01-30T06:41:29Z")

</div>

Hello,

I would like to create a template for a Use Case where the use case contains both pre and postconditions, but the value of the pre or postconditions consist of a list of requirements. I can display the value of a pre or postcondition, but how to iterate over it and display the icon, the name, and some additional text (like at least a space) when it’s a list?

```auto
<TableBlock colWidths="25, 75" repeatTableHeader="false" tableStyle="Properties">
			
			<ForEach property="taggedValues">
				<Conditions>
					<ValueChecker operator="equals" property="tagDefinitionStereotype" value="UseCase"/>
				</Conditions>
				<Sortings>
					<Sorting by="property" property="name" sortValues="Level, Complexity, Use Case Status, Implementation Status, Preconditions, Post-conditions, Author, Assumptions"/>
				</Sortings>

				<ValueChecker operator="equals" property="name" value="Preconditions">
					<TableRow>
						<TableCell>
							<Text>My preconditions</Text>
						</TableCell>
						<TableCell>						
								<Property property="value"/>
						</TableCell>
					</TableRow>
				</ValueChecker>

			</ForEach>
		
		</TableBlock>

```

---

<div class="post-metadata">

**Author:** ![Jick](https://avatars.discourse-cdn.com/v2/letter/j/ea666f/32.png) [@Jick](https://forums.visual-paradigm.com/u/Jick)\
**Post date:** [January 31, 2022, 5:50am UTC](https://forums.visual-paradigm.com/t/iterate-over-pre-or-postcondition-entries/17395/2 "2022-01-31T05:50:45Z")

</div>

Hi Zsolt,

Thank you for your inquiry. I have forwarded your question to our engineering team to look into. Once I have an answer, I will let you know.

Best regards,  
Jick Yeung

---

<div class="post-metadata">

**Author:** ![Jick](https://avatars.discourse-cdn.com/v2/letter/j/ea666f/32.png) [@Jick](https://forums.visual-paradigm.com/u/Jick)\
**Post date:** [January 31, 2022, 7:55am UTC](https://forums.visual-paradigm.com/t/iterate-over-pre-or-postcondition-entries/17395/3 "2022-01-31T07:55:02Z")

</div>

Hi Zsolt,

We have just made an enhancement to version 16.3 to support your need. In the latest patch release, the requirements will appear with icons. About adding the text between requirements, this has to be done manually by using .

The following article shows you how to update to the latest patch build of 16.3:

> **[Update Visual Paradigm to Latest Patch - Visual Paradigm Know-how](https://knowhow.visual-paradigm.com/technical-support/update-to-patch/)**
>
> Upon receiving a problem report or request of enhancement, we do our best to make the necessary changes. You will then be suggested to update your Visual Paradigm installation to the patch release, in which the fix or enhancement has been made. In...

Best regards,  
Jick Yeung

---

<div class="post-metadata">

**Author:** ![Zsolt\_Sandor](https://forums.visual-paradigm.com/user_avatar/forums.visual-paradigm.com/zsolt_sandor/32/5002_2.png) [@Zsolt\_Sandor](https://forums.visual-paradigm.com/u/Zsolt_Sandor)\
**Post date:** [January 31, 2022, 8:04am UTC](https://forums.visual-paradigm.com/t/iterate-over-pre-or-postcondition-entries/17395/4 "2022-01-31T08:04:15Z")

</div>

Wow, thank you for the quick fix, you guys are really awesome!

---

<div class="post-metadata">

**Author:** ![Jick](https://avatars.discourse-cdn.com/v2/letter/j/ea666f/32.png) [@Jick](https://forums.visual-paradigm.com/u/Jick)\
**Post date:** [February 4, 2022, 1:18am UTC](https://forums.visual-paradigm.com/t/iterate-over-pre-or-postcondition-entries/17395/5 "2022-02-04T01:18:31Z")

</div>

Hi Zsolt,

You are welcome. We are glad to know that the problem is solved. Should you have any other questions, please feel free to let us know.

Best regards,  
Jick Yeung
