dbTalk Databases Forums  

DTS Task Priority

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


Discuss DTS Task Priority in the microsoft.public.sqlserver.dts forum.



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

Default DTS Task Priority - 05-24-2006 , 08:32 AM






Hi,

I have a SQL Task, that has two seperate "On Success" Workflows coming from
it.

I want to know if there is a way of setting my first "On Success" workflow
to have priority over the second workflow. i.e. So One task runs before the
other...

I've looked at the RelativePriority Property however it doesn't seem to work
as I expected?

Thanks for helping


Jon Derbyshire


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

Default Re: DTS Task Priority - 05-25-2006 , 03:29 AM






Hello Jon,


Why not then just have the "2nd priority" task go after the "First Priority"
task?

Would that solve things?



Allan Mitchell
www.SQLDTS.com
www.SQLIS.com
www.Konesans.com

Quote:
Hi,

I have a SQL Task, that has two seperate "On Success" Workflows coming
from it.

I want to know if there is a way of setting my first "On Success"
workflow to have priority over the second workflow. i.e. So One task
runs before the other...

I've looked at the RelativePriority Property however it doesn't seem
to work as I expected?

Thanks for helping

Jon Derbyshire




Reply With Quote
  #3  
Old   
Jon Derbyshire
 
Posts: n/a

Default Re: DTS Task Priority - 05-26-2006 , 06:00 AM



Hi Allan,

Unfortunately this wouldn't work as required.

I need to be able to predefine the required path prior to execution of the
DTS.

Example:

Imagine I have an Analysis Services Processing Task with an "On Completion"
workflow, an "On Failure" workflow, and an "On Success" workflow.

The On success will simply execute an SQL Task to report success to a Log
Table.

The On failure will execute an SQL Task to report Failure to a Log Table.

The On Completion will continue onto the next AS Processing Task.

In this scenario I would like either the "On sucess" OR the "On Failure" to
be executed BEFORE the "On completion" Workflow.

Any Ideas?

Jon Derbyshire

"Allan Mitchell" wrote:

Quote:
Hello Jon,


Why not then just have the "2nd priority" task go after the "First Priority"
task?

Would that solve things?



Allan Mitchell
www.SQLDTS.com
www.SQLIS.com
www.Konesans.com

Hi,

I have a SQL Task, that has two seperate "On Success" Workflows coming
from it.

I want to know if there is a way of setting my first "On Success"
workflow to have priority over the second workflow. i.e. So One task
runs before the other...

I've looked at the RelativePriority Property however it doesn't seem
to work as I expected?

Thanks for helping

Jon Derbyshire





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

Default Re: DTS Task Priority - 05-26-2006 , 06:44 AM



Hello Jon,



OK we can do that as well. You need a logical OR to the On Completion Step.
So you would have 3 paths flowing to the On Completion Step. One of them
is the default path and the other two are the ones after handling the "On
Success" OR the "On Error"


Have a look here

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


Allan Mitchell
www.SQLDTS.com
www.SQLIS.com
www.Konesans.com

Quote:
Hi Allan,

Unfortunately this wouldn't work as required.

I need to be able to predefine the required path prior to execution of
the DTS.

Example:

Imagine I have an Analysis Services Processing Task with an "On
Completion" workflow, an "On Failure" workflow, and an "On Success"
workflow.

The On success will simply execute an SQL Task to report success to a
Log Table.

The On failure will execute an SQL Task to report Failure to a Log
Table.

The On Completion will continue onto the next AS Processing Task.

In this scenario I would like either the "On sucess" OR the "On
Failure" to be executed BEFORE the "On completion" Workflow.

Any Ideas?

Jon Derbyshire

"Allan Mitchell" wrote:

Hello Jon,

Why not then just have the "2nd priority" task go after the "First
Priority" task?

Would that solve things?

Allan Mitchell
www.SQLDTS.com
www.SQLIS.com
www.Konesans.com
Hi,

I have a SQL Task, that has two seperate "On Success" Workflows
coming from it.

I want to know if there is a way of setting my first "On Success"
workflow to have priority over the second workflow. i.e. So One task
runs before the other...

I've looked at the RelativePriority Property however it doesn't seem
to work as I expected?

Thanks for helping

Jon Derbyshire




Reply With Quote
  #5  
Old   
=?Utf-8?B?Sm9uIERlcmJ5c2hpcmU=?=
 
Posts: n/a

Default Re: DTS Task Priority - 05-30-2006 , 04:02 AM



Thanks for your help Allan

Much appreciated

Jon

"Allan Mitchell" wrote:

Quote:
Hello Jon,



OK we can do that as well. You need a logical OR to the On Completion Step.
So you would have 3 paths flowing to the On Completion Step. One of them
is the default path and the other two are the ones after handling the "On
Success" OR the "On Error"


Have a look here

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


Allan Mitchell
www.SQLDTS.com
www.SQLIS.com
www.Konesans.com

Hi Allan,

Unfortunately this wouldn't work as required.

I need to be able to predefine the required path prior to execution of
the DTS.

Example:

Imagine I have an Analysis Services Processing Task with an "On
Completion" workflow, an "On Failure" workflow, and an "On Success"
workflow.

The On success will simply execute an SQL Task to report success to a
Log Table.

The On failure will execute an SQL Task to report Failure to a Log
Table.

The On Completion will continue onto the next AS Processing Task.

In this scenario I would like either the "On sucess" OR the "On
Failure" to be executed BEFORE the "On completion" Workflow.

Any Ideas?

Jon Derbyshire

"Allan Mitchell" wrote:

Hello Jon,

Why not then just have the "2nd priority" task go after the "First
Priority" task?

Would that solve things?

Allan Mitchell
www.SQLDTS.com
www.SQLIS.com
www.Konesans.com
Hi,

I have a SQL Task, that has two seperate "On Success" Workflows
coming from it.

I want to know if there is a way of setting my first "On Success"
workflow to have priority over the second workflow. i.e. So One task
runs before the other...

I've looked at the RelativePriority Property however it doesn't seem
to work as I expected?

Thanks for helping

Jon Derbyshire





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.