public static String getTerminationReasonParameter() {
        return TERMINATION_REASON_PARAMETER;
    }
Task that can terminate a workflow with a given status and modify the workflow's output with a
given parameter, it can act as a "return" statement for conditions where you simply want to
terminate your workflow. For example, if you have a decision where the first condition is met,
you want to execute some tasks, otherwise you want to finish your workflow.

<pre>
...
{
 "tasks": [
     {
         "name": "terminate",
         "taskReferenceName": "terminate0",
         "inputParameters": {
             "terminationStatus": "COMPLETED",
             "workflowOutput": "${task0.output}"
         },
         "type": "TERMINATE",
         "startDelay": 0,
         "optional": false
     }
  ]
}
...
</pre>

This task has some validations on creation and execution, they are: - the "terminationStatus"
parameter is mandatory and it can only receive the values "COMPLETED" or "FAILED" - the terminate
task cannot be optional
core/src/main/java/com/netflix/conductor/core/execution/tasks/Terminate.java