| 1 |
.. _extern: |
| 2 |
|
| 3 |
extern |
| 4 |
////// |
| 5 |
|
| 6 |
This allows an external node to be used in a trigger expression. All |
| 7 |
nodes in triggers must be known to ecFlow by the end of the **load** |
| 8 |
command. No **cross-suite dependencies** are allowed unless the names of tasks outside the |
| 9 |
suite are declared as **external**. |
| 10 |
|
| 11 |
An external trigger reference is considered **unknown** if it is not |
| 12 |
defined when the trigger is evaluated. |
| 13 |
|
| 14 |
You are strongly advised to **avoid cross-suite dependencies**. Families |
| 15 |
and suites that depend on one another should be placed in a single |
| 16 |
suite. If you think you need **cross-suite dependencies** , you should consider |
| 17 |
merging the suites together and have each as a top-level family in the |
| 18 |
merged suite. |
| 19 |
|
| 20 |
To run the task **/b/f/t** when suite ' is not present, use the following trigger, e.g.: |
| 21 |
|
| 22 |
.. code-block:: shell |
| 23 |
|
| 24 |
extern /a/f/t |
| 25 |
suite b |
| 26 |
family f |
| 27 |
task t |
| 28 |
trigger /a/f/t == complete or /a/f/t == unknown |
| 29 |
|