![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
In my DTS pkg, I have an ActiveX script that has a condition: if <condition> = True Then Main = DTSTaskExecResult_Success Else Main = DTSTaskExecResult_Failure End If On the failure condition, I set a workflow (red) connected to a task for sending me (xp_sendmail) email. I ran this pkg as job. Everything is working as it is supposed to. The only issue is on failure condition, the job shows it is failed (red color). In actualty, it is the condition that failed ..not the job! Is there it can be avoid i.e. if the condition fails, I need the job to be shown successful. Any help would be appreciated. |
#4
| |||
| |||
|
#5
| |||
| |||
|
|
Helge, Thanks for your help. Can you plz. give an example of what you said. In your example you can dynamicly disable the next step for success or "failure" and enable the other, so that only one flow continues - both depends on succes of the condition step. |
#6
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |