Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

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 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!