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"