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

« Previous Version 2 Next »

By default when we create an event is default value is unset(i.e False or clear). i.e

suite test_events
  family family1
     task a
       event myEvent     # initial value is clear(default), child command is expected to set
     task b
       trigger a:myEvent #  or use ( a:myEvent == set)
   endfamily
endsuite

The event is triggered like:

a.ecf
<head.h>
...
ecflow_client --event=myEvent
...
<tail.h>


However sometime we want to invert the event, we want to default value to be set, and a child command to clear it.  This capability has been added to ecFlow 5

suite test_events
  family family1
     task a
       event myEvent set       
     task b
       trigger a:myEvent == clear
   endfamily
endsuite
<head.h> 
... 
ecflow_client --event=myEvent clear
...
<tail.h>





  • No labels