[scheduling]
    [[graph]]
        R1=foo

[runtime]
    [[foo]]
        script="""
            cylc broadcast "${CYLC_WORKFLOW_ID}" \
                -s '[environment]CYLC_TEST_VAR=1'
            cp -p \
                "${CYLC_WORKFLOW_RUN_DIR}/flow-2.cylc" \
                "${CYLC_WORKFLOW_RUN_DIR}/flow.cylc"
            cylc reload "${CYLC_WORKFLOW_ID}"
            sleep 5
            cylc trigger "${CYLC_WORKFLOW_ID}//1/bar"
        """
