This discussion is archived
2 Replies Latest reply: Jul 15, 2013 8:45 AM by jrimblas RSS

Wait process? how?

Postie Newbie
Currently Being Moderated

Hi

 

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?

 

Dean

  • 1. Re: Wait process? how?
    TexasApexDeveloper Guru
    Currently Being Moderated

    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?
    jrimblas Expert
    Currently Being Moderated

    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.

     

    Thanks

    -Jorge

    http://rimblas.com/blog/

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points