![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
The good news is that the error is raised. But the on failure workflow is still not followed. I have cleared the Fail package on first error on the package properties, however, the package execution stops on the error. Are there other settings elsewhere I need to change? *** Sent via Developersdex http://www.developersdex.com *** |
#4
| |||
| |||
|
#5
| |||
| |||
|
|
I appreciate your assistance with this matter Allan. Ok, my DTS package workflow is still functioning oddly. My package has 39 steps with on success workflows, i.e. step 1 to step 2 to step 3 etc. All of these steps had an on failure workflow going to an activex script task. When I raised the error, the failure activex script task wouldnt run. As a test, I deleted the on failure workflows and the failure activex script task, recreated it, and created a single failure workflow from the step that presently fails (on purpose). When I executed the package, the error was raised and the failure activex script task ran. So I created a second on failure workflow from another step to the failure activex script task and executed the package, the error was raised and the failure activex script task did not run. Is there a limited to the number of on failure workflows that can be used in DTS? Presently one works fine and two and beyond do not. I welcome comments and suggestions on this matter. *** Sent via Developersdex http://www.developersdex.com *** |
#6
| |||
| |||
|
#7
| |||
| |||
|
|
Indeed, so multiple on failure workflows is a cumulative AND operation that is the opposite of what I expected. Thanks for pointing that out. So, is the alternative creating 39 identical activex script tasks and 39 identical send mail tasks (the activex task configures the content of the send mail task, among other things) for each of the 39 steps in the package? Is it possible to set the behavior of the failure workflows to be an OR operator or some other option? *** Sent via Developersdex http://www.developersdex.com *** |
#8
| |||
| |||
|
#9
| |||
| |||
|
|
Okay, so am I correct in understanding it is possible to use 39 on failure workflows going to the same activex script by adapting the code at that link to allow the task to run with the failure of only one step as an OR operation? *** Sent via Developersdex http://www.developersdex.com *** |
#10
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |