Path: / API / runtimeAPI / finishTask

Finishes the task. If successful, this operation changes task state from EXECUTING to FINISHED.
If the boolean assignTask is true the task is also assigned to the logged user otherwise the assignment of the task is not affected by this operation.

? {taskUUID}/{taskAssign}
Finishes the task.