ecFlow's documentation is now on readthedocs!

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Please note that after the first part trigger has been added, subsequent part triggers must include a boolean to indicate whether the part expression is to be 'anded' or 'ored'
task2 = ecflow.Task("t2")
task2.add_part_trigger( "t1 == complete")
task2.add_part_trigger( "t2 == active", True) # here True means add as 'AND'
task2.add_part_trigger( "t3 == active", False) # here False means add as 'OR'

  1. complete expression is: (t1 == complete and t2 == active or t3 == active)
  • No labels