cancel
Showing results for 
Search instead for 
Did you mean: 

Delete Tasks by Javascript code

cool123
Champ in-the-making
Champ in-the-making
I want to delete the tasks that assigned in the workflow. Can anyone which code i have to write to delete tasks in the BPMN.

Thanks in Advance
4 REPLIES 4

kaynezhang
World-Class Innovator
World-Class Innovator
Why do you want to delete tasks ?
I 'am afraid you can't do it by using javascript ,but you can end tasks.

cool123
Champ in-the-making
Champ in-the-making
ok ,tell me code how to end tasks in javascript when my condition fullfills.
e,g. when approver approves the document all the tasks should be end.

kaynezhang
World-Class Innovator
World-Class Innovator
You want to end all tasks,you need to use java ,javascript can only end tasks assigned to the current user

cool123
Champ in-the-making
Champ in-the-making
Sir send me the javascript code,how to end task.Can we talk on skype

Thanks in advance.