OPH_CANCEL

Description

Type

Flow control.

Behaviour

Stop the execution of a running workflow.

Parameters

  • id: identifier of the workflow to be stopped.
  • type : use one of the following types:
    • “kill”: workflow and submitted tasks are aborted (default);
    • “abort”: workflow and pending tasks are aborted, running tasks continue;
    • “stop”: workflow is aborted, submitted tasks continue.

System parameters

  • objkey_filter: filter on the output of the operator written to file (default=all => no filter, none => no output, cancel => shows result data as text).

Examples

Cancel the workflow 1:

[OPH_TERM] >>  oph_cancel id=1;

Arguments

Argument name Type Mandatory Values Default Min/Max-value
id “int” “yes”     “1” /
type “string” “no” “kill|abort|stop” “kill”  
objkey_filter “string” “no” “all|none|cancel” “all”