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

Use epmautomate commands in Groovy

Summary:

Hi Team,

I'm working on a Groovy script that logs in and renames our Snapshots.
I wanted to use functions for reusability and avoid repeating of code.
But when I tried a simple login function, it is not working because of EPMAutomateStatus.
I've tried to find documentation on this but was unsuccessful.

Could you please let me know the correct syntax if any.

Version (include the version you are using, if applicable):

PBCS Version: 24.09.73

Code Snippet (add any code snippets that support your topic, if applicable):

/*****************************************************
Creating an object of EPMAutomate
*****************************************************/
EpmAutomate automate = getEpmAutomate()

/*****************************************************
Defining Required Variables
*****************************************************/
String passwordfile = "encryptedpasswordfile.epw"

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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