"Start workflow" double click creates two tasks

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
zxdev777
Active Member II

"Start workflow" double click creates two tasks

Hi all,

If I attached more files to workflow "Review and Approve" first click on button "Start workflow" creates task, but screen does not disappear. Second click on button creates second task and workflow screen is closed.

Have you encountered the same problem ?

Thanks

3 Replies
afaust
Master

Re: "Start workflow" double click creates two tasks

See MNT-13527 - there should be guards in place to avoid that issue, but better just to get used to not using double-click (typically not used in a web application for interactions).

zxdev777
Active Member II

Re: "Start workflow" double click creates two tasks

It seems that issue is not fixed for alfresco 5.2.e / share 5.2.d. 

User click once on button start workflow - nothing happen (no browser loading).

After few seconds click again and screen disappear - two workflows started..

zxdev777
Active Member II

Re: "Start workflow" double click creates two tasks

Hi,

My workaround for this issue: I attached event on form submit:

if (form is valid) -> disable "start workflow" button and navigate user to last page. Smiley Happy So task is created as expected just once.