I have 5 jobs that have 21 tasks each. They all have the same tasks other than they are executed on different files. I have a test and a production environment.
Each job has an onerror task at the end that is executed only if that particular task fails.
Each task needs the credentials, onerror task id, and ftp server id's changed to point from test to production.
That's 100 total tasks that need 3 clicks each on the test environment...then again in the production environment....I find myself forgetting which I've changed and which I haven't...and VERY time-consuming.
I found a product called 'Multiple File Search and Replace' which allows me to search strings in xml files and replace them.
So, using your example, I search for the task id's of the 'onerror' task as well as the server id and credentials id. I then created templates for replacing all 'test' variables with 'production' variables.
So, I extracted each test job to an xml file. Searched for the 'OnError' task and replaced that string on all the other tasks. I did this for the credentials id and the ftp server ids.
Thank you for all your help!!
Edited by user
2012-03-27T13:20:07Z
|
Reason: typos