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 9 Current »

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

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

The event is set 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
       # initial value is set, 
       # child command is expected to clear
       event myEvent set       
     task b
       trigger a:myEvent == clear
   endfamily
endsuite

The event is cleared like:

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





  • No labels