Workflow

Workflow notes are in the app folder: https://gitlab.com/kb/workflow/blob/master/docs/source/index.rst

Delete a Task by ID

from workflow.activiti import Activiti
activiti = Activiti()
# replace `17077`` with your task ID
task = activiti.task_status(17077)
task.process_key
activiti.process_delete(task.process_id)