Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8644

Re: How to change the long text dynamically based on the payload in the Alert configuration

$
0
0

Vaibhav,

 

Put this logic in UDF, when mapping root node. Add Error message in alert configuration. Alert email will contain correct error message.

if (Records!=Record_Count){            throw new RuntimeException("Number of records doesn't matches with the RECORD_COUNT." + "Number of Records in input is"+ Records +"But RECORD_COUNT is " + Record_Count);        }

Another option,

Trigger email from UDF. Link.


Viewing all articles
Browse latest Browse all 8644

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>