cancel
Showing results for 
Search instead for 
Did you mean: 

delete completed tasks

ronald
Champ in-the-making
Champ in-the-making
Hi,

I am trying -through the console- to delete all workflows and i expected that also the completed tasks would be deleted.
I have tried
delete all workflows
and
delete all workflows imeanit
, but both did not give me the desired result.
Because when i did
show my completed
for a certain user the completed tasks still show up and there is no command like 'delete task'. Anybody has a solution for this?

Thanks in advance.

Regards,

Ronald Vermeire
6 REPLIES 6

tbillard
Champ in-the-making
Champ in-the-making
Hi,

A brutal way is the undeploy the workflow definition and redeploy it.
It work's for me  :roll:

Regards,
Thomas Billard
KNOWINGS company

rob562435
Champ in-the-making
Champ in-the-making
A better way is in the task overview: one of the buttons on the task list is to delete the workflow attached to the task, as a result all tasks will disappear.

venzia
Star Collaborator
Star Collaborator
The best method that i found is, from workflow admin console :
Comands :
user name_of_user
show my completed
(look de workflowId)
delete workflow workflowIdFromTasks
Hope this help,

sethatrothbury
Champ in-the-making
Champ in-the-making
Hi Ronald,

On our company website, you'll find a webscript that we released that removes completed tasks. If you follow this link: http://www.rothburysoftware.com/  and then click on the "Resources" link, you'll see the "Workflow Purge Tool". Hopefully this script will help you out.

-Seth

raptus
Champ in-the-making
Champ in-the-making
Hallo everybody,

I would ask you an important question: how can I end a workflow without pressing "task done" button?

When I click on "approve" in my workflow I wish to automatic end the task (and the workflow) without pressing any button….Is it possible??

I found this method: workflow.delete() in http://wiki.alfresco.com/wiki/Workflow_JavaScript_API and I put it in my approvation script, but it makes an error when I click "approve" button:

11:22:52,149 WARN  [org.alfresco.web.ui.repo.component.property.UIAssociation] Failed to find association definition for association 'bpm:assignee'

How can I correctly write the script? How can I automatic end the workflow?

Thankyou all,

Raptus

shmoula
Champ in-the-making
Champ in-the-making
The best method that i found is, from workflow admin console :
Comands :
user name_of_user
show my completed
(look de workflowId)
delete workflow workflowIdFromTasks
Hope this help,

Hi, this didn't work for me, so I deleted whole tables in database.