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

EPM automate connection

Summary:

Currently, in our Groovy business rules, we are using the EPM Automate login command to establish the connection and then execute EPM Automate commands

// Login to EPM

EpmAutomateStatus loginstatus = automate.execute('login', 'username','targetPassword.epw' , 'targeturl')
if(loginstatus.getStatus() != 0) throwVetoException(loginstatus.getOutput())
println(loginstatus.getOutput())

// Execute the runIntegration command
EpmAutomateStatus runIntegration = automate.execute('runIntegration', "$integration", 'importMode=Replace', 'exportMode=Replace', "period={$period}")
if(runIntegration.getStatus() != 0) throwVetoException(runIntegration.getOutput())
println(runIntegration.getOutput())

The issue is that whenever we clone the environment, the business rules are copied over to the target environment, and the URLs in the business rules are still pointing to PROD. I tried using localhost in the business rules while defining the URL parameter, but it does not work. I also tried using a REST API connection and then executing the EPM Automate command, but it is throwing an error.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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