[cockpit plugin] Trigger method on process instance change

Hi,

I am trying to implement auto refresh for the diagram when the process instance changes. To get notified on process change, I attempted to implement the Camunda-bpm-reactor extension however, i could not figure out how to install the plugin. Are there any more verbose tutorials for this?

Is there another way i should be going at this from? I also tried setting up triggers on the H2 database however this created a new instance of my plugin instead of calling the correct method.

Any help is appreciated.
All the best.

Suggestion: to increase adoption of the plugin: add a generic “refresh every N seconds” option similar to Elastic Searches Kibana; and make the number of seconds configurable. This would be something that is more adoptable and not require adding reactor to the engine, your plugin would only require a modification to tasklist app.