continue


Continue tags immediately ends the current iteration and moves to the next element within the array.


Syntax


{% for <Item> in <Array>[ Options] %}

<Template Block>

{% continue %}

<Template Block>

{% endfor %}



Example:

Input


{% for error in InputParameters %}

{% if forloop.index == 2 %}

{% continue %}

{% endif %}

Source - {{ error.Source }}

Time - {{ error.Time }}

Details - {{ error['Error Details'] }}


{% endfor %}



Output


Source - Error 1

Time - Time 1

Details - Details 1


Source - Error 3

Time - Time 3

Details - Details 3