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
# 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 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
# 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> |
|---|