Multiple approvers in workflow

If you don’t mind a dirty hack you should be able to use something like this:

{% for tag in workflow_instance.document.tags.all %}
{% if tag.label == “app1” or tag.label == “app2“ or tag.label == “app3“%}
{% if not app1 %}
{% now “Y” as app1 %}
{% elif not app2 %}
{% now “Y” as app2 %}
{% else %}
TRUE
{% endif %}
{% endif %}
{% endfor %}

This should return TRUE when you found all three approval tags.

I’d love to have a guide on all of this myself. Everything I know, I learned through this forum (mainly the old one that got lost upon the upgrade) and trial end error…

1 Like