![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
i am executing Following DECLARE @res int EXEC @res=Exec Admin_Fixes_Process_Duplicates_Referrals SELECT @res in Execute SQL Task My question, If @res value is not equal to 0 i have to make task failure else goto next task can any one give idea how to solve my problem, |
#3
| |||
| |||
|
|
Kalyan, SELECT @res into a column alias.. For example SELECT @res as ResultCode Next, click on the parameter button. Click on the Output Parameter tab followed by the Row Value and you should see ResultCode. From there you can assign the ResultCode to a Global Variable. Next using ActiveX Script , you can read in the global variable and set the Workflow Success or Failure flag based on the value in the REsultCode. "Kalyan" wrote: i am executing Following DECLARE @res int EXEC @res=Exec Admin_Fixes_Process_Duplicates_Referrals SELECT @res in Execute SQL Task My question, If @res value is not equal to 0 i have to make task failure else goto next task can any one give idea how to solve my problem, |
![]() |
| Thread Tools | |
| Display Modes | |
| |