Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
tech101
Starting Member
1 Post |
Posted - 2007-09-09 : 20:02:58
|
In a DTS package, it is a laborious task to connect an On FailureWorkflow to a different Send Mail Task for each task (major or minor).I am trying to do some researching on a single effective way ofsending an email with a description of the error and the job->taskthat it belonged to.What I thought could be possible is to have an On Failure Workflowcoming from each of the tasks in a package pointing to an ActiveXscript that can gather the Job (if applicable), DTS Package and Taskname, error code, message and description, and the time of the errorand put it into a temporary global variable, then use that to make upthe subject and body in a Send Mail Task. Though I have never doneanything like this in DTS before.The down point here is that there will be a very messy DTS diagram atthe end with all the candy red arrows pointing to the ActiveX task.Slightly more agreeable than having a separate Send Mail task at theend of each red arrow.Is there a better way to do this? |
|
|
|
|