Learn about Redwood and be one of the first to join the conversation

Visit Redwood Community
EPMAUTOMATE exit error query — Cloud Customer Connect
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

EPMAUTOMATE exit error query

Received Response
11
Views
5
Comments
edited Mar 15, 2022 11:14AM in EPM Platform 5 comments

Summary:

Hi all

We would like to generate an error code number specific for a task. We want EPMAutomate to delete the latest snapshot downloaded from the server to a local drive when it reached to maximum space available., but we are not sure how to force a new exit code in EPMautomate, when I see that it has already predefined ones.


Here is what we want:

-------------------------------------------------------------------------------------

:Downloadfile of the Snapshot

call epmautomate downloadfile "test01" >> %logpath2%

IF %ERRORLEVEL% NEQ 0

ECHO %ERRORLEVEL% >> %logpath2%

) ELSE ( ECHO La descarga se ha ejecutado correctamente) >> %logpath2%

::IF %ERRORLEVEL% EQU xxxx (GOTO ELIMINATE

::)

::ELSE Logout

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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