Cancel UserTask
POST/:tenant_id/tasks/:wf_run_id/:user_task_guid/cancel
Cancels a UserTask by making it transition to CANCELLED status if the request is successfully processed in LittleHorse Server.
Request
Responses
- 204
- 400
- 401
- 403
- 404
- 412
No Content
Field(s) passed in is/are invalid, or no userId nor userGroup are passed in.
Tenant Id is not valid. It could also be triggered when current user/userGroup does not have permissions to complete the requested UserTask.
Trying to cancel a UserTask that is already DONE or CANCELLED
No UserTask data was found in LH Server using the given params.
Failed at a LittleHorse server condition.