Business event does not trigger the PLSQL procedure... What should do?

We need to call a plsql procedure when the workflow approval GL ended with approval. I thought I could do it by customizing the relevant business event.

We are on EBS 12.1.3 with RDBMS: 11.2.0.3.0.

I see the event oracle.apps.gl.Journals.journal.approve company has been disabled currently. I've enabled and created a subscription for her. Subscription was a PLSQL procedure. Currently, for objective test only thing it does is to insert a row in a table.

Parameters of the subscription to corporate events:
System: ORDEBS. SYSTEM.COM

Triggering event
Source type: Local
Event filter: oracle.apps.gl.Journals.journal.approve


Execution condition
Phase: 100
Status: enabled
Rule data: Message

Action type: custom
Error on: stop blocking and cancellation

Action
Rule of PL/SQL function: XX_GL_APPROVE_BE_PKG. Get_Attributes
Priority: normal

Documentation (not sure what value to give the latter. I went with the values below).
Owner: Name of the company
Tag owner: custom Schema

Using query I can see the event company is called when occurs below approval (an added line each time approval that has happened). But I don't see all the lines in the table where to insert a line. What could go wrong? How can I make sure that the procedure was called?

Select * from WF_DEFERRED where corrid'art = 'APPS:oracle.apps.gl.Journals.journal.approve. '

Procedure:
CREATE OR REPLACE PACKAGE BODY APPS. XX_GL_APPROVE_BE_PKG
AS
PROCEDURE Get_Attributes
IS
BEGIN
INSERT INTO xx.xx_test_table VALUES (' to BE');
COMMIT;
END Get_Attributes;
END XX_GL_APPROVE_BE_PKG;

Hello

This OWNER_TAG represents an actual application under license, as "DNF" without the quotes. The business event system will send subscriptions for licensed products.

Also, in order to detect any other possible errors please add a subscription of type error. In this way the BES will catch the error and will notify SYSADMIN of this failure, it's not silent. You can use this link to see how: https://blogs.oracle.com/oracleworkflow/entry/defining_business_events_with_synchronous

Kind regards

Alejandro

Tags: Database

