Skip to Content
author's profile photo Former Member
Former Member

Throw Alert from Mapping

Hi,

We need to check some mandatory fields in our source structure and throw an alert when they are not present. I have gone through some old threads/blogs for this Where most of the times we are throwing an exception from mapping which brings entire mapping process to end.

But in my case i need to throw an alert saying mandatory field X is missing and my mapping also should proceed on to create the target file.

In short i should send an alert mail for missing fields and also should create the target file. Can any give some idea on this?

TIA

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 20, 2012 at 12:34 PM

    Hi Prabhas,

    Can you let us know the scenario, you would like to work on.

    If your source is ECC, then you can handle the issue in proxy and trigger an alert email saying that the mandatory fields are missing based upon the coding. This doesn't allow you to send the message to PI also.

    But if the source are some other like File etc, then perform your mapping and in the message interface, keep an additonal mapping for the fault message interface mapping to send data to the target.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 20, 2012 at 05:03 PM

    Hi Prabhas,

    Alert is generated when failure happens not for warning. But you can send mails by configuring mail adapters. But very first we need to know what is exactly your scenario and whether it would be possible or not.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 21, 2012 at 09:48 AM
    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.