[meta]
    title = "test workflow for broadcast timeout functionality"

[scheduler]
    UTC mode = True

[scheduling]
    initial cycle point = 20100808T0000Z
    final cycle point   = 20100808T0000Z
    [[graph]]
        R1 = send_broadcast => timeout

[runtime]
    [[send_broadcast]]
        script = """
            cylc broadcast -n timeout --point=20100808T0000Z --set='[events]execution timeout=PT1S' $CYLC_WORKFLOW_ID
        """
    [[timeout]]
        script = """
            cylc__job__poll_grep_workflow_log -E \
                "${CYLC_TASK_ID}.* execution timeout after PT1S"
        """
        [[[events]]]
            execution timeout = PT1M
