Skip processing one iteration of the list loop

kadantkadant Posts: 4

Hello,
Anyone knows how to skip processing the expense list iteration and process the next one? I am trying to skip an non-reimbursable expense from getting exported

Construct used:
Taken from here - https://freemarker.apache.org/docs/ref_directive_list.html#ref_list_continue
<#if expense.reimbursable == false> <#continue> </#if>

If I comment it out all works well, so I know it's in the right place and the condition syntax is correct. the <#continue> causes an error in this case.

Any other way of achieving this?

Best Answer

Answers

Sign In or Register to comment.