SSIS 2014 - Repeating a SQL Task one time in the control flow..What task combinations/components would I use?

I have 5 SSIS SQL tasks,

I want it to flow like this Execute Sql Task 1
                                           Execute Sql Task 2
                                           Execute Sql Task 3
                                           Execute Sql Task 4
                                           Execute Sql Task 3
                                           Execute Sql Task 5

What task structures and containters would I use?
Paul MaurielloSoftware Programmer Developer Analyst EngineerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

What kind of tasks are these? If SQL statements, you can use execute SQL.  In order to execute your tasks sequentially you can use a sequence container and drag and drop all your tasks in there
Jim HornMicrosoft SQL Server Data DudeCommented:
Correct, multiple 'Execute SQL Task's.  If there's any additional requirements that you have and would like answers on, then you'll need to provide us more details.

Are these common enough that they can be put into a loop?  Does this order change based on certain conditions?  Want a message to say when it's done, it blows up?
Paul MaurielloSoftware Programmer Developer Analyst EngineerAuthor Commented:
These are stored procedures with in each task that do a large amount of heavy processing. The above chain is contingent on  the success of each one.  My question centers around Basically if Task 3 is successful then perform task 4 if successful then reprocess task 3 and on the success of that perform task 5...
Active Protection takes the fight to cryptojacking

While there were several headline-grabbing ransomware attacks during in 2017, another big threat started appearing at the same time that didn’t get the same coverage – illicit cryptomining.

Jim HornMicrosoft SQL Server Data DudeCommented:
Ok, so how do you define 'success'?  SSIS will define it as if the SP ran without error, regardless of whether it did or did not do what you wanted.  So if there's any business logic here, you will need the SP to return value(s) that mean success, then have the 'Execute SQL Task' store those as variables, then in the precedence constraints (aka arrows between components) you can add expressions that use those variables to do custom things.
sequence container should work for you

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Paul MaurielloSoftware Programmer Developer Analyst EngineerAuthor Commented:
Thanks for your help :)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.