{% if uuid is not empty %} {% set item = createModel('WorkflowItems','actions').findById(uuid) %} {% endif %} {% set action = createAction(item.action) %}
{{ index }}
{{ component('semantic~status.icon',{ status: item.status }) }}

{{ labels.trigger }}

{{ item.trigger_type }}
{{ item.trigger_value }}

{{ labels.rule }}

{% if item.rule_condition is empty %} {{ labels.empty }} {% else %} {{ service('workflows').highlightRuleCode(item.rule_condition) }} {% endif %}

{{ labels.action }}

{{ action.getName() }}

{{ labels.properties }}

{{ component('actions::admin.actions.properties.view',{ items: item.getOptions('action_options') }) }}