Execute a process after delay

Dear all,
I have a Stored Procedure using a function performing some tasks in Oracle 9i DB. All I would like to do is to find a way to be executed repeatedly every T minutes, where T could be customizeable..
Any ideas, examples or documentation available?
Thanx in advance..

Maybe is helpful...could you send me some examples or a documentationOne of the reasons why this newfangled interwebnet thing has taken off is the concept of hypertext. This is text with an embedded URL or link, which means if you click on it it will take you another web page.
It is unfortunate that the forum software does not use the de facto standard for indicating links, (i.e. underlining) but instead colours them Execute a process after delay.
Cheers, APC

Similar Messages

  • Error executing ODIMoveFile process after Essbase interface

    Hi
    I have created a package with execution of ODIMoveFile after Essbase extraction interface, in following order:
    1. An interface extracts dimension from Essbase into a txt file
    2. ODIMoveFile to move(not copy) this file at other location
    Now when i execute this package, the interface to extract the dimension executes fine and it gives the output in file.
    But during the execution of ODIMoveFile, it gives error saying, the file could not be deleted.
    Now, once the extraction of dimension members is complete, why does ODIMoveFile not able to move the file?
    I also tried to replace the ODIMoveFile with OS command which executes a Bat file to copy the file & then delete it. This time, the second part continues to execute for long duration without giving errors & i need to manually stop it.
    Moreover, when i tried to manually delete the file, i am unable to do so, giving error that the file is in use.
    Does the control over the file does not get removed even if interface completes execution??

    Hi,
    I think there is a lock of the file until the package has completed.
    There is a way round this.
    Create a package with the extract measures interface.
    Create a scenario from the package.
    Create another package, use the tool OdiStartScen to start the Scenario you created above.
    Next step have the OdiFileMove.
    Ok?
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Execute the process after enhancing the extractor

    Once I replicate the data source in BW I need to change the Transfer rules to map this new field. Then I just need to run the infopackage to see if the data is populated or not ???  Right ?
    Please help

    hi,
    yes, you need to change transfer structure,
    go to first tab, and move the new field added from right to left side,
    and back to transfer rules infoobject-field assignment,
    assign this field with an infoobject.
    activate transfer rules.
    you may need to add infoobject to comm structure, and to data target/ods/infocube and maintain the update rules.
    then run infopackage
    hope this helps.

  • Execute a DML process after user selects a column link in a report

    APEX 3.2 / RDBMS 10GR2
    I have written a non IRR report that displays several rows of data. The first column of each row has a defined column link uniquely identifying the row. When a user selects one of the rows via the column link, a "hi fidelity" report is generated for that displayed row using a (RTF) report layout created in the shared components section of APEX.
    This is working well but I also need to execute a DML process after the user selects a row but prior to displaying the hi fidelity report using the selected column link value of the displayed row.
    As a URL is used to call hi fidelity report via the column link, it does not appear that the process section of the APEX page component is available to execute the DML prior to displaying the report.
    Any ideas on where to define the DML process?
    Thanks in advance.
    Barry D

    Hi Barry,
    Not knowing exactly what your URL calls, this is what I do for PL/SQL procedures that create HTML output:
    Create a blank page with no template and call the procedure inside a PL/SQL region with no template.
    Alternatively, if your URL opens in a new window:
    run some javascript for your link and pass a unique request through.
    The javascript needs to find the ApEx form, update it's target attribute and submit it with the unique request, then set the target back to blank.
    The form will submit into a new window.
    You can then have a process and branch allocated to this unique request to do what you want.
    Hope this helps
    Regards
    Michael

  • Execute process after clicking a link

    i have a page with a form and report.
    the report contains links to specific datasets in the form. that means: it's a link to the same page but another data set.
    because of the form i have a process Automatic Row Processing (DML) to save changes in the form.
    now i want to use this process after clicking a link. i did the following: i added to link the keyword 'Apply' in the position of 'Request'.
    the process says: Valid Update Request Values: SAVE, APPLY CHANGES, UPDATE, UPDATE ROW, CHANGE, APPLY, APPLY%CHANGES%, GET_NEXT%, GET_PREV% , but if i click on a link the process will never be executed.
    maddl

    Hi
    What do you mean with "link to the same page"?
    If you don't SUBMIT the page, the Automatic Row Processing will not fire.
    So your "link" should be something like a href="javascript:doSubmit('APPLY');",
    and then you set up Page Branching to branch to the same page.
    You might want to set up a condition for the branch also, choose Request = Expression 1, and enter APPLY in the expression 1 field.
    Hope this applies to your case.
    Cheers,
    Vidar

  • "error executing the process" rebooted there after it doesn't turn on

    Hi.
    I have an important problem with my Lenovo k900 brought in september 2013. It gave an error like this "error executing the process..." I reboot the phone, but since that moment the phone doesn't turn on.
    I have tried a hard reset (power + volume(+)) but it doesn´t work.
    When I press the power button, the lights below switch on for a few seconds, but the phone doesn't turn on.

    This is a tough problem to solve if your not experienced with fixing Mac's, you can opt to take it to a local PC/Mac tech to solve it or you can attempt things on your own.
    If you opt for the local help make sure talk to them if you have backups of your data or not, thus may require data recovery efforts performed first before wiping and installing everything fresh.
    Gray, Blue or White screen at boot, w/spinner/progress bar

  • Esb instances execute fine, but are delayed in esb instances view

    when executing esb processes the instances are executing fine, and responding as expected.
    But when trying to investigate in esb instances view there are no instances shown.
    Only old instances.
    It seems like the instances view (and esb_activity table) are days behind in logging of instances.
    What could be the cause for this.
    I can see the esb monitoring topic performance says:
    Messages waiting for read: 10 278

    Actually this is a known bug, and a patch is available, patch 9537174.
    Will now install patch and retest
    Bug 10090909: EXTREMELY LOW MESSAGE DEQUEUE RATE WHEN MANY MESSAGES IN ESB_RELATION_XML
    When posting messages to ESB, when there is a certain, high number of rows in the ESB_RELATION_XML table, the dequeue rate from AQ$_ESB_MONITOR_I and ESB_MONITOR decreases dramatically.
    A number of tests were run. During some, for example, if there were up to a few thousand rows in ESB_RELATION_XML, the dequeue rate was high, probably around 10s or 100s of rows being dequeued per
    second. With about 100000 rows in ESB_RELATION_XML, the dequeue rate decreased to around 1 message per second or slower. In the customer's case, where they have a throughput of millions of messages,
    the dequeue rate drops to about *30 seconds for 1 message*. Decompilation of the code show a possible cause related to full table scans.
    Bug 9877138: INSTANCES NOT BEING DISPLAYED IN ESB CONTROL SINCE INSTALLING MLR#9
    Bug 9537174: MLR7: MESSAGES BUILDING UP IN ESB_MONITOR QUEUE CAUSING ESB CONSOLE DISP DELAY
    Bug 9828169: ESB INSTANCES ARE TOO SLOW TO SHOW UP IN ESB CONSOLE AFTER UPGRADE TO MLR#8.
    Bug 9819999: TIMESTAMP IN ESB_ACTIVITY TABLE CONTAIN INCORRECT DATETIME

  • Execute a function after event

    Hi experts,
    i want to execute a function after a event. I give you an example:
    Zprogram1call function zfct1.
    While execution of function zfct1is running, zprogram2 call function same function zfct1.
    But it's possible that function execution  from zprogram2 to run only after function execution from zprogram1 is finished? I mean , function execution from zprogram2 to sart delayed...only when zfct1 is available,when it's not running in other process.
    Many thanks.
    Dan M.

    you can go for
    CALL FUNCTION func STARTING NEW TASK task
    and in the task id pass the same task name(any char variable of length max 8 chars).
    so, what happens here is :
    prog1 calls fct1 with task T1. (keeps running)
    prog2 calls fct1 with task T1.(same T1, so the second call can also access the global variables from first call).
    hence, you can have a global variable set to X in the fct1 before the update lines... and at the beginning of fct1 you can check that this global variable NE X. then only continue. else wait until that becomes blank
    i have never tried this, but giving you a theory. try implementing it..

  • Error while executing the Process through GP Runtime

    Hi All,
           I have created a
    Process
           Sequential Block
                   Action 1
                   Action 2
    When i am running the process in the GP Runtime , the Action is executed and the View is displayed. When we click on the Submit button which on the form it wil execute the Complete() method in the CO linked to the Action 1,
    after that it needs to execute the Action 2 and display the View 2. Instead it is giving the following error
    "Cannot complete action: Cannot assign a java.lang.String object of length 48 to host variable 3 which has JDBC type VARCHAR(32)."
    Can somebody please help me with this???
    Thanks,
    sujata

    Hello Sujata,
    In your process, after clicking the submit button in Action 1, this should then jump to Action 2. It is not doing this, because you are using the Complete method incorrectly. This method is used to complete the whole process, therefore this method should be only used in Action 2. You need to redesign your process.
    Thanks and best regards,
    Carl Connolly
    Senior Support Consultant - Netweaver Web Application Server
    AGS Primary Support, Global Support Centre Ireland
    Guided Procedures trouble shooting guide:
    https://
    www.sdn.sap.com/irj/scn/wiki?path=/display/jstsg/%2528gp%2529home

  • How to execute the process chain using function module

    Hi,
    How can we execute the process chain when there is any process failed. For ex. when we are running many processes. when loading fails in local process chain, after fixing this error, how can we execute the rest of processes. Can we execute the rest of processes using any function module. Kindly guide me.

    Hi,
    Chk the weblog.
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3149. [original link is broken] [original link is broken] [original link is broken]
    Regards,
    Balaji

  • Process Chain delays

    Process chain delay has default of 5 sec ,can that be reduced ??
    is there any functional module,or program which can reduce this delays more??
    thanks

    Hi,
    we are encountering problems within the Process Chains. we have created a series of process chains that start everyday after 6.00pm. They all start in a sequence, some are set to start at 6.00pm and some are to start 7.00, some at 7.30pm. The subsequent jobs or infopackages that are being called within the chain, takes time to process or there's a delay and because of this all the subsequent PC chains are getting delayed.
    We are in 2004s, SP10.I didnt set any delay time between the process, I had tried
    activating/recativating all the process chains. Nothing seems to help.
    Please advise.
    Rgds
    Gopakumar

  • Spawning another java process after System.exit(0);

    Hi everyone
    I have an application that Im trying to test. Unfortunately one of these tests requires me to spawn another java process after a System.exit(0); has executed. Since this exits the VM its proving very difficult. Does anyone know of a way to restart the VM after the System.exit has run?
    Thanks

    Hi everyone
    I have an application that Im trying to test.
    Unfortunately one of these tests requires me to spawn
    another java process after a System.exit(0); has
    executed. Since this exits the VM its proving very
    difficult. Does anyone know of a way to restart the VM
    after the System.exit has run?Exactly what do you want to do?
    If the application is supposed to only have one exit point then add a security manager and disallow all the other exit points. Then you can use Runtime.exec() to start the second application just before the real exit point.
    However note that if there are other calls to System.exit in the application then it is very likely that this will cause some unexpected failures in terms of security exceptions.
    You could also use Runtime.addShutdownHook() which would run your second app. The hook would be called as the application exits.
    You might want to consider what happens if someone just kills the application (say with 'kill -9' or the windows task manager.) In either of those cases there is nothing that you can do in java to make that second application run.
    You might also want to consider why you are doing this in the first place. As suggested a script solution is probably a better solution.

  • Executing multiple process instances in a batch

    In one of our processes we need to execute multiple process instances together in one go. In order to accomplish this, we have taken a new process which takes a list of instanceStampIds to be processed and then using PAPI processing them one after another in a loop. There is a grab actibity defined, named "GrabAndProcess" to Grab the process instance and then to execute it. We're getting the exception: "Cannot invoke on remote components" while getting process instance using getInstance() in the code below. Here is the code:
    logMessage("\[MultiReconcile\]\[reconcileTask\] Inside Reconcile Task... " + instanceStampId);
    // Pre-Process instanceStampId
    instanceStampIdList = instanceStampId.split(delim : "!");
    // Define the arguments of the activity.
    argumentSet\["reconcilerCommentsArg"\] = reconcilerComments;
    argumentSet\["newStatusArg"\] = newStatus;
    argumentSet\["reconcilerIdArg"\] = reconcilerId;
    logMessage("\[MultiReconcile\]\[reconcileTask\] instanceStampIdList.length: " + instanceStampIdList.length());
    logMessage("\[MultiReconcile\]\[reconcileTask\] Connecting to ReconcilationProcess... ");
    ClientBusinessProcess.connectTo(processId : "/ReconcilationProcess");
    logMessage("\[MultiReconcile\]\[reconcileTask\] Connected to ReconcilationProcess... ");
    foreach (instanceStampIdVal in instanceStampIdList) {
    logMessage("\[MultiReconcile\]\[reconcileTask\] Inside loop... instanceStampId: " + instanceStampIdVal);
    // Pre-process Instance Id
    instanceStampIdParts = instanceStampIdVal.split("/");
    String baseInstanceStampId = "";
    for (int part=0; part < instanceStampIdParts.length - 1; part++) {
    if (instanceStampIdParts[part].compareTo("") != 0)
    baseInstanceStampId = baseInstanceStampId + "/" + instanceStampIdParts[part];
    logMessage("\[MultiReconcile\]\[reconcileTask\] instanceStampId: " + instanceStampIdVal);
    logMessage("\[MultiReconcile\]\[reconcileTask\] baseInstanceStampId: " + baseInstanceStampId);
    // Grab Instance
    try {
    logMessage("\[MultiReconcile\]\[reconcileTask\] processInstanceId: " + baseInstanceStampId);
    logMessage("\[MultiReconcile\]\[reconcileTask\] Getting Process Instance..." + baseInstanceStampId);
    instance = ClientBusinessProcess.processService.getInstance(instance : baseInstanceStampId);
    logMessage("\[MultiReconcile\]\[reconcileTask\] Instance " + baseInstanceStampId + " Retrieved.");
    logMessage("\[MultiReconcile\]\[reconcileTask\] Grabbing Instance... " + instanceStampIdVal);
    instance.grab(grabActivity : "GrabAndProcess");
    if (instance.grabbed) {
    logMessage("\[MultiReconcile\]\[reconcileTask\] Instance " + instanceStampIdVal + " grabbed successfully!");
    // Process Instance
    instance.runTask(activity : "GrabAndProcess", args : argumentSet);
    reconcileResult = reconcileResult + "\nInstance " + instanceStampIdVal + " processed successfully!";
    logMessage("\[MultiReconcile\]\[reconcileTask\] Instance " + instanceStampIdVal + " processed successfully!");
    catch (Java.Lang.Exception e) {
    reconcileResult = reconcileResult + "\nInstance " + instanceStampIdVal + " could not be processed!";
    logMessage("\[MultiReconcile\]\[reconcileTask\] Exception occurred while processing instance " + instanceStampIdVal);
    logMessage("\[MultiReconcile\]\[reconcileTask\] Exception: " + e.message);
    logMessage("\[MultiReconcile\]\[reconcileTask\] Done with processing instanceStampId " + instanceStampIdVal);
    logMessage("\[MultiReconcile\]\[reconcileTask\] Leaving Reconcile Task... " + instanceStampId);
    display (reconcileResult);
    Why is it giving the execption "Cannot invoke on remote components"? What's wrong in the above approach?
    Any help in resolving the issue will be highly appreciated.
    Thanks,
    MK
    Edited by: goelmk on May 6, 2009 3:11 PM

    Hi,
    Could you go into your use case a little bit? I'm confused why you're using PAPI and the automatic grab functionality.
    Going under the assumption, you're trying to use it to do ad hoc routing of intstances. If this is the case, here's another approach to using an automatic grab to route instances. The "instF" search would need to be modified to suit your use case:
    BusinessProcess bp;
    try {
        logMessage("PapiHelper: actionGrabAndRoute: Entry: instance: " + instanceToActOn.instanceIn, severity : DEBUG);
        InstanceFilter instF = InstanceFilter();
        Fuego.Instance[] instances;
        String instanceDescription;
        bp.connectTo(url : Fuego.Server.directoryURL, user : "AUTOCLIENT", password : "P",
                     process : "/" + processName);
        instF.create(processService : bp.processService);
        instF.searchScope = SearchScope(participantScope : ParticipantScope.ALL, statusScope : StatusScope.ONLY_INPROCESS);
        instF.addAttributeTo(variable : VarDefinition.INSTANCE_NUMBER, comparator : Comparison.IS,
                             value : instanceToActOn.instanceIn);
        instances = bp.getInstancesByFilter(filter : instF);
        foreach (inst in instances) {
            logMessage("PapiHelper: actionGrabAndRoute: Found it: " + inst.id, severity : DEBUG);
            try {
                // change this to be the name of your Grab Activity
                inst.grab(grabActivity : "GrabAutomatic");
                logMessage("PapiHelper: actionGrabAndRoute: Grabbed Instance Status: " + inst.grabbed, severity : DEBUG);
                try {
                    inst.runTask(activity : "GrabAutomatic");
                    logMessage("PapiHelper: actionGrabAndRoute: Ran Grab " + inst.grabbed, severity : DEBUG);
                catch (Exception e) {
                    logMessage("PapiHelper: actionGrabAndRoute: tried to run grab and failed because no task to run in Grab", severity : DEBUG);
                inst.route(activity : groupGrabAndRouteToActivityName);
                logMessage("PapiHelper: actionGrabAndRoute: Routed back", severity : DEBUG);
            catch (Exception e1) {
                logMessage("PapiHelper: actionGrabAndRoute: Exception when running or routing: " + e1.cause, severity : DEBUG);
                errors = errors + "Instance could not be grabbed and reassigned\n\n";
                logMessage("PapiHelper: actionGrabAndRoute: Errors: " + errors, severity : DEBUG);
    finally {
        bp.disconnectFrom();
    }Dan

  • Process after GR

    Hi every one,
    I need to execute a user process after a GR or service entry sheet is accepted, on this process the user has to entry some data and confirm a couple of things based on the MM document posted. I've looking for user exits, badi or bte but none of theme are executed after the commit process.
    Any one has an idea on how to solve it?.
    Thanks.

    Hello Carlos,
    1. What "user process" do you want to execute?
    2. What data entry user will make?
    3. How user wil confirm "Couple of Things"?
    4. What is "Couple of Things"?
    Please explain above, this will help us to give inputs from ourside.
    Regards,
    Arif Mansuri

  • "execute aggregation process" fails if views already exist?

    After loading data with the following command...
    import database $5.$6 data
    from load_buffer with buffer_id 1
    add values create slice;
    I am attempting to generate aggregated views using the following command...
    execute aggregate process
    on database $app_name.$db_name
    stopping when total_size exceeds 1.5
    enable alternate_rollups;
    This command fails if I already have a set of views on the database. I was hoping that this command would be able to add to the existing set of aggregated views realizing that there were no views set up for the new slice that was just generated.
    Is there a way (with MAXL) to build aggregated views on a database that only creates views for a new slice without going through the process of defining my own views?
    Thanks...
    Bill

    The views are automatically updated when you create the new slice, no further processing is required.
    From the DBAG:
    You can incrementally commit the data load buffer to an aggregate storage database to create a slice. After loading the new slice into the database, Essbase creates all necessary views on the slice (such as aggregate views) before the new data is visible to queries.

Maybe you are looking for