Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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


Code Block
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:

Code Block
languagebash
titlea.ecf
<head.h>
...
ecflow_client --event=myEvent
...
<tail.h>



However sometime sometimes 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

...