Similar Questions

  • I receive I/O-ERROR in bridge CC when I try to access the outputmodule. I have instaled the wersion more recent module, but it does not solve the problem. What should do?

    I receive I/O-ERROR in bridge CC when I try to access the outputmodule. I have instaled the wersion more recent module, but it does not solve the problem. What should do?

    reset your preferences: https://helpx.adobe.com/bridge/kb/troubleshoot-errors-freezes-bridge-windows.html

  • I'm trying to upgrade to service pack 3 for xp and I get an error message and it will not complete the installation. What should I do?

    I'm trying to upgrade to service pack 3 for xp and I get an error message and it will not complete the installation.  What should I do?

    Hi BartlettNYC,

    Please see the links below, to solve the problems with Window XP SP3.

    Steps to take before you install Windows XP SP3.

    http://support.Microsoft.com/kb/950717

    How to troubleshoot a windows XP SP3 Installation failure.

    http://support.Microsoft.com/kb/950718

    Good luck.

  • Hello! I installed Adobe premiere pro and Creative Cloud show that the app is installed, but it is not on the computer. What should do?

    Hello! I installed Adobe premiere pro and Creative Cloud show that the app is installed, but it is not on the computer. What should do?

    You have a 64 bit system? If this isn't the case, it will not work.

  • I can't activate my membership because it is said that "this card was purchased in a country that does not match your Adobe ID" what should I do?

    I can't activate my membership because it is said that "this card was purchased in a country that does not match your Adobe ID" what should I do?

    That's what I saw:

    Screen Shot 2015-09-29 at 2.08.26 AM.png

    Hello

    This link might help: help code them redemption

    Kind regards

    Sheena

  • I lost all editing features to "develop." I don't know if I did something to trigger the change.  What should I do to get back features?

    I lost all editing features to "develop." I don't know if I did something to trigger the change.  What should I do to get back features?

    Or you the hive accidentally hidden 'Basic' or one or more of the other panels in the window to develop?

    If Yes, then, right click on one of the other sections on the right side of the window of development and re - select what is missing from the menu that appears.

  • value chain control event does not trigger change

    Hello

    I am trying to scan a barcode with a barcode usb HID scanner. I use a structure of the event to detect the change in the value of a control of the chain. When I scan the barcode, the chain control updates on the front panel, but the event does not fire until I left on my mouse on the front panel. can someone help? See attached vi

    Your barcodes are probably fixed length. When you get an event, check the length. If it corresponds to the length of the barcode, then process the data, otherwise wait for more characters.  This can be treated very quickly in the case of the event.

    Lynn

  • I was sent a new password, but it does not accept the window. What is happening with this?

    I was sent a new password, but it does not accept the Flash Player window. Is it possible to overcome this problem so I can install it on my iMac? @

    Hi 1937woody,

    It is the OS (Apple) not Flash Player to ask for the password.  Please see what userid & password I need to install Flash Player?

    --

    Maria

  • Error message; Thunderbird 31.5.0 does not support ImportExportTools 3.1, what should I do to mover files and E-mail from Windows 7 Live Mail?

    I need to transfer messages, folders of Windows 7 Live Mail to Thunderbird. But Thunderbird 31.5.0 does not support the ImportExportTools 3.1, why and what do I do?

    Thank you

    It works perfectly in TB 31.5.0.

    Therefore to confirm:
    In Thunderbird
    'Tools' > 'Modules' OR "Icon of the Menu" > "Modules".
    Under the Extensions
    ImportExportTools 3.1 is not listed.

    Use a browser, go to this link and download the as file to your desktop or downloads folder.

    In Thunderbird
    'Tools' > 'Modules' OR "Icon of the Menu" > "Modules".
    in the tab 'Add-ons Manager.
    Click the gear icon and select "install the addon from file".
    Find the file as that you just downloaded and click 'open '.
    See the image below.
    You may have to restart Thunderbird,

  • PartialTrigger does not trigger the onChange event of a InputText.

    Hello

    I have a problem with partial triggers. I have 1 inputText and commandButton 1 as below:

    "< tr:inputText id = value =" #{MyBean.locationString "input1"} "partialTriggers =" * testButton * "onchange =" alert (1); " "/ >
    "< tr:commandButton id =" "* testButton *" action = "#{MyBean.testAction}" partialSubmit = "true" / >

    If I enter inputText and manually change something, it triggers the onChange event. But if I change it with PPR, it does not raise.

    How can I trigger inputText onchange event OR how can I invoke a javascript function after the end of partialSubmit?...

    Thank you.

    Hello

    How can I trigger the inputText onchange event

    Set true to autosubmit property and as soon as you exit the field the value is submitted

    OR how can I invoke a javascript function after the end of partialSubmit?...

    Using the Trinity, you can call JavaScript from a managed bean. But for this, the PPR request to access a bean

    Frank

  • Plan does not show the local procedures/functions

    Hello

    SQLD 4.1

    I use the preview to a plsql procedure feature. The procedure provides a local procedure.

    In the window structure the local procedure does not at all. Declared variables and cursors in the local procedure are displayed, but as if they where in the main proceedings.

    Local procedures and functions should be displayed in the window structure. It would be nice if the declares the variables and cursors of a local proceeding would be arranged in suchs a means, it is visible that they belong to this local procedure, perhaps using an indentation.

    Best regards

    Joop

    Hey, Joop!

    A mysterious person, known only as "SF" for the purpose of this response, has also reported this to me. We have filed a bug on this subject, and it shows as 'fixed' in 4.1.1.

  • Structure of the event does not clear the queue after his release from the Subvi

    OK I'm not sure if this is a stupid question or not...

    I was trying just a few tips and stumbeled on this problem...

    So I created a sample (not exactly)

    In qqq_Main.vi just press PressMe

    (it opens a Subvi qqq.vi)

    There are two buttons to stop "Alt1" and "pylone2".

    To close the Sub - VI press either on "pylone2".

    or press "Alt1", then "pylone2".

    with the latter method of the value of closing change pylone2 is registered outside the while loop and after the closure of the Subvi should not it be erased? (Or should manually clear us it?)

    For this reason not clear, the second time I press 'PressMe' change the value of pylone2 even goes off before you press anything

    I can't look at your code at the moment, but according to your description, it seems that the system works as expected. I guess you do a completely static record of events (open the event configuration dialog box and select the controls and event).

    The first thing to clarify is your use of the term "registered". In this case, it's a problem, because the registration in the context of the protests means asking to receive the event when it happens.

    Now that you know it's important to understand where the recording is happening, because that's what determines which events are stored in the queue. When you use this type of static record, registration happens from the VI the event structure is in run mode (Note: this does not mean that the VI is actually running, but just that it's the of running or reserved for the race) and the cancellation of registration only happens when the VI mode of execution. Who is right for which you get the events in the queue of the previous run of the VI - the VI is still in run mode, then the event is added to the queue and still waiting in the queue until the structure of the event to run again.

    You can work around something like that by switching to dynamic registration of events, where you can unsubscribe to empty the queue at the end of the VI, but requires more code. Also, in 2013 LV there are a few features added to events that could allow to do this statically (I don't study all the additions, so I don't know if this is possible for static recording).

    There is a good presentation on the events of NIWeek 2013 by Jack Dunaway. You can find details of how to download the video here - http://lavag.org/topic/16091-ni-week-2012-videos/

  • Adding an event does not add the JavaScript code to the code automatically window

    I'm learning to animate Adobe classroom in a book (among others).  The lesson says to add an event to the timeline.  I click the icon "open stock" ({}) to the beginning of the row on the timeline for the item that I want to add an action.  The edit window appears.  I click on "mouseover", and only a comment is added to the window instead of the Javascript code.  I have to enter the code manually.  Animate is no longer does this in the code window actions?

    Note that the second stage ("choose a target") is required to automatically add the code.

    You must select an object, and then click Enter.

  • OfficeJet Pro 8610: Officejet Pro 8610 wireless printer is constantly busy and does not update the software drivers.

    I'm trying to update my printer via the steps outlined on the HP website. However, when identify my printer and try to install the revised version of the software of my printer continually says its busy. This means that the printer will not update.

    When I first tried this software update the status of the printer was ready however after failing at the start of this first attempt each following update failed because the printer is busy. I turned he walks several times and even turned off then the option automatic updates with no luck.

    Without being able to change that status, I can't update the printer. I know that it is able to connect to the network, because it checks and tells me that he has the latest software version available fo, so I am very confused as to how I can fix this.

    Any suggestions?

    Hey @Branthwaite, welcome to the Forums of HP! I'd love to help you update your JO 8610.

    From your description, I understand that you cannot refresh the printer as it is stuck in the free/busy information.

    We will perform a hard reset. To do this, leave the printer and unplug the power cable for 1 minute. While it is unplugged, press and hold the power button on the printer for 10-15 seconds to release built his power, then after the minute, plug the printer in. Also, even if you have used a surge protector/power bar this whole time and you feel this isn't the cause, please plug it in to a wall outlet so that we can eliminate the source of energy as the primary cause.   Questions when it is connected to an uninterruptible power supply/Strip/surge protector power

    * In this document, you will see, QUESTION: questions or problems may occur when a printer HP LaserJet series printer is connected to a UPS (UPS), a power strip or a surge protector that is not limited to the Laserjet printers.

    I can't wait to hear back on your part. If performing a hard reset, or move the printer to a socket solves the problem, please click Accept as Solution button below so that the community can see your problem is solved. If the problem persists, please don't forget to leave me and I'll do everything I can to help.

  • How to remove an entry in the cache, but does not trigger the erase in the dumps

    Hi guys,.

    I meet a really special condition, as the topic, I have a cache to distribute, when putting an object in the cache, Tigger will save method in dumps stored in DB, when remve one entry, will be Tigger method erase to remove it from the DB, and then I need another operation - that can remove just the entry on the cache and will not erase the DB? I checked the method of expulsion, but I think it's for the local cache. How could use on close or distribute cache cache.


    could someone help me?

    Thank you very much.

    best,

    DFJ

    Edited by: 912032 March 2, 2012 12:37 AM

    Hello

    I tried the entry.expiry (1); in fact for me, he did work and delete the entry without calling the erase method, but he called the store method rather than setting expiration is obviously treated as an update.

    The only way that I managed to make it work so far is to change the process method for the ValueEvictor like that

    @Override
    public Object process(InvocableMap.Entry entry) {
        BinaryEntry binaryEntry = (BinaryEntry) entry;
        ReadWriteBackingMap backingMap = (ReadWriteBackingMap) binaryEntry.getBackingMap();
        Map internal = backingMap.getInternalCache();
        if (internal instanceof LocalCache) {
            ((LocalCache)internal).evict(binaryEntry.getBinaryKey());
        }
        return null;
    }
    

    Is not the most beautiful code and is based on a normal local plan automatically using the storage card internal map reading / writing.

    JK

Maybe you are looking for

  • Windows 7 RTM fingerprint reader and webcam for TX2 driver status

    I read somewhere on the site of HP windows 7 drivers for this TX2 - 1027CA won't be available until October 2009. Still I use it now, and the main system works well. There is a problem in the fingerprint reader and perhaps the webcam for me at this p

  • HP G62 - black screen on power on

    HelloHaving a problem with my laptop HP G62. The computer will continue to feed on, the screen does not light, but the light on the power button flashes. The indicator light next to the charging port is red, just like the light next to the button wir

  • What Satellite A300 supports the HDMI-CEC

    What models of the a300 series have HDMI-CEC and are sold in Belgium.I can't find the cause.

  • Satellite P850-30W - the fan does not work after returning from the mode "Eve"

    I have a Toshiba Satellite P850 30W with bios 1.90. Sometimes the fan does not work at all after back mode standby on windows 7.What happened twice (perhaps several times without knowing me), and Ive had the computers for a month. Normally the fan st

  • problem to insert images in a powerpoint presentation

    After downloading OS X EL CAPITAN, I can't insert my pictures iphoto in a powerpoint presentation, as I did before. After doing 'insert', 'image', 'of the file', it churns for hours without any photo to appear! Thanks for the help