Saturday 19 April 2014

57 How do I restore the previous version of a particular mapping/session/workflow?

Why -- Well, number of times you need to find out that a particular code got deployed in which release. Moreover, most of the time in development you need to bring back your earlier committed code. Thanks to informatica to give the usability to do so.

How -- Now how would you bring back / restore the earlier version of your committed code? Now be it a any informatica object, like Source, Target, Mapping, Workflow, Session, etc. you can restore or see the earlier code / history of it.
In this case we will take an example to restore the earlier mapping of informatica.

1. As you can see in an image, if you right click on your mapping name, and go to versioning option it, you will have option to view history.

2. You can also view History by click on Versioning Menu of a mapping designer.





 Once you click on "View History" option, another window gets open, which will show you the entire history of your committed objects such as source, target, mapping, workflow, etc.


Now to see the actual code of your history object, in this case the mapping code of version - 1, just right click on respective version and click on "Open In Workspace" option.

Once you do that, respective code you can see.

You can export particular object, in this case its a mapping and re-import it as a new revision.

However, I have seen limitation in doing so if you do any changes at Target.

No comments:

Post a Comment