Skip to main content
Question

How can I send a notification by mail at the exact moment a table is updated in Oracle?


 

I want to instantly receive a notification email when a new record has been added to a table that is in Oracle

5 replies

danilo_fme
Evangelist
Forum|alt.badge.img+41
  • Evangelist
  • October 11, 2019

Hi @joeroses

I suggest you to use the transformer FeatureWriter to update attributes and after the transformer Emailer.

 

Thanks,

 

Danilo


david_r
Evangelist
  • October 11, 2019

If the table is updated with something non-FME and it's urgent that you get the notification, one of the better solutions is probably to write an Oracle trigger on that table that can notify FME Server using the REST API, which in turn could send the email.

Maybe it's even possible to send an email directly from an Oracle trigger? Hmmm

https://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:7267435205059


  • Author
  • October 11, 2019
danilo_fme wrote:

Hi @joeroses

I suggest you to use the transformer FeatureWriter to update attributes and after the transformer Emailer.

 

Thanks,

 

Danilo

Thanks a lot


danilo_fme
Evangelist
Forum|alt.badge.img+41
  • Evangelist
  • October 11, 2019
joeroses wrote:

Thanks a lot

You are welcome :)


  • Author
  • October 11, 2019
david_r wrote:

If the table is updated with something non-FME and it's urgent that you get the notification, one of the better solutions is probably to write an Oracle trigger on that table that can notify FME Server using the REST API, which in turn could send the email.

Maybe it's even possible to send an email directly from an Oracle trigger? Hmmm

https://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:7267435205059

Thank you very much


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings