How to change the long text dynamically based on the payload in the Alert configuration
Currently I am working on the scenario in which I need to send the number of records available in the xml file in the mail using Alert configuration.
I am getting a file like this
If number of records present in the file doesn't matches with the RECORD_COUNT present in the trailer, I am not mapping the root node, so message mapping is getting failed and triggering an Alert.
In this Alert mail, I need to send the RECORD_COUNT present in the file and actual number of the record by counting the record node as well.
E-mail will be "Number of records doesn't matches with the RECORD_COUNT".
Please provide suggestions on how to get these values dynamically in the long text of the Alert.
Thanks in advance.