You can use BatchAction event script (strEventName = AftProcessFile):
the second parameter objFile is an object of class itmBatchFile
You can get information about the status from this object.
If you navigate to Workbench Client > Supplemental API Objects > BATCHENG > Return Objects > itmBatchFile you will see all properties.
There is also an accelerator to send emails.
Hope that helps.
Thank you for your prompt reply.
I will check that in workbench client. However I am still newbie in FDM scripting and if you can probably guide me that would be great.
Trying to understand if .lngstatus can be used to understand the status but still not sure on what number means what in FDM. Additonally is there a table in FDM which has all these details?