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

Is there a way to create a business rule where the login url is not hard coded

Received Response
31
Views
8
Comments
edited Feb 20, 2024 10:24PM in EPM Platform and Freeform 8 comments

Hi. Is there a way to create a business rule where the login URL is not hard coded? See example below where URL is hard coded:

//Log into the target environment

EpmAutomateStatus loginstatus = automate.execute('login', 'USERID','PASSWORD' , 'https://production-app-epm.1.ocs.oraclecloud.com')

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

println(loginstatus.getOutput())

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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