Question on Auto Trigger the Button of "Save as Draft"

Confluence User - 20 Jun, 2015

Dear expert,

I have a form attached to the workflow activity, i would like to know how can i trigger the "Save as Draft" button, when the user leave the form by navigate somewhere from menubar or close the windows ?

Best Regards

Tony Chu

process;forms

3


21 Jun, 2015
confluenceUser
confluenceUser

You can probably write some client side scripting to handle this.

I'm not sure if this is the intended behaviour that you want to exert on.

What's on the screen does not constitute to what the end user wants to key in or to submit, even as draft. Furthermore, user may have left the machine and its open to others to manipulate.

Cheers.

21 Jun, 2015
confluenceUser
confluenceUser

Dear Hugo, I did use the following Client Script but it seem not working. Please advise <script type="text/javascript"> $( document ).unload(function(){ $('#saveAsDraft').submit(); }); </script> Best Regards Tony Chu

22 Jun, 2015
confluenceUser
confluenceUser

Dear Hugo,

BTW, the reason why i want to do this is because I want to track the event of the Performer that have read/open the tasks or not. Do Joget OOTB have capture this event or not ?

 

Best Regards

Tony Chu

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print