2 Replies Latest reply: Jul 15, 2013 10:45 AM by jrimblas RSS

    Wait process? how?




      I have a process that takes 2 minutes, I would liek to initial this at submit.. so users know its doing something

      javascript:apex.submit({ showWait:true});


      But I can't get to work? anyone have an working examples?



        • 1. Re: Wait process? how?

          If you have a process that takes 2 mins to run, that is something that I would recommend making a process you run via dbms_scheduler and letting the user know when the process is completed as apposed to having them sit there waiting for it to complete...


          Thank you,


          Tony Miller
          LuvMuffin Software
          Ruckersville, VA

          • 2. Re: Wait process? how?

            I agree that perhaps the user should not wait that long for the page to come back, but to answer your questions.


            Edit your button, change the Action from Submit to Redirect to URL.

            Use a code like this:


            javascript:apex.submit({request: 'SAVE', showWait: true});


            Change SAVE to the correct request value.