dbTalk Databases Forums  

Workflow: Failure Step

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


Discuss Workflow: Failure Step in the microsoft.public.sqlserver.dts forum.



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

Default Workflow: Failure Step - 08-25-2005 , 12:10 PM






I have a simple workflow that executes three tasks and in the final task I
have a success branch and a failure branch.

The final task is a sql statement to delete rows in the table. I
intentionally misspelled the column name and saved the package. My thought
was it would go to the failure step. Is this not correct? Or will the
failure only occur if, perhaps, I cannot delete the rows from the database?

Thanks in advance



Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Workflow: Failure Step - 08-27-2005 , 03:08 AM






You have a success branch and a failure branch going to the same task or
going from the task?

If you have a spelling mistake for example

select kk from dbo.authors

and then have an "On Success" branch and an "On Failure" branch from the
task then the task will fail and the "On Failure" branch will be followed

Introduction to Workflow
(http://www.sqldts.com/default.aspx?287)

Allan


"Stephen Costanzo" <sxcostanzo (AT) hotmail (DOT) com> wrote

Quote:
I have a simple workflow that executes three tasks and in the final task I
have a success branch and a failure branch.

The final task is a sql statement to delete rows in the table. I
intentionally misspelled the column name and saved the package. My thought
was it would go to the failure step. Is this not correct? Or will the
failure only occur if, perhaps, I cannot delete the rows from the
database?

Thanks in advance





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.