I get "EPMAT-1:Command failed to execute" error on the importsnapshot step of groovy script
Summary:
I get "EPMAT-1:Command failed to execute" error on the importsnapshot step of groovy script which allows to migrate the snapshot from source to target environment. I don't understand what's wrong, could you help me please?
Content (required):
EpmAutomate automate = getEpmAutomate()
//Log into the target environment
EpmAutomateStatus loginstatus = automate.execute('login','xxxx.****@adeo.com','targetPassword.epw','https://epm52-test-****.epm.em2.oraclecloud.com/')
if(loginstatus.getStatus() != 0) throwVetoException(loginstatus.getOutput())
println(loginstatus.getOutput())
//Recreate the target environment
EpmAutomateStatus recreatestatus = automate.execute('recreate' , '-f' )
if(recreatestatus.getStatus() != 0) throwVetoException(recreatestatus.getOutput())
println(recreatestatus.getOutput())
//Copy Artifact Snapshot from the source environment