Hi Guys,
Has anyone already implemented sending an email when bgtask fails?
What I have so far is an AES event for "TaskOnPerformFailed" and an extension class that will log the FE(TaskErrorMessage) to a text file. I still haven't tried sending FE(TaskErrorMessage) thru email directly as I'm doing this on my local machine and smtp is not configured.
I'm curious if there are other ways to do this or the right way to do this (ex. like should this be in extension classes or maybe should this be on IdoOnItemUpdate event).
any thoughts tips tricks pitfalls or advice would be appreciated.
Note: we are in SL8 and we do this thru SQL Triggers but we will be moving to the cloud soon and researching on how to implement this kind of scenario.
Thanks,
Kazuyuki