Methods to be Used for Running EPM Automate Using Server-Side Groovy
getEPMAutomate ()This static method provides an instance ofEpmAutomateclass, which can then be used to invoke EPM Automate commands.execute ()This method ofEpmAutomateclass is used to execute an EPM Automate command. Pass the EPM Automate command name as the first parameter and command options as subsequent parameters. This method returns an instance ofEpmAutomateStatusclass.getStatus ()This method ofEPMAutomateStatusclass returns the execution status returned by the command. Return value 0 indicates success while a non-zero value means command failure.getOutput ()This method ofEPMAutomateStatusclass returns the string output of the command. For example, you can use this method to return the output of thegetApplicationAdminModeandgetDailyMaintenanceStartTimecommand. If the return status of the command is non-zero, this method returns the error message.getItemsList ()This method ofEPMAutomateStatusclass returns the list output of the command. For example, you can use this method to return the output of thegetSubstVar,listBackups, andlistFilescommands.