I never used, but I checked the documentation and it says three input parameters. Please be aware that it is not strings. It is a OdiScenario object, a String and a Boolean. Maybe you are trying to pass only the String instead of the OdiScenario object.

Have you used this class? Could it be a problem in my version to accept only 2 parameters?

]]>
By: Paulo https://devepm.com/2019/04/09/playing-with-odi-and-groovy-part-4-exporting-importing-odi-scenarios-with-sdk/#comment-26771
Thu, 30 Apr 2020 21:19:51 +0000http://devepm.com/?p=1811#comment-26771Thank you for your help.
Just one more thing, looking for the documentation I found this class: importReplaceScenario

Got it. I dont know if this option exists in the SDK, I would need to do some research. Just to confirm, you are trying to update one ODI scenario with the same version number correct? In other words, you already have ODI scenario 001 and you want to import/replace the same 001 in the other environment, correct? I had so many issues with those kind of imports in the past that right now I’m a very big fan of increasing version numbers. In all my projects I increase the version number anytime that I need to migrate something (like 1_00_00, 1_00_01 and so on), so I never run on this AK constraints situations.

]]>
By: Paulo https://devepm.com/2019/04/09/playing-with-odi-and-groovy-part-4-exporting-importing-odi-scenarios-with-sdk/#comment-26758
Thu, 30 Apr 2020 16:00:49 +0000http://devepm.com/?p=1811#comment-26758Hello,
Here my environments have different IDs and the import / update does not work because of the different workrep id, we use manual import through Import Substitution.