Task evaluation:
{# Example 6 #} {# Looking through child members to see if a condition is met #} {# for example a US case exists #} {% for childMatter in matter.childrenMatters %} {% if (childMatter.country == "US") %} {% set doNotGenerate = true %} {% endif %} {% endfor %} |
{# Example 7 #} {# Looking through family members to see if a condition is met #} {# for example a US case exists #} {% for familyMatter in matter.family.members %} {% if (familyMatter.country == "US") %} {% set doNotGenerate = true %} {% endif %} {% endfor %} |