โ08-08-2021 12:54 PM
Hi,
I need to validate incoming xml and send the mail stating file name in case of invalid xml.
How do I do it?
โ08-09-2021 01:36 AM
Hi @Sahil ,
Do you need to validate against XSD schema ? If so, use XML Formatter with XSD schema selected and click on โValidate outputโ.
Now for sending the invalid xml filename to email, do you want to send the filename from the input file ? If so, you can use an error view on the XML Formatter snap and use Email sender snap to send the report to any email you want. You can use pipeline parameter for the input filename and like this youโll always have the filename of the input file, then you can use it in the Email sender.