# Check that stopping the only flow causes the workflow to shut down without
# spawning more tasks.
# Here bar stops the flow, so baz should never run.
[scheduler]
    allow implicit tasks = True
[scheduling]
    [[graph]]
        R1 = "foo => bar => baz"
[runtime]
    [[bar]]
         script = """
             cylc stop --flow=1 ${CYLC_WORKFLOW_ID}
             cylc__job__poll_grep_workflow_log 'Command "stop" actioned'
         """
