Skip to Main Content

Analytics Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Using ODI send mail tool in procedure

Shilpa.Gaikwad#9213Sep 2 2013 — edited Sep 3 2013

Hi,

I want to use an ODI send mail option in procedure when certain condition is met.

for example:

I have one table "Dummy_table" as

Dummy_table
PRODUCTIDPRODTYPEPRODCODE
11111A11111
22222A22222
33333B33333
00000A00000

And a procedure which is trying to insert records in above table. In this procedure i want to add validation and when the validation is true, need to send mail.

Mail to be triggered:

If PRODUCTID already exists in table then do not insert record with same PRODUCTID in table. Instead of that, call an ODI send mail tool from the procedure which is trying to insert duplicate entry.

Let's say my procedure is trying to insert record with PRODUCTID = "22222" . In this case, i dont want an entry to be inserted as it is already present. I want a mail to be triggered saying that this record is already present.

Any help would be highly appreciated.

Thanks in advance.

Shilpa

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 1 2013
Added on Sep 2 2013
4 comments
2,722 views