check whether or not a concurrent request is complete the backend

Hi all
I want to check whether or not the competing applications is complete the backend using the API. I discovered that FND_CONCURRENT.wait_for_request can be used, but inside this procedure they use dbms_lock.sleep command to delay treatment. I used the same dbms_lock.sleep in my code, but does not correct results.
Please you siggest me on solutions workaround that needs to be done to get the exact time of the concurrent request will have to fill.


Thank you and best regards,
Mahesh

Hello

You can get the same information in table FND_CONCURRENT_REQUESTS (API of FND_CONCURRENT of the readings of the same table).

If you want to continue to use an API, see if you can use FND_CONCURRENT. GET_REQUEST_STATUS (Please check if it is a public API).

Kind regards
Hussein

Tags: Oracle Applications

Similar Questions

  • How to check whether or not the value is already in the collection

    Hello

    I'm in the analysis of a donkey of xml file assigning values to the collection.
    For each new record, that I am available for capture of xml, I need to check if this value already exists in the collection or not, and then only I must add this value to the collection.
    How we do that. I am not able to check whether or not it is already present in the collection. Help, please.

    Here is my code


    TYPE tab_A_type_rec IS RECORD)
    Name Varchar2 (50);
    );

    TYPE tab_A_type IS TABLE OF THE tab_A_type_rec;

    pkv_A_tab tab_A_type: = tab_A_type ();


    l_nl: = dbms_xslprocessor.selectnodes (dbms_xmldom.makeNode (l_doc), ' / / List "");
    for cur_rec in 0... dbms_xmldom.GetLength (l_nl)-1 LOOP
    l_n: = dbms_xmldom.item (l_nl, cur_rec);

    pkv_A_tab.extend; -----
    pkv_A_tab (pkv_A_tab. (Last). Name: = dbms_xslprocessor.valueOf (l_n,'Name / text () '); -I have to do these two steps only after checking whther that value is already present in the collection pkv_A_tab or not... What will be the stated case.

    end loop;


    Thank you
    Pramod

    Peter Gjelstrup wrote:

    Then in the final use TOGETHER to eliminate duplicates.

    The only problem - cannot use SET operator nested table records ;) or even on a table nested objects, unless the object type has map/delivery orders. Now if in real life, record type has only one attribute - NAME OP can just create type of TABLE OF VARCHAR2 (50). Then:

    SQL> declare
      2      type tab_A_type is table of varchar2(50);
      3      pkv_A_tab tab_A_type := tab_A_type('A','B','C','A','B','C','D');
      4  begin
      5  if 'B' member of pkv_A_tab
      6    then
      7      dbms_output.put_line('Found B.');
      8  end if;
      9  pkv_A_tab := set(pkv_A_tab);
     10  dbms_output.put_line('List of distinct elements:');
     11  for i in 1..pkv_A_tab.count loop
     12    dbms_output.put_line(pkv_A_tab(i));
     13  end loop;
     14  end;
     15  /
    Found B.
    List of distinct elements:
    A
    B
    C
    D
    
    PL/SQL procedure successfully completed.
    
    SQL>   
    

    SY.

  • Send e-mail notifications when a concurrent request is completed with error

    {color: #0000ff} I need to set up the system such that when a concurrent request is completed with a status of "Error", email notification generate/send to a user of the application. Please advice if you know how to configure the system to achieve this.

    Note: If the concurrent request ends with 'Normal' or 'Warning' status, generate no send/notification by e-mail to the user of the application.



    Thank you.



    {color}

    Send me an email at [email protected] and I will reply back with the script!

  • How to check whether or not a user session is null

    Hello

    I use Jdeveloper 11.1.2.2

    I have a some Junit test case execution use case, that's the problem I have:

    There's Junit tests that are written for some VO while tests of insert and update operation to Junit it is two General required columns Created by and updated by to engage in the database.
    These values are taken from the UserName of the current UserSession.

    So to get these values for each user, I thought to display a JPanel before the test is run, where the user enters the user name and password which is validated and the user is verified.

    First of all, I need to check if there is a session presents or not. To check this, I wrote a createUserSession() and liked on the inside:
    if(fixture.getApplicationModule().getSession().getUserData().isEmpty())
    Would that be to show the Jpanel and the details of the user and verify the user.

    But when executing the test itself, I found that the session is already present, now I just at the entry values based on who is the user.

    But Junit run the tests in the order in which the tests are written. I therefore call this in all the test cases.

    The Question is:
    How can I check if the session is already present or not, so that I don't have to ask the user every time of each test runs to enter the user name and password?

    Thank you
    Nigel.

    Edited by: Nigel Thomas July 30, 2012 10:26

    Hello

    ask yourself why you create test users and then automatically connect them as Jan Vervecken made in the net, I told him you. This way your test cases run without user intervention. To test if a session exists for a user, I would put a custom property in the user data. If this property exists, the user session is an existing one. However, make sure that the information you save user data survives passivation, because otherwise the information you get out of it is not accurate. See: http://tompeez.wordpress.com/2011/07/08/jdev-always-test-your-app-with-applicationmodule-pooling-turned-off/

    Frank

  • Not enough system resources to complete the task

    REF Dell Desctop PC Windows XP SP 3... GB 74.4 Mem WITHOUT 24.9 en

    Recently, because of the new connection by the web... WITHOUT ANTIVIRUS SOFTWARE? PC became badly infected. PC did not close down in normal mode. Necessary to deactivate the tower. "When you turn off the screen" erased "rather"disappear"as usual.

    Bought McAfee Total Protection and tried to install... not possible. Downloaded 'Stinger' USB transferred to the office and ran the program in Mode.REport security, apparently cleaned files, including RIMECUDE. GEN.b virus. Don't go back to the normal log in, Sun software McAfee tried again... no use. Attempted to find and run the PC recovery and "not enough...". "appeared. Same message when you try to open a number of applications... Currently have no connection to the web

    Could someone please advise...? Thank you very much... Darcy

    REF Dell Desctop PC Windows XP SP 3... GB 74.4 Mem WITHOUT 24.9 en

    Recently, because of the new connection by the web... WITHOUT ANTIVIRUS SOFTWARE? PC became badly infected. PC did not close down in normal mode. Necessary to deactivate the tower. "When you turn off the screen" erased "rather"disappear"as usual.

    Bought McAfee Total Protection and tried to install... not possible. Downloaded 'Stinger' USB transferred to the office and ran the program in Mode.REport security, apparently cleaned files, including RIMECUDE. GEN.b virus. Don't go back to the normal log in, Sun software McAfee tried again... no use. Attempted to find and run the PC recovery and "not enough...". "appeared. Same message when you try to open a number of applications... Currently have no connection to the web

    Could someone please advise...? Thank you very much... Darcy

    The usual advice when a computer has been infected after that connect to the Internet with no antivirus application is to do a clean installation of Windows.

    Computers Dell come with a mechanism to restore the computer to its costs-Dell-State.  I don't know if that's what you mean by 'Attempt to find and run the PC recovery', but you will find the information here:http://support.dell.com/support/topics/global.aspx/support/dsn/en/document?docid=181316

    If you follow the advice of Dell to backup your data before you run the restore program (and that you are able to do), do NOT restore these data before (a) install an antivirus on the restored computer application and (b) using the application antivirus to analyze the data before you restore.  If you have data that you do not want to lose, but you can not run the backup offered by Dell, there are always methods to get your data off.  Select if you want instructions for it.

    If you can, return McAfee Total Protection for a refund.  If you can not get a refund, write off the expense as a learning experience.  Once your computer has been restored, installNOD32 Antivirus 4 (not the "suite") from ESET.com if you want a commercial product.  If you do not want to pay, installMicrosoft Security Essentialsor Avast! antivirus .  In more than one of these 3 antivirus applications, download and install these two applications free anti-malware: Malwarebytes Anti-Malware and SUPERAntiSpyware .

  • When you install age of empires 3 it progresses quite far ahead, it reports an error and to check whether or not the sound.bar file on the disc (cd 2).

    I ask to check if the file sound.bar is on is the cd or not. I'm unable to explore the disc on my computer to determine if the file is there or not. Overall, the progress bar indicates that the installation was almost complete. There are some light scratches on the cd. All solutions? I'm unable to explore the disc on my computer to determine if the file is there or not. Overall, the progress bar indicates that installation was almost over before I got this error message. Is there any way to get this file, as I suspect the cd is damaged as it has a few light scratches on the cd. All solutions?

    Hello

    1. don't you try to install the game in the other computer with the same disc?

    If you are not able to install the same game on another computer it clearly seems to be a problem is with the CD, then I would you to see link and check if it helps.

    How to replace lost, broken, or lack of Microsoft software or hardware: http://support.microsoft.com/kb/326246/en-gb

    For your information:

    Error message when you install a program of mapping or game from Microsoft: http://support.microsoft.com/kb/258496

    Hope this information is useful.

  • How to check whether or not the arraycollection collection is initialized

    Hi all

    I am bit new to use the collection arraycollection in flex. I'm having this particular scenario, where I get Server data in a table. So I have to check if the arracollection I created is initialized or not. If it is not initialized I need to initialize it or other wise, just add collection from table to table. Here is the code snippet

    currentTrajectory = new collection ArrayCollection (event.result as Array);

    var _multiTrajectoryEvent:MultiTrajectoriesEvent;

    _multiTrajectoryEvent = new MultiTrajectoriesEvent (MultiTrajectoriesEvent.DRAW_AUTO_TRAJ);

    If (!) (_multiTrajectoryEvent.trajectories.source is nothing))

    {

    _multiTrajectoryEvent.trajectories.addItem (currentTrajectory);

    }

    else

    {

    _multiTrajectoryEvent.trajectories = new ArrayCollection ([currentTrajectory]);

    }

    But unfortunately the above code does not work for me, because the arraycollection collection is not initialized first, there is no way of checking me if it is initialized later or not as the compiler gives me the error checking to null...

    Can any Walter suggest how can I check if the table collection is initialized or not?

    I would appreciate any suggestions and thouhgts for the same

    Thank you

    Akshay

    Sorry to say, but it's not the right approach...

    I'm abt don't know what is exactly done so I'll give a generic example...

    I have an ArrayCollection collection...

    private var arrC:ArrayCollection;

    Maybe it's getting used internally in several places, so you be sure if she be initialized already or not. Then use a code something like that...

    If (arrC! = null & arrC.length > 0)

    {

    ...

    ...

    }

    If you are using

    If (arrC.Length > 0)

    {

    ...

    ...

    }

    and it is not initialised it will give exceptional at the time to compile...

    For a logic if(a && b) be true both a and b must be true, so if same first one (a) is false it will not evaluate the second logic (b).

    Thus, the previous logic works.

    concerning

    Nishant

  • Check whether or not the magsafe power adapter is authentic

    Hello! I bought some 60 W MagSafe 2 Power adapter MD565CH/A, 85 W MagSafe 2 Power adapter MD506CH/A & 45 W MagSafe 2 Power adapter MD592CH/A but the serial number in each category is same for example there are 10 units for 60 W & all have the same serial number. I have a doubt, be they authentic shape Apple or not. Kindly help.

    You will need to call Apple for confirmation.

  • connect the DBA_USERS alll users using any method (or PLSQL cursor) and check whether or not users are connected

    Hello

    I have to connect to all users of the dictionary DBA_USERS and one by one, or in bulk.

    As we do to treat a data pointer.

    In oracle, we now CONN/CONNECT statement to connect users to oracle.

    I have doubt on can we write these CONN/CONNECT statement in any PL/SQL block or not.

    My problem here is also as if a user does not connect for any reason, then it must record in the log file.

    Please ask me if you need more information!

    My DB is-

    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - production

    Hello

    I totally agree with comments of Steve.

    -Thank you

    Pavan Kumar N

  • How to get the the concurrent request id in the data model?

    Hi all

    I want to know how to acquire the simultaneous application of my model of report data. I created a placeholder for my setting + < parameter name = "p_conc_request_id" dataType = "number" defaultValue = '0' > < / parameter > + and for nothing... I have the value 0.

    I need the simultaneous request id in order to identify the user who launched the report. Is there other way on getting the user?


    Thank you!
    All the best,
    Laurentiu

    Published by: laurentiu on July 8, 2009 17:29

    I guess, you have this p_conc_request_id in the concurrent program

    then just add the


    at the beginning of the RTF

    and display it as

  • How can I control whether or not an audio queues times at the start of a slide?

    I am putting together a course and I have an audio welcome that plays automatically when the user starts the course. Since this slide contains a list of the modules that will be ongoing, I would also like to the use it as a navigation option - click on the link 'Menu' on any slide and return to this page.

    The problem: whenever the page is hit the audio playback.

    The question: How can I set the audio to only run the first time the page is entered but not yet?

    I created a variable called "PlayWelcomeAudio" and set it on 'Y' at the beginning, can have an advanced action script that modifies the variable "N" when selected (progress throughout are linear, so there is only one option available to the user at this point.) By clicking on this link opens the next page and sets the "PlayWelcomeAudio" "N".

    I see that the variable has been set correctly (when I start it up is "O" and when I come back, it's "N"), but I don't see any place where I can put the audio file so it does not play.

    I tried setting on '1' cpCmndMute but that has not worked because it apparently is a global setting and I don't no audio playing anywhere after that.

    I don't have to pause the timeline or something like that. I just want the audio to play first, but not the second and the following page is hit.

    Thoughts? Suggestions?

    Thank you.

    Michael

    Set your audio welcome to an object that is not seen (e.g. a highlight area set to 0%) and use your stocks advanced and variable to HIDE this object ON SLIDE ENTER if the user comes back in the same Menu slide at a later stage in the course module.

    This should mean that the first time that the user gets to this slide, the audio will play.  But every subsequent hour, they come back on this slide, the object will be hidden immediately on entering the slide, which means that the audion does not play and sees all users are the menu options.

    Your alternative strategy would be to have two slides that look almost the same.  The first has the audio, and the other does not.  Your TOC for Menu item and all other links in the project that point to the Menu, go to the second slide without audio.  The user no longer wise will also be long as you train to navigation.

  • Newbie Question: Anyone can tell me whether or not these terms all refer to the same thing?

    I hear all these terms mentioned in the environment I work in.  All refer them to the same thing?

    Prodika / Oracle PLM4P / P4P / Agile PLM

    Yes still. The company was called Prodika. It was then acquired by Agile and Agile was acquired by Oracle. So we are in the Agile family of products where the name of Agile PLM, but are part of Oracle where the name Oracle PLM4P.

    P4P is just a nice TLA - acronym of three letters - that people love to use.

    In fact non of these are the official name of the product, which is:

    Oracle Agile PLM for process
    Steve

  • Planning of a concurrent request and by recalculating setting each Run

    Hello

    A regular competitor request can be addressed to re - run a function every time it is run?

    We want to schedule a concurrent request seeded with a custom query set. Overall demand, we want to default the setting to create a string of file name, like this,

    SELECT "/ path/some directory file name_" | TO_CHAR (SYSDATE - 1, 'YYYYMMDD') | ".dat" TO double.

    It works fine the first time's term, but then the file name string gets hard coded in each subsequent meeting and shall remain the same for every day.

    I tried the option for setting date of increment in the Scheduler, but it does not work because this isn't a date parameter.

    I created a database function to create the string of file name and default setting like that.

    Select applications. XX_DATAFILE_NAME double.

    Again, this works the first time, but then the file name becomes hard coded in each subsequent session and remains the same for every day.

    The Planner, please recalculate the parameter each time that it executes the query?

    Thank you

    I don't know if you can force it to recalculate. However, if you can't you can create your own PL/SQL concurrent request that determines the path, then made a FND_Request.submit_request that calls the program seeded and passes in the calculated parameter.

    HTH,
    -Johnnie

  • Check whether the backup is suitable for restoration

    DB version: 11 g

    RMAN, how can I check whether or not the available backup is not corrupted?

    validate backup and restore to validate

    http://download.Oracle.com/docs/CD/B28359_01/backup.111/b28270/rcmvalid.htm

    Badin

  • concurrent request failed - emsg: led by signal 11

    Salvation of DBA

    I've submitted the concurrent request on my Linux machine, he received the following error message.

    NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are:
    American_America.AR8MSWIN1256

    '.,'

    stat_low = B
    stat_high = 0
    EMSG: led by signal 11

    Program ended by signal 11
    Competitor Manager encountered an error when executing Oracle * report for your concurrent request 1270019

    Please guide me to solve the problem above.

    Best regards
    SG

    PGO

    What is the type of the report?

    This happens with all reports or some of them only?

    Activate track and submit the request again and view the log file requires competing here.

    Please consult the following and see if it helps.

    Note: 396336.1 - PDF reports with program failure has been terminated by Signal 11
    https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=396336.1

    Note: 741076.1 - a few concurrent requests end with the error Signal 11
    https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=741076.1

    Note: 361188,1 - applications simultaneous fails with the error Signal 11
    https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=361188.1

    Kind regards
    Hussein

Maybe you are looking for