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

PBCS run an epm automate process through a groovy rule

Received Response

Hi all,

i'm trying to run a epmautomate process into a ePBCS groovy rule. If i put the password into the code (or into a variable) as, for example:

/*RTPS: {rtpUser}, {rtpPwd},{rtpEnv}*/

String timestamp = new Date().format("yyyyMMdd_HHmmss")

String sEpmAutomateUserLogin = '{rtpUser}'

String sPwd = '{rtpPwd}'

String sEnv = '{rtpEnv}'

EpmAutomate automate = getEpmAutomate()

/login EpmAutomate/

EpmAutomateStatus loginstatus = automate.execute('login',sEpmAutomateUserLogin,sPwd,sEnv)

if(loginstatus.getStatus() != 0) throwVetoException(loginstatus.getOutput())


/*Extract roleAssignment Report*/

EpmAutomateStatus ExtractRoleAssignment = automate.execute("roleAssignmentReport", "roleAssignmentReport_${timestamp}.csv")

if (ExtractRoleAssignment.getStatus() != 0) {

 throwVetoException("Export Security status: ${ExtractRoleAssignment.getOutput()}")


println "roleAssignmentReport_${timestamp}.csv"

Howdy, Stranger!

Log In

To view full details, sign in.


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