jmix-framework / jmix

Jmix framework
https://www.jmix.io
Apache License 2.0
694 stars 124 forks source link

Define process instance listener with delegateExpression in the BPMN modeler #1717

Closed gorbunkov closed 9 months ago

gorbunkov commented 1 year ago

We can define a process instance event listener by selecting a class.

Flowable also supports defining a listener using delegateExpression. This will allow to use Spring beans as listeners. See Flowable documentation.

We should add an option to select a delegateExpression for the listener to the BPMN modeler

These changes must be also implemented in Studio BPMN designer.

konyashkina commented 9 months ago

Tested on Jmix version: 2.2.999-SNAPSHOT Jmix Studio plugin version: 2.2.SNAPSHOT6060-233 IntelliJ version: IntelliJ IDEA 2023.3.4 RC