dbTalk Databases Forums  

Precedence constraints

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


Discuss Precedence constraints in the microsoft.public.sqlserver.dts forum.



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

Default Precedence constraints - 08-19-2005 , 07:46 AM






I am wondering if the following scenario is possible in DTS

Task 1
Succeed go to task 2
Fail go to task 3

Task 2
Succeed go to task 4

Task 3
Succeed go to task 4

The problem I have is with task 4 I have 2 precedence constraints (task 2
and task 3) when only one of them is going to run.

Is it possible to set up this type of logic?

Thanks

Reply With Quote
  #2  
Old   
Darren Green
 
Posts: n/a

Default Re: Precedence constraints - 08-19-2005 , 09:55 AM






You can do this, but it is messy. My first suggestion is to try and design
this out of your solution.

A half way house, is to skip tasks. This is quite reliable, and relatively
simple -

Skip the execution of an individual Task
(http://www.sqldts.com/default.aspx?214)

For what you originally described, you can really get messy with script as
in this example. It is however a swine to setup and maintain-

Multiple Paths in Workflow
(http://www.sqldts.com/default.aspx?218)


--
Darren Green
http://www.sqldts.com
http://www.sqlis.com

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

Quote:
I am wondering if the following scenario is possible in DTS

Task 1
Succeed go to task 2
Fail go to task 3

Task 2
Succeed go to task 4

Task 3
Succeed go to task 4

The problem I have is with task 4 I have 2 precedence constraints (task 2
and task 3) when only one of them is going to run.

Is it possible to set up this type of logic?

Thanks



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.