from ecflow import Defs,Suite,Task,Trigger,Complete defs = Defs( Suite("s1", Task("t1"), Task("t2"), Task("t3", Trigger("t1 == complete"), Trigger("t2 == active"), # added as a AND Trigger("t2 == aborted",False)))) # False mean add with OR |
(t1 == complete and t2 == active or t2 == active) |
The following show alternative styles that produce the the same definition:
|
|
|