Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

PRECEDENCE CONSTRAINT EDITOR

$
0
0

HI

How do I fail a package based on precedence constraint.To be more clear please check the following precedence constraint setting.

Evaluation Operation : Expression and Constraint

Value : Success

Expression :@value1 == @value2

>Logical AND .All constraints must be evaluated to true.

I want the package to fail if the above expression fails.

My question is,suppose I have 2 packages(2 steps) in my job and this expression is in the first package.(Step 1)

Will this step fail and not proceed to step 2 if the above expression is not satisfied

When I run the package by itself the package does stop at the precedence constraint if the expression is not satisfied but in the output window it still shows as below.

SSIS package "ADDRESS.dtsx" finished: Success.

So just to brief , How do I give the precedence constraint settings so that if the expression fails ,the package should fail and I do not want the proceeding step in the job to execute.

All the help is appreciated...

Regards

Praveen Uppath




Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>