Yes, I opened a ticket with Infor and found out about this.
However, the path I was using for PS1 and CMD is no longer working, you now have to enter the full path. And, CMD is not working at all, but I was able to get CMD to work using the call to PS1.
Here are my notes.
Alert Issues after upgrading to Cloverleaf v19.1:
Tested with Win2012 and Win2016
Issue is that you can no longer add a CMD or PS1 EXEC to an alert without getting a “Whitelist” error. If the alert was upgraded, it will be in the alert file, but if you try to save the alert you will get the Whitelist error.
In order to add to the alert, you first must add the *.exe to the “Whitelist”.
For v19.1, it appears that only Powershell is working, CMD is not, but you can call the PS1 exe instead.
If you do not have the Whitelist configuration and run the alert, the hciMonitord.log shows error: Illegal command …. Skip it
First, find the install path for powershell.
Select the Windows Key from the taskbar> Type Powershell> Right click “Windows Powershell”. Do not select the ISE or any of the x86 versions.
Select Open file location. This will be the shortcut icon.
Right click the icon and select properties
Remember the value for “Target”. this is the path you will enter in the Whitelist configuration.
Select the Windows Key from the taskbar> Navigate to the Infor section and choose “Server Administration”
Select the tab “Command Whitelist”.
Select Add> Single command.
For the name, enter “Powershell.exe”
For the Path, Navigate to the path for the powershell.exe. IE: C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe
Select OK
Select Save
Close the Server Administration
Restart the Infor Service.
Reonfigure the Cloverleaf Alert
Open any alert that uses the Alert Action EXEC.
Change the action to include the full path of powershell and the full path of the script file.
PS1 script:
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe “&{D:\Qdx_work\Custom_Scripts\CloverleafInterfaceRecycle.ps1}”
CMD script:
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe “&{D:\Qdx_work\Custom_Scripts\QdxInterfaceRecycle.cmd}”