#!jinja2
[meta]
    title = Workflow Event Mail
    URL = http://myworkflows.com/${CYLC_WORKFLOW_ID}.html
    workflow-priority = HIGH

[scheduler]
    [[events]]
{% if GLOBALCFG is not defined %}
        handlers = echo 'Your %(workflow)s workflow has a %(event)s event and URL %(workflow_url)s and workflow-priority as %(workflow-priority)s and workflow-UUID as %(uuid)s.'
        handler events = startup
{% endif %}{# not GLOBALCFG is not defined #}

[scheduling]
    [[graph]]
        R1 = t1

[runtime]
    [[t1]]
        script = true
