getPassword() not working what i am doing mistake here.
Summary:
Trying to get username and password and want use for epmautomate but getting error for getPassword()
Content (please ensure you mask any confidential information):
Version (include the version you are using, if applicable):
Latest
Code Snippet (add any code snippets that support your topic, if applicable):
below code i am using
try {
Connection planning = operation.application.getConnection('Loacal')
def user = planning.getUserName()
def url = planning.getUrl()
def pass = planning.getPassword()
println "Username: $user"
println "url: $url"
println "Password: $password"
} catch (Exception e) {
println "An error occurred: $e.message"
}
getting below error
A validation error was received from the Planning server.
Tagged:
0