dbTalk Databases Forums  

Execute SQL Task - On Failure workflow won't fire

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Execute SQL Task - On Failure workflow won't fire in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
msnews.microsoft.com
 
Posts: n/a

Default Execute SQL Task - On Failure workflow won't fire - 07-10-2003 , 10:51 AM






I've got a package that uses some Execute SQL tasks to mark staging records
and either insert or update them into production tables, based on how
they're marked. Initially, there were problems with my marking queries, and
I ended up trying to insert records that already existed. This should have
caused the task to fail, and then fire my ActiveX task to notify me that it
failed, subsequently failing the package.

What's happening is that the failing task just ends, no On Failure tasks
execute, no tasks any further down the workflow execute, and the package
returns successfully. If these Execute SQL tasks fail for any reason, I've
got be notified and the package has to fail.

Help!

Tom Bunton



Reply With Quote
  #2  
Old   
Tom Bunton
 
Posts: n/a

Default Re: Execute SQL Task - On Failure workflow won't fire - 07-10-2003 , 12:50 PM






Nevermind, I figured it out...

"msnews.microsoft.com" <trbunton (AT) hotmail (DOT) com> wrote

Quote:
I've got a package that uses some Execute SQL tasks to mark staging
records
and either insert or update them into production tables, based on how
they're marked. Initially, there were problems with my marking queries,
and
I ended up trying to insert records that already existed. This should
have
caused the task to fail, and then fire my ActiveX task to notify me that
it
failed, subsequently failing the package.

What's happening is that the failing task just ends, no On Failure tasks
execute, no tasks any further down the workflow execute, and the package
returns successfully. If these Execute SQL tasks fail for any reason,
I've
got be notified and the package has to fail.

Help!

Tom Bunton





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.