dbTalk Databases Forums  

Logging--

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


Discuss Logging-- in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Kandachar
 
Posts: n/a

Default Logging-- - 03-22-2005 , 10:39 PM






Hi

In my DTS package i have "Truncate Table task" followed by "Package Success"
and "Package Failure" tasks.

"Truncate Table task" is connected to "Package Success" using "On Success"
workflow.
"Truncate Table task" is connected to "Package Success" using "On Failure"

When there is a error (say wrong stored proc) in the "Truncate table" task ,
the "Package Failure" is not executing.

How to resolve this ?



Reply With Quote
  #2  
Old   
Kandachar
 
Posts: n/a

Default RE: Logging-- - 03-22-2005 , 11:47 PM






Actually I have 3 workflows (On failure) as input to the "Package Failure".
If i have 1 workflow it is working.

"Kandachar" wrote:

Quote:
Hi

In my DTS package i have "Truncate Table task" followed by "Package Success"
and "Package Failure" tasks.

"Truncate Table task" is connected to "Package Success" using "On Success"
workflow.
"Truncate Table task" is connected to "Package Success" using "On Failure"

When there is a error (say wrong stored proc) in the "Truncate table" task ,
the "Package Failure" is not executing.

How to resolve this ?



Reply With Quote
  #3  
Old   
Lamont
 
Posts: n/a

Default Re: Logging-- - 03-23-2005 , 08:24 AM



Ahh, this one got me too until I stumbled upon the answer in books online...
If you have three workflow arrows pointing to a step, then they are "anded"
together. That is, in your case, all three of the "from" steps must fail for
the "to" step to be executed. Makes the workflow sequencing not very useful
IMHO, but that's the way it works.

Now, I have not tried this, so can't vouche for how well it works, but
here's an article on how to make sequencing behave like you expect (any
failure routes to the failure step)

http://www.sqldts.com/default.aspx?218

Good luck.

Lamont Adams
MCP

"Kandachar" <Kandachar (AT) discussions (DOT) microsoft.com> wrote

Quote:
Actually I have 3 workflows (On failure) as input to the "Package
Failure".
If i have 1 workflow it is working.

"Kandachar" wrote:

Hi

In my DTS package i have "Truncate Table task" followed by "Package
Success"
and "Package Failure" tasks.

"Truncate Table task" is connected to "Package Success" using "On
Success"
workflow.
"Truncate Table task" is connected to "Package Success" using "On
Failure"

When there is a error (say wrong stored proc) in the "Truncate table"
task ,
the "Package Failure" is not executing.

How to resolve this ?





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.