Versions Compared

Key

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

Autocancel is a way to automatically delete a node which has completed. The deletion may be delayed by an amount of time in hours and minutes or expression in days. This will help maintenance of living suites. Notice that, if the suite is repeated and part of it is cancelled, that part will obviously not be run.
The node deletion is never immediate. The nodes are checked once a minute (by default) and expired autocancel-nodes are deleted.
Any node can have autocancel statement like:

Code Block
autocancel +00:10 # Cancel 10 minutes later 
autocancel 0 # Cancel immediately 
autocancel 3 # Cancel three days later


The effect of autocancel is the same as if user would use:

Code Block
ecflow_client –-delete


This means the deleted nodes, if used to trigger other nodes, may leave a node to wait the (now missing) node. To solve this problem use a trigger like:

Code Block
task t

...


   trigger node_name==complete or node_name==unknown

It is best not to use autocancelled nodes in the triggers.

...