Business Events (What way they differ with triggers)

Hello All,
I am quite confused about the concept of Business events.(I know we have subscription to events in the subscrition we can call workflow or call custom code.
For example when a user is created (event) we can perform some action(Subscription))
But in the above said exampel we can achieve the functionallity by using the concept of triggers.
Can any one explain where we use the business events concept.
Also when we define an event in a work flow we have options like SEND,RECEIVE,RAISE. Does they mean the follwoing
1)Receive: We Receive the event.i.e when event happens we come to know that event is raised and we need to take some action.
2)RAISE: With this option we are trying to raise the event in workflow.
3)SEND : we are sending the event to an exteranl system.
Kind Regards,
Kumar.
Edited by: user624202 on May 31, 2009 11:45 PM

Hi,
A trigger can only respond to something occurring in the database (e.g. logon, insert, update, delete). A business event can be raised by anything to indicate to the event manager that something significant has occurred - this might be from PL/SQL, from a form, from a trigger etc.
For example, if a user clicks a button in a form to cancel an action, there probably isn't going to be any database activity, so you couldn't use a trigger to perform some action. You could use a business event, though, since you can raise the event from PL/SQL easily.
I ALWAYS have a new process started by a business event, because it maximises the flexibility in the long term. If you want to change the processing, you can modify, add or remove subscriptions without the need to revisit any other code - if you disable the subscription(s), then the Event Manager just does nothing, so you can disable the functionality via a web-page rather than needing to modify any code to disable / enable the different processing.
Event activities in Workflow processes are (as you say) either receive, raise or send. Receive will respond to an event subscription when the event is raised to the Event Manager. Raise will raise a new business event to the Event Manager, which will then execute any subscriptions that exist for that event. Send will send the event to an agent - that may be within the same system or in a different one.
HTH,
Matt
WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
Have you read the blog at http://www.workflowfaq.com/blog ?
WorkflowFAQ support forum: http://forum.workflowfaq.com

Similar Messages

  • TCA Business events: any way to get created/updated data ?

    Hi all,
    I have a BPEL process that consumes a TCA business event "oracle.apps.ar.hz.Person.create". But the problem is that the event raised does not contain any data (keys only). Is there any way to get customer data by this way ? How ? Thank you,
    Edmundo

    Hi DG,
    Here is my understanding:
    1) I don't understand why it is allowing me to create service applications like excel services, BDC etc.. with Standard Client Access License?
    PRS -  Are you using Office web app?
    2)Is there any way to get Excel
    Web Access webpart with out using Sharepoint Enterprise licence?
    PRS - NO
    3) If I we can not get Excel Web Access webpart with out using Sharepoint Enterprise licence, Is there any way I can embed excel into sharepoint webpage?
    PRS - It can be possible in Excel Web App
    -prs

  • Events: what do they mean and how can I use them?

    Hi everybody,
    I'm new to this, so it's maybe a silly question. I can't understand what an event on iPhoto is and I don't know how to use it: for example I'm used to take photos with my mobile now and then so the pictures are not related to an event in particular like a birthday or a travel. They are just everyday pictures. So how can I manage them?
    Again: I have some big folders of pictures related to some job experiences abroad. In that case the event is just "Germany job" for example? When I import the pictures iPhoto automatically create an event for each date of the folder, so it becomes boring to rename every single event.
    Thank you very much

    I'm new to this, so it's maybe a silly question. I can't understand what an event on iPhoto is and I don't know how to use it: for example I'm used to take photos with my mobile now and then so the pictures are not related to an event in particular like a birthday or a travel. They are just everyday pictures. So how can I manage them?
    Don't get hung up on the Word 'Event'. I have Evetss called Spring 08, Autumn-Winter 05 and so on. An Event is just a Folder of pictures. They can mean whatever you want them to mean. When you import from a camera iPhoto will break the pics into Folders of Days, called Events.
    Again: I have some big folders of pictures related to some job experiences abroad. In that case the event is just "Germany job" for example? When I import the pictures iPhoto automatically create an event for each date of the folder, so it becomes boring to rename every single event
    iPhoto -> Preferences -> Events: Uncheck the box at "Imported Items from the Finder"
    Now iPhoto will not attempt to split the Folders of Images.
    Regards
    TD

  • TS4006 What can they do with my stolen MaBook? Can they take it out of the cloud?

    Can they make a stolen McBook dissapear from the cloud? even when I locked it?

    You can only locate your device when it is logged into iCloud and 'Find My Phone' is enabled, additionally the device will need to be switched on and connected to a wifi or cellular network.
    Unfortunately, you cannot activate iCloud or 'Find My Phone' remotely.
    If the device is wiped by you or another, you may not be able to locate the device (although some have reported they can)

  • When i set up my iPad 2, apple asked  for my phone number. What did they do with it?

    Just curious. It said something about sms but when i open messages, i can still onlhy send imessages.

    This phone number is used to verify your identity when using your iCloud Security Code e.g. when setting up Keychain.

  • More than one web link in a Business Event

    Hi SAP experts,
    Having created a web link in a business event I was very pleased with myself. Now I find that I would like to add up to two more (different) web links for the same Business Event. There does not seem to be an obvious option to do this. I have tried the route of Create->Create Attachment and Create->Create External Document. These actions subsequently apear in the Attachments List but are not visible to users in the Employee Self Service.
    The SAP manual hints that more than one web link should be possible (it refers to 'web links' several times). However in the manual I have, there is no guidance on how to make multiple web links in a Business Event.
    Is it possible? What's happening with the 'Attachments' that have been created? Should all the desired documents to be viewed be bundled into one document and then given the one, allowable web link? Is this the thickest question asked on this forum?
    Many thanks for any guidance you may be able to offer.
    Tony
    oic3120

    Hello,
    "Having created a web link in a business event I was very pleased with myself."
    Could you summarise how you did that so it's clear what you mean by this?
    regards
    Rick Bakker
    hanabi technology

  • What are they mean for the colors which are present in RPD

    Hai
    In RPD we will find different colors right side to the databases,tables like green ,sky blue , marked as red in middle , yellow , given sysmbol like Stop with red color. Please any can give me brief idea for what they are indicated in different colors
    Thank you
    manu

    Hi
    Thank you..
    Yes i am asking about Colors to icons in RPD,in phsical layer , presentation layer, BUsiness model layer
    There are colors for icons like blue , yellow, etc...
    what are they mean with the color
    can you tell me please about this

  • My business has 100 ipads 3g with no control at the moment - i need to now control the ipads - what apps they can use - and restict certian use on the ipads - whats the best way to do this - it will need to be done remotley.

    my business has 100 ipads 3g with no control at the moment - i need to now control the ipads - what apps they can use - and restict certian use on the ipads - whats the best way to do this - it will need to be done remotley.

    MDM  -- moble device management 
    MDMs
    Airwatch, Meraki, MobileIron, Profile Manager on OS X Server, or Zenprise
    For a comparison see this page:
    http://www.enterpriseios.com/wiki/Comparison_MDM_Providers
    Airwatch
      http://www.air-watch.com/
    Meraki -- A free MDM   [ expect lots of email and phone calls about upgrades ]
      http://www.meraki.com/products/systems-manager/
      https://discussions.apple.com/thread/4067210?tstart=0
      Good howto by Sergio Sosa.
      https://discussions.apple.com/thread/2594001?start=15&tstart=0
    MobileIron
      http://www.mobileiron.com/
    Profile Manager by Apple
    Zenprise
      http://www.zenprise.com/

  • Business Event not triggering the PLSQL procedure.. What to do?

    We need to call a plsql procedure when the GL Approval workflow has ended with approval. I thought i could do this by customizing the relevant business event.
    We are on EBS 12.1.3 with RDBMS : 11.2.0.3.0.
    I saw that the business event oracle.apps.gl.Journals.journal.approve was disabled currently. I enabled it and created a subscription for it. Subscription was a PLSQL procedure. Currently, for test purpose only thing it is doing is to insert a row into a table.
    Business Event Subscription settings:
    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
    On Error: Stop and Rollback
    Action
    PL/SQL Rule Function: XX_GL_APPROVE_BE_PKG.Get_Attributes
    Priority: Normal
    Documentation (Not sure what value to be given for these. I went with the below values.)
    Owner: Company Name
    Owner Tag: Custom Schema
    Using the below query i can see that the business event is getting called when the approval happens (One row added each time approval happened). But I cant see any rows in the table where it should insert a row. What could be going wrong? How can i verify that the procedure has been called?
    select * from WF_DEFERRED where corrid ='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 ('From BE');
    COMMIT;
    END Get_Attributes;
    END XX_GL_APPROVE_BE_PKG;

    Thanks Alejandro. Now this is working.
    Changes i made:
    1. Added the WFERROR workflow as a subscription to this event. So i could see that the function i am calling from the event did not have proper signature.
    2. Changed the function signature to have standard parameters like:
    CREATE OR REPLACE PACKAGE BODY XX_GL_APPROVE_BE_PKG
    AS
    function subscription(p_subscription_guid in raw,
    p_event in out nocopy wf_event_t) return varchar2 is
    l_result varchar2(20);
    begin
    insert into xxvtv.xxvtv_test_table values ('From BE');
    commit;
    exception
    when others then
    wf_core.context('XX_GL_APPROVE_BE_PKG','function subscription', p_event.getEventName(), p_event.getEventKey());
    wf_event.setErrorInfo(p_event, 'ERROR');
    return 'ERROR';
    end subscription;
    END XX_GL_APPROVE_BE_PKG;
    3. Changed the owner name and owner tag both to the custom schema name (XX)

  • What is the proper way to deal with cascading triggers in AcroForms?

    (this has already been posted in the Scripting forum. Due to the lack of response, I am coming here to the Land of C/C++ Developers)
    What is the proper way to deal with cascading triggers in AcroForms?
    My question refers to the forms in which there is a binary question such as:
    "Are you interested in travel?"
    When the user clicks "Yes", there are further questions whose interactive fields are dot.hidden (or "!"), depending on the answer.
    So far, I can handle the 1-level cases fine, but my doubt is how to implement nested dependencies. For the sake of simplicity, I would prefer to define the cause-effect relationship once ("Every time the 'Interested in Travel' box is checked, the field 'International or Domestic' should be visible") and send some sort of message/trigger downstream.
    I would like the right things to happen (cascading triggers included) when the "Clear Form" menu command is selected.
    Are those desirable features available in JavaScript (the particular JS used by the traditional AcroForms)?
    Maybe I should look into C/C++ programming?
    TIA,
    -Ramon

    I guess my problem is that I have some basic college experience in digital circuit design, and would like the forms to be programmed and behave in the same fashion as digital logic.
    The "Clear Form" menu item, of course, would be equivalent to the  reset button.
    Perhaps it is possible to hook my code onto the "Clear Form" menu item?
    -Ramon

  • Business Event not triggering the SOA BPEL Process with OA Adapter

    Hello Gurus,
    I am working on Business event "oracle.apps.per.api.employee.create_employee" and the event is getting triggered when creating an employee from EBS.
    The message has come till WF_BPEL_QTAB(I could seeit) and in "READY" status.We have a SOA BPEL Process that is subscribed to the event "oracle.apps.per.api.employee.create_employee" using OA Adapter.
    The issue is that the SOA BPEL process is not getting triggered and it is not dequeing the message from WF_BPEL_Q.
    Please let me know if I have missed any steps on SOA BPEL side.
    Note: Agent Listener is up and running.
    Thanks,
    Sunil

    Ofcourse, I subscribed to the business event using BPEL. Ideally the instances should be created and I should be able to receive the standard payload.
    Yes the JNDIs are correct. We have other business events working in the same fashion and we are using same JNDI.

  • XSL Errors When Using AQ Adapter with EBS Business Events

    I am triggering a BPEL process with an Oracle EBS Business Event. After receiving the event, I am trying to perform an XSL transformation to extract parameters from the event. However, I keep getting XSL errors because the BE field ERROR_SUBSCRIPTION comes in containing invalid XML characters (#).
    It seems that BPEL or EBS do not properly escape the XML input. Is that a bug, or is there a way to work around this. I know I could filter the XML input in some way, but that seems likely to be more brittle to any future changes to the EBS BE message types.

    Adding to the above post, how will the PL/SQL program which triggers the Business Event ensure that the complete data is enqueued in the queue in form of XML?
    What will be the additional logic to send complete data in the XML format?

  • What business event executes when a Party is updated

    Hi,
    What business event executes when a Party is updated ?
    I tried with
    oracle.apps.ar.hz.Organization.update
    oracle.apps.ar.hz.CustomerProfile.update
    None of these seems triggering when Party information is updated example: Customer Profile, Customer Name itself.
    Thanks
    Saikrishna

    Please see if (Customers Workbench: No Business Event Firing When Activating/Inactivating An Account Contact (Doc ID 1553927.1)) helps.
    Thanks,
    Hussein

  • Using Microsoft Exchange to access Gmail (Google Apps for Business) contacts, what is the best way to sync the Corporate Directory?

    Using Microsoft Exchange to access Gmail (Google Apps for Business) contacts, what is the best way to sync the Corporate Directory? For instance, we have 40 staff members and wish to populate each phone with the Gmail profile. Right now we have a third party Android app that does this and copies my contacts to each phone. This is problematic. Any solutions to populate a phone with email and phone contacts? Even it it requires double entry for me...thats ok.

    Oh, I meant Leopard does do more than Tiger Server.
    I don't know enough about Server, even less abut Syncing.
    SL is to new, not enough time to iron out the kinks yet imho.
    One day SL will be better than Leo, but...
    I'd ask over in server...
    http://discussions.apple.com/category.jspa?categoryID=96
    Or perhaps Collaboration Services...
    http://discussions.apple.com/forum.jspa?forumID=1352
    They may even have a different opinion on SL.

  • Hey Guys, I have a IMAC G5 and I just uploaded Ilife 08 to it,  the problem is, when I create a DVD it sounds good until I burn it. About 1/4 of the way through it the sound stops..  What's going on with it?   Is it the encoding proocess??  I'm stumped...

    Hey Guys, I have a IMAC G5 and I just uploaded Ilife 08 to it,  the problem is, when I create a DVD it sounds good until I burn it. About 1/4 of the way through it the sound stops..  What's going on with it?   Is it the encoding proocess??  I'm stumped... Help me out here!

    Hi
    A. iMovie'08 to 11 are not the tools of choice if one aim to do a DVD as they all discard the quality of the picture by discarding every second line in it. NO way around this due to that it happens between Event's and Project's so as soon as it is being edited - Quality is lost.
    B. I use iMovie HD6 or FinalCut
    C. if iM'08 to 11 is a must - THEN DO NOT - Share to iDVD - BUT - "Share to Media Browser" and as Large (or ev. Medium)
    THEN DO - Save as a DiskImage and see that this plays OK and ALL SOUND
    D. if added audio from iTunes - then instead in iTunes - Collect all needed Audio into a NEW PlayList then BURN this as an Audio-CD (.aiff - NOT .mp3 or other) - Then use the Files on this CD in Your Movie Project's (I do)
    E. I only use .aiff audio - 48kHz 16-bit (miniDV tape Camera) or 44.1kHz Audio CD - NEVER .mp3 or .wma or other file format - ALL is converted first into .aiff - ALWAYS ! - I have very few problem with Audio in my projects in iMovie or FinalCut !
    Yours Bengt W

Maybe you are looking for