Custom Events can't trigger bash scripts attached to notification

Hello OpenNMS family,

I have been trying to run some scripts during the creation of an event. ActionD in that case works fine but I need alarm id information which is not possible to parse it through the actiond definition.

So far I was able to define my events, notification paths as well as notification commands. I was able able to run scripts with original OpenNMS events as node down/up but my events which are custom snmp trap definitions can’t initiate the script. For the side note, my permissions are fine and scripts are executable.

Here are my configs on notificationCommand and notification definition:

<notification name="test-general" status="on" writeable="yes">
      <rule>(IPADDR != '')</rule>
      <text-message>General trap test</text-message>
      <subject>Notice #%noticeid%</subject>
   <command binary="true">
      <comment>python test</comment>
      <argument streamed="false">
      <argument streamed="false">

OpenNMS Version: 28.0.1
Java Version: 11.0.12 Red Hat, Inc.
Java Virtual Machine:|11.0.12+7-LTS Red Hat, Inc.
Operating System: Linux 4.18.0-305.el8.x86_64 (amd64)
OSGi Container: Apache Karaf 4.2.11

Thank you!