Creating a background process

We are developing an APEX application and the user asked a query be implemented as tickler report to be sent by e-mail (MS Back Office Server) to a list of users. I need guidance on two releated issues:

(1) how to define and configure a background process in APEX? In other words, are there development tools for the planning of concurrent processes in the APEX?
(2) how to invoke messaging by their SUMMIT in this process?

Thank you, Ned

Hi Ned,.

Test if you can run tasks in the background in your Apex environment already:

BEGIN
IF APEX_PLSQL_JOB.JOBS_ARE_ENABLED THEN
HTP. P ("ok background tasks!");
END IF;
END;

Then read more below for package apex_plsql_job:
http://download.Oracle.com/docs/CD/E14373_01/apirefs.32/e13369/apex_plsql_job.htm

Kind regards
Ricardo Stumpf
Brazil - Brasilia

Tags: Database

Similar Questions

  • How to stop a background process/thread?

    Hello

    Our previous BlackBerry app is made by someone else and now we want to make a few changes to it.

    The problem I'm working now on, it's that there's no way you can close the application, because the menu button has been disabled (he always kept running in the background). This combined with the fact that the application creates a new thread, means that when you watched on all running programs, you had 2 process that you can not stop.

    Since then I have solved the problem with the key menu and now I can stop the main application, but the background thread keeps appearing as a running process (when I choose to change to another application).

    So, after this story, my question is:

    How can you stop a process in the background?

    In my case I want to stop the background process that the application has started at some point and will not close now...

    Thank you!

    Welcome on the support forums.

    You can stop the background process using world events.

    set up a globaleventlistener in the background process and set a terminate event.

    or you might mark it as a module of the system, it would not appear in the Task Manager, then.

  • Send mail background processes

    After that I added a process of mail send to every page on my request, I met 2-3 seconds.

    Is it far from sending email to run as a background process?

    Thank you
    Fadi.

    Hello

    You can remove the APEX_MAIL. PUSH_QUEUE; Statement from your code in e-mail.

    Create procedure or a function that calls APEX_MAIL. PUSH_QUEUE; process and create the oracle jobs.

    So, who will call in the background.

    Kind regards

    Patel Kartik
    ------------------------------------------------------------------------
    http://patelkartik.blogspot.com/
    http://Apex.Oracle.com/pls/Apex/f?p=9904351712:1

  • Create a background thread to consume a webervice and invalidate Manager to refresh the screen

    Hello

    I create an application that uses Web services to place objects on a VerticalFieldManager with the received information. What I'm trying to do is first tap on the screen and then consuming the Web service on the merits in order to refresh the screen while he receives the info. Right now my app uses the webservice from the preview screen, but it doesn't push the following until he finished consuming the WS.

    I read that you can create a background thread, and then syinchronize with the user interface refresh (invalidate()) screen, but I don't have all the tracks of where to start. Can someone help me please? Including creating a background thread?

    Thank you very much!

    The best way for your background screw to change your user interface within the constraints of the

    UiApplication.getUiApplication().invokeLater(new Runnable()
    {
        public void run()
        {
                     //your UI modifying code here
            }
    });
    
  • Inter Process Communication and Hidden in the background process?

    Hai,

    I am facing a problem of developing application in adobe air... I need to know the inter process communication and hidden background processes. Anyone have idea about this problem, please help me.

    Thank you

    Dembélé

    You can't have a background process on the PlayBook. All applications are executed by the user and are foreground processes. In regards to the communitication between the processes to run applications, have taken it.

  • Error: Failed to create the application process: operation not permitted - deployment of ripple to Dev Alpha

    Hey people,

    I was puzzled on this the last bit of time and can't seem to find a solution. (The closest thing I could find is here: http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/Webapp-not-starting-on-device-VM... but there does appear to be a response [UPDATE: Adam Stanley mentioned that it was due to a missing Debug token, and this isn't the case for me.])

    When I try to "Package & launch" of the ripple, the project is created correctly and even installs the application on the device (is the application icon on the home screen). However, when he tries to run the application, the console of the ripple spit:

    "Error: cannot create the application process: operation not permitted".

    Any later attempt to open the application from the icon on the screen will result in an immediate fall.

    As an attempt to circumvent, I use "Package & sign" and then run the blackberry-deploy with installApp - launchApp - tool options and... it generates the same error as described above.

    I'm working on OS X, and I successfully installed the Webworks SDK as well as the undulation on Chrome Plugin. I have a project together upward with a running python web server and can view the content properly on the ripple. I have my signature correctly registered keys and I generated the file debugtoken.bar. I downloaded the debugtoken on the alpha dev successfully device and placed a copy of the debugtoken.bar file in the root folder of the SDK Webworks. The unit is in developer mode.

    Someone at-troubleshooting suggestions?

    [Edited for format (original post deleted line breaks) and also to highlight a number of things]

    So after getting back to the question, I loaded build with the SDK 1675 Webworks (1.0.4.5) published today, and I was able to go beyond the permission error that plagued me previously.

    Thanks again for the help Adam.

  • Showing a standby screen while the background processing

    Hi all

    I implement a wizard have been I let the user fill in some parameters of network connection. When the user clicks 'next' I want to run a background process to see if the entered parameters are correct. According to the result of the background process, the wizard can continue to the next screen or remain on the current screen.

    There must be something like this:

    boolean onNext()
    {
      // Executed when the user presses 'next' (run in the EDT)
    
      // Show a wait popup
      UiApplication.getUiApplication().pushScreen(progressPopup);
    
      // do my network stuff
      boolean success = false;
      UiApplication.getUiApplication().invokeAndWait(new Runnable()
      {
        public void run()
        {
          // try to connect to the network
          // ...
          success = true;
        }
       });
    
      // hide the popup
      UiApplication.getUiApplication().popScreen(progressPopup);  
    
      // return whether the network stuff was successful
      return success;
    }
    

    This does not work because the popup does not appear. How can I achieve that?

    Thanks in advance!

    Modal screen is very good and has some advantages, in that it means that your logic that knows what it is in the State.

    What you want to do depends on the application.  For example, we have a server locator tool, the user launches the search, then we do not secure anything, except that they cannot launch a new search until they cancel the old one.  Alert us when the search is completed or dead or expired.

    With a modal form (and we do too) I personally like this to have a Cancel button, so that the user can stop waiting - which complicates the Interface.  In fact, there is a case for the wireless network to bring an observer of the screen modal, so that he knows that he has to ignore the answer if the screen has been cancelled.

  • "Unable to create a second process" Simulator BB9800

    Everytime I try and launch my app in the simulator of torch, I get an error message of the Simulator itself (not on the simulated BB) stating "unable to create a second process. Please see the release notes for more information".

    This only happens if I run the application browser first.  If I restart the phone and launch my widget, it works fine - but then I can't launch the browser without the same mistake happening?

    I built my application using a copy of the packer of widget patched with the files of http://supportforums.blackberry.com/t5/Web-Development/Supporting-BlackBerry-Widget-applications-on-... but it doesn't seem to help.

    Is there anything else I should do?

    Hello

    You do everything correctly.  The version of the torch Simulator that is currently available for download will not accept that a single instance of webkit work.  This is a limitation of the Simulator is implemented.

  • MIDlet with a RIMlet background process

    Hello

    I'm developing a MIDlet customer and BB, I would like to add a background to the vote server process.

    I have a few questions:

    I have a RIMlet the best choice for the background process?

    How can I configure the generation to have a RIMlet and a MIDlet access the same recordstore and memory?

    The RIMlet should auto start and not visible in the applications menu, is it possible?

    Is there a good tutorial for background processing than at other points of entry for BB (project in eclipse and development approach configuration)?

    Thank you

    Guy

    1. for blackberry, I go to the RIMlet.

    2. I don't know how to do this. Never tried. but you can check out this:

    http://supportforums.BlackBerry.com/Rim/Board/message?board.ID=java_dev&message.ID=2546&query.ID=242...

    http://supportforums.BlackBerry.com/Rim/Board/message?board.ID=java_dev&message.ID=25587&query.ID=24...

    3. Yes, that's possible, subject is defined in the module system.

    4. you can refer to this:

    http://supportforums.BlackBerry.com/Rim/Board/message?board.ID=java_dev&thread.ID=13576

    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/How_To_-_Setup_an_alternate_entry_point...

    I hope this helps.

  • Background processes continue if switch you user in Windows 7?

    Running itunes game and sync files to the box and want to know if they'll be upset if I change username.

    Background process will continue running when switch you users.

  • Creating a background without end

    I'm looking for online tutorials to create a background without end, much like these images below. Can someone tell me please in the right direction?endless2.jpgendless1.jpg

    I would do it with a gradient fill layer

    1. Choose layer/new layer fill / gradient, give a name to your new layer and presso OK.

    2. in the window of gradient fill, choose the Style / thought

    3. drag & drop directly in the scene of the line of the gradient so that it overlapped the horizon line

    4. click on the preset gradient and the gradient editor-enter

    5 play with colors, but don't forget the stop no is opacque and the other is transparent.

  • How to create a background error page in Muse [was: error page]

    How can I go about creating a background for my Muse site error page?

    I actually have to create a page in my design and hide it in the menu?

    I need that apparently for SEO purposes...

    Help!

    TIA.

    How can I go about creating a background for my Muse site error page?

    I actually have to create a page in my design and hide it in the menu?

    Yes.

    But you must also change the .htaccess file that is stored on your Web space.

    Read here for more information: How to redirect your 404 error to a custom Page. Htaccess Basics

    Some providers have a configuration tool where you can plug your individual error on your site page. Maybe you're one of the happy customer of such a provider.

    Fenja

  • Issue of permanent withdrawal for the background process

    Dear all,

    Oracle DB Version: 11.2.0.3

    Version of the OS: RHEL 5.10

    We have the below listed (with the exception of the mandatory process) background process when querying using the command "ps" on the DB server:

    ora_e006_SID
    ora_w001_SID
    ora_smco_SID
    ora_e007_SID
    ora_e008_SID
    ora_j000_SID
    ora_j001_SID
    ora_qmnc_SID
    ora_cjq0_SID
    ora_emnc_SID
    ora_q000_SID
    ora_q001_SID
    ora_e000_SID
    ora_e001_SID
    ora_e002_SID
    ora_e003_SID
    ora_e004_SID
    ora_e005_SID
    

    Whenever we're tyring to stop the database, he's waiting for active sessions. I predict the cause are treated the foregoing that delay the restart. I also predict that these background processes are releated to Oracle Streams. Can someone help me remove all background processes above? Can I permanently a solution? I've traveled to several sites but could not find the exact solution I'm looking for.

    SQL> show parameter aq
    
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    aq_tm_processes                      integer     1
    
    

    Above is the setting for the QA process.  Thanks in advance for the help.

    Kind regards

    Imran Khan

    This is resolved. It was a bug in 11.2.0.3. Raise SR Oracle and got the one-time patch. Applied and since then, it is not question at all.

    Thank you

    Imran Khan

  • Creating a background Image full screen

    Hi guys, I created a background image of the browser by 1920p wide by 1600 p deep.  When I place it in my master page, the original size and select high in the Center, the image is placed in an area that covers the left side of the screen of the browser anywhere on the right side of my page 960p border.  The remaining right side of the browser area is empty, as my image is not wide enough.  Have did something wrong or there at - it a setting I have to do something with the settings?  My page size of work area is the default 960 x 500 p p.  Thank you.

    Set your "suitable" to "Scale up" If you want your picture to imitate the size of your browser.

    Also set your 'Position' to the PIN in the Center.

  • How can I create a background gradient which does not affect the readability of the words in the foreground?

    Screenshot (27).png

    Note that the words seem to disappear as the blue becomes more important?

    How can I fix it?

    In addition, since I work more than 30 plans, is there a general framework that needs to be changed?

    Furthermore, this gradient was created using the gradient tool, and is therefore not part of the background.

    Under file-> Document Setup, I found that you can create a background Uni but see no options for a gradient fill.

    I would appreciate help.

    I'm like your gradient is above the text.

    Select your gradient and the hit Shift + Ctrl + [ ]

    This should send your gradient to the back behind the text

Maybe you are looking for

  • Cannot restore bookmarks

    Version 3.6.17 last night I noticed that a particular section of bookmark, I use a lot was missing so I tried to restore the bookmarks of a day old backup Firefox has automatically done for me. I got the error "Failed to process the backup file." So

  • Satellite Pro L300 - which improved after the BIOS update

    Hello users,. I just finished an update of the BIOS on Satellite Pro L300 using Updater Insyde Bios. I tried the Toshiba site to see what's new or what has improved since the update my bios 1.7version v2.2. But there is no search results. I also went

  • Windows XP - Dragon Naturally Speaking

    Original title: help me I have naturally speaking Dragon it it appears running in windows compatibility mode, it I recommed Natspeak.exe program compatibility mode. How can I disable the natspeak.exe Windows Program Compatibility Mode

  • Black screen with white cursor. Impossible to load Windows or even download a new copy

    I had Windows Vista on my computer and I got a virus. None of the antivirus working to clean the infected files and clips failed as well. So I decided to run repair system and it to halfway through, my office has crashed. I turned it our with the res

  • Peripheral Bluetooh has stopped working... Windows Vista

    To my Panel, 'hardware and sound' folder is missing and built-in Bluetooth device has stopped working... My operating system is Windows vista, my PC is Dell Inspiron1525... pl help