I have been testing BatAction in our dev environment and have ran into a couple problems.
Our system is 2020R3, with the management server and event server on the same device.
When I add the BatAction plugin to the appropriate folder on the server and restart the event server service, the plugin shows up as a possible action on rules, but only for ones triggered by an event. It does not show up for either of the time-based options. Since my goal is to trigger the action on an event, I am not overly concerned about the time-based triggers.
However, when I try to use the plugin to run any .BAT file, including the sample file that comes with the plugin, nothing happens when I trigger the event. When I checked the Windows event log, I found the following error:
Failed to execute action. ActionId = e12278c6-b0c0-4f51-bf1f-544dd7ee2f87 Exception details:
System.MissingMethodException: Method not found: ‘Boolean VideoOS.Platform.FQID.op_Inequality(VideoOS.Platform.FQID, VideoOS.Platform.FQID)’.
at BatAction.BatActionActionManager.ExecuteAction(Guid actionId, Collection`1 actionItems, BaseEvent sourceEvent)
at VideoOS.EventServer.MIP.XpcoRuleItemProviders.MipActionHandler.Execute(ActionExecutionParams action)
Clearly, the plugin is triggering, but I can’t figure out why it is crashing.
Any help with this would be greatly appreciated.