Hyperion Planning (MOSC)

MOSC Banner

I get "EPMAT-1:Command failed to execute" error on the importsnapshot step of groovy script

edited Dec 19, 2022 5:45PM in Hyperion Planning (MOSC) 2 commentsAnswered

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?



EpmAutomate automate = getEpmAutomate()


//Log into the target environment

EpmAutomateStatus loginstatus = automate.execute('login','xxxx.xxx@adeo.com','targetPassword.epw','https://epm52-test-xxx.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 

//to the target environment

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center