Go Back   CORTEX Forums > Local Happenings > CORTEX Blogs > BI Monkey
Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read

SSIS Loops that do not fail

This is a discussion on SSIS Loops that do not fail within the BI Monkey forums, part of the CORTEX Blogs category; By default, in a Loop container, if the contents of that loop fail, then the whole container is failed at the same time. Every now and then I need to ...


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 3rd August 2009, 07:05 PM   #1
Guru
 
Join Date: Jun 2009
Posts: 122
James Beresford is on a distinguished road
Thumbs up SSIS Loops that do not fail

By default, in a Loop container, if the contents of that loop fail, then the whole container is failed at the same time. Every now and then I need to create loops that do not fail when the contents fail - for example because failure is permitted or handled within the container.

The way to allow a loop to continue even if its contents have failed is to set the ForceExecutionResult property to Success, and every iteration of the loop will be treated as successful, regardless of what happens during the loop.

I’ve knocked up a very quick sample package demonstrating this, which can be downloaded here.



Get More from the original blog...
James Beresford is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiTweet this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Do? While / Until Loops in SSIS James Beresford BI Monkey 0 23rd July 2009 10:30 PM
Two quick ways to fail at Social Marketing James Beresford BI Monkey 0 19th July 2009 04:06 PM
Replacing multiple characters in a Text String in SSIS James Beresford BI Monkey 0 30th June 2009 06:09 PM
Debugging SSIS ScriptTasks and ScriptComponents with Information Messages Darren Gosbell Random Procrastination 0 23rd June 2009 08:30 PM


All times are GMT +11. The time now is 09:50 AM.

© The Business Intelligence Group

Search Engine Optimization by vBSEO