{% if app.request.get('instance_id') > 0 %} {% set instanceId = app.request.get('instance_id') %} {% else %} {% set instanceId=0 %} {% endif %}