{% if uuid is not empty %} {% set category = createModel('Category','category').findById(uuid) %} {% endif %}