from ecflow import *
defs = Defs() +
Suite("s1")
defs.s1 += [,
Task("t1"),
Task("t2"),Task("t3"),Task("t4") ]
defs.s1.t2 += Trigger( "t1 == complete" ))
defs.s1.t3 += ,
Task("t3",Trigger( "t2 == complete" )
defs.s1.t4 += ),
Task("t4",Trigger( "t3 == complete" )))) |