Hi everyone,
We're struggling ourselves with this and we are stuck.
Which is the equivalent for a SSIS in a Script Task component on CONTROL FLOW layer?
Main = DTSStepScriptResult_ExecuteTask
Thanks for your input and regards,
Set the script result to a variable and then use that variable in a precedence constraint on the Execute XXX Task.|||To try and expand on Phil's reply. The constant you mention does not exist, because you no longer have workflow scripts as you did in DTS. What you do have is a much richer set of precedence constraint functionality. As well as having the normal succes and failure stype stuff, you can also set an expression on the constraint. The expression uses a new syntax, which is quite simple, but maybe you could replace your script logic with an expression. Your logic may be too complicated for this, so you would have to use an Script Task and from that your result in variable. The variable can easily be referenced in an expressionon the constraint.
I would avoid any ActiveX Script in SSIS, use the new features, including the Script Task if required. The support for ActiveX is not good, things like error information are very poor now.
No comments:
Post a Comment