johnlewis604562

Getting %errorlevel% as script variable

Discussion created by johnlewis604562 on Nov 14, 2017
Latest reply on Nov 16, 2017 by Wolfgang_Brueckler_1288
Hi

I have a small java app that returns an error code should it go wrong. As part of the solution I also have a VARA with a list of errorcodes and text messages. I want to be able to convert the %errorlevel% so that I can use

:SET &ERRMESSAGE# = GET_VAR(VARA.EXTERNAL.ERRORCODES,%errorlevel%,"1")

I have only just started on the Automic journey so any help would be appreciated.

Thanks

John

Outcomes