Branching after a file system task in SSIS without failing the package

前端 未结 9 1879
孤城傲影
孤城傲影 2021-01-22 16:56

If a file system task such as a rename fails, for example if the file does not exist, then this is considered an error by SSIS. This means the whole package fails. I can get aro

相关标签:
9条回答
  • 2021-01-22 17:54

    Check the FailPackageOnFailure and FailParentOnFailure properties of the FileSystem task and make sure they are set to False. Also, increase the MaximumErrorCount property of the package.

    This combination will allow the task to fail and the package to still complete successfully.

    0 讨论(0)
  • 2021-01-22 17:56

    Use a expression and constraint combination on the "precedence constraint" connector. return success always from your previous task (it may be a script looking for the file) and if file found, set a variable. in the expression of the "precedence constraint" check for the variable value and return true or false. If your expression evaluates to false, the package will nto continue and yet you will not see any error. - Mayukh

    0 讨论(0)
  • 2021-01-22 17:57

    Make the property "Force execution Result" to success for the File system task..

    0 讨论(0)
提交回复
热议问题