1 Reply Latest reply on Jul 5, 2011 1:58 PM by mbaguley-Oracle

    Commit in a Business Event

      Hi experts,
      Just wondering if it is OK to have a COMMIT in a Business Event.

      Below are some error messages I see:
      Event Error Name: WFENG_EVENT_NOTFOUND
      Event Error Message: Commit happened while dispatching the event xx.abc.adc....

      I kind of get the feeling that I should get rid of the commit in the code.
      Please throw some light on this.

      Many Thanks,
        • 1. Re: Commit in a Business Event
          Developers Guide states for a Rule Function - "A rule function may read or write to the event message or perform any other database action. However, you should never commit within a
          rule function. The Event Manager never issues a commit as it is the responsibility of the calling application to commit."
          1 person found this helpful