1
0
-1

Hi,

By default clicking on "Run process" process starts at background which is creating a lot on unused process as user can move some where else. 

 

How can we start process on submit button.?

 

 

Regards,

Touqeer

    CommentAdd your comment...

    2 answers

    1.  
      1
      0
      -1

      Ashutosh Tripathi  we map the green circle to the 1st form, then there is no save as draft button. we must need a "Save as draft" on 1st activity. Please help

      1. Ashutosh Tripathi

        I don't know why this would be needed. Saving a running process instance 'as a draft' doesn't make much sense. You could try & create a button in your form using a CustomHTML element and redirect the user somewhere, but you won't be able to retain the data filled by the user in that case.

      2. Touqeer Khan

        The reason is the user has to key in a lot of data on 1st activity and in case he is unable to complete he must save as draft, in this case Joget session should be started, If user cancel the entry or playing around with application session should not start

      CommentAdd your comment...
    2.  
      1
      0
      -1

      Hi,

      I believe you need to look at: https://dev.joget.org/community/display/KBv6/Map+Activities+to+Forms

      Run Process is a special activity which can also be mapped to a form. A User will see this form before the actual start of the process. The process will only start after the user submits the form. This is particularly useful to reduce unnecessary creation of process instances.

      Anders answered another similar question: Run process creates an instance - how to not create instance until the first form is submitted?.

      Thanks!

        CommentAdd your comment...