Cancel and Delete a Workflow Execution
Cancel Workflow Execution
POST /workflow_executions/:id/cancel
Permission workflow_execution:cancel
| workflow_execution:cancel_any
- Client send workflow execution id
- WFS asks AS if user is allowed to cancel this workflow execution
- WFS cancel job (SIGINT) via slurm jobs ID associated with this workflow execution (this should trigger a cascading effect)
Delete Workflow execution
DELETE /workflow_executions/:id
Permission workflow_execution:delete
| workflow_execution:delete_any
- WFS asks AS if user is allowed to delete this workflow execution
- Delete workflow execution from database
- Delete config file