pass variables in epmautomate command server side groovy scripting
Hi Team
We are trying to maskdata via epmautomate command vis groovy BR using server side scripting in ePM Cloud. However, unable to pass the parameter -f in the empautomate command in the BR.
please advise how to achieve this?
class ConnectionDetails {
static String username = "user"
static String password = "pass"
static String url = "https://epmdummyepm.eu-amsterdam-1.ocs.oraclecloud.com/epmcloud"
}
EpmAutomate automate = getEpmAutomate()
EpmAutomateStatus status = automate.execute("login", ConnectionDetails.username, ConnectionDetails.password , ConnectionDetails.url)
if (status.getStatus() != 0) {
throwVetoException("Login status: ${status.getOutput()}")
}
println "First Login Successful"
automate.execute("maskData","[-f]")
println "doneeee"