| 1 |
Inter-Workflow Triggering |
| 2 |
========================= |
| 3 |
|
| 4 |
.. admonition:: Get a copy of this example |
| 5 |
:class: hint |
| 6 |
|
| 7 |
.. code-block:: console |
| 8 |
|
| 9 |
$ cylc get-resources examples/inter-workflow-triggers |
| 10 |
|
| 11 |
.. include:: README.rst |
| 12 |
|
| 13 |
.. literalinclude:: upstream/flow.cylc |
| 14 |
:language: cylc |
| 15 |
:caption: Upstream Workflow |
| 16 |
|
| 17 |
.. literalinclude:: downstream/flow.cylc |
| 18 |
:language: cylc |
| 19 |
:caption: Downstream Workflow |
| 20 |
|
| 21 |
.. admonition:: Example - Decoupled workflows |
| 22 |
:class: hint |
| 23 |
|
| 24 |
This pattern is useful where you have workflows that you want to keep decoupled |
| 25 |
from one another, but still need to exchange data. E.G. in operational |
| 26 |
meteorology we might have a global model (covering the whole Earth) and a |
| 27 |
regional model (just covering a little bit of it) where the regional model |
| 28 |
obtains its boundary condition from the global model. |