with appman 14880, "Execute Program Action" problem. info:
execute program action: run batch file (exp: D:\sms\sms.bat).
Run test from menu "view action" is ok. log:
[20 Oct 2020 17:01:33:431] ACTIONS: FAULT -->Executing command ..cmd /c D:\sms\sms.bat from D:\sms ===> https-jsse-nio-8443-exec-3
[20 Oct 2020 17:01:33:431] ACTIONS: AMActionExecuter.executeProgram :: going to execute command:::cmd /c D:\sms\sms.bat ===> https-jsse-nio-8443-exec-3
[20 Oct 2020 17:01:33:593] ACTIONS: the exitCode: 0 ===> https-jsse-nio-8443-exec-3
[20 Oct 2020 17:01:33:593] ACTIONS: FAULT --> Action executed successfully ===> https-jsse-nio-8443-exec-3
[20 Oct 2020 17:01:33:593] ACTIONS: FAULT -->Program exited with code 0 ===> https-jsse-nio-8443-exec-3
but if alarm, action run not ok. Log:
[20 Oct 2020 17:01:47:714] ACTIONS: FAULT -->Executing command ..sh D:\sms\sms.bat from D:\sms ===> https-jsse-nio-8443-exec-3
[20 Oct 2020 17:01:47:714] ACTIONS: AMActionExecuter.executeProgram :: going to execute command:::sh D:\sms\sms.bat ===> https-jsse-nio-8443-exec-3
[20 Oct 2020 17:01:47:970] ACTIONS: the exitCode: 2 ===> https-jsse-nio-8443-exec-3
[20 Oct 2020 17:01:47:970] ACTIONS: FAULT --> Action executed successfully ===> https-jsse-nio-8443-exec-3
[20 Oct 2020 17:01:47:970] ACTIONS: FAULT -->Program exited with code 2 ===> https-jsse-nio-8443-exec-3