AnsweredAssumed Answered

How to skip the 'task done' button

Question asked by raptus on Feb 4, 2010
Latest reply on Feb 10, 2010 by raptus
Hello all!

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

When I click on "approve" (i.e. in the review-approve workflow) I wish the automatic ending of the task (and 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 get the automatic ending of the workflow?

Thanks in advance,

Raptus

Outcomes