Code Block | ||
---|---|---|
| ||
from ecflow import Defs,Suite,Task,Trigger,Complete defs = Defs() s1 = defs.add_suite("s1") t1 task = ecflows1.Taskadd_task("t1") t2 = s1.add_task("t2") t2.add_trigger( "t2t1 == active and t4t3 == aborted" ) taskt2.add_complete( "t2t3 == complete" ) t3 = s1.add_task("t3") |