We are receiving error messages like this in our stdlog file
<date> <time> <example sdm server> bpnotify_nxd 6396 ERROR ntservice.c 237 Can't execute command: NotifyOneClick.bat
<date> <time> <example sdm server> bpnotify_nxd 6396 ERROR bpnotify.c 448 Notification Error! Couldn't start process NotifyOneClick.bat : GetLastError = [183]
Service Desk v17.2 and up
The NotifyOneClick.bat script is a part of the Service Desk - Spectrum integration. Once you download the oc_components.exe from the Spectrum Oneclick Servicedesk page and extract it the following files are created:
oc_notify.jar
OneclickIntegrationsetup.exe
writeNotifDataToFile.pl
Once executing the OneclickIntegrationsetup.exe with the required details a bat file called "NotifyOneclick.bat" is created. When configuring the Service Desk custom notification configuration on the Service Desk server, NotifyOneclick.bat should be referenced instead of NotifyOneclick.exe.
A new NotifyOneclick .bat/.sh script will be created dynamically after a user runs OneClickIntegrationSetup.exe. This script will in turn call a new perl script that will read the SD environment variables NX_NTF_MESSAGE & NX_NTF_SUMMARY, and write them to a temp file. The script will then execute the java application, providing the name of the temp file to gather data from. The java app will read that data and determine if any further action is needed. Finally, the script will remove the temp files created.