Hi, we are having the same problem, could you please describe Your solution for me? To be precise how do You invoke the script and under which conditions? Is there a trigger set on the base or does this happen periodically using a scheduler?
Take a look at the readme filweor the APM Guide to learn how to use the APM CE EXport tool to close incidents
20: Close a specified Incident.
Command-specific parameters: -incidentid -comments(optional)
java -jar CEMExportTool.jar -host cembox -username username -password password -port 8081 -command 20 -incidentid 1 -comments "Closed from CEMExportTool by someone"