Hello, I am having trouble with message event. When a message event called “reject” is fired, the process supposes to cancel any current task inside the subprocess and go back to the first one. It was working before, until I changed all the user tasks inside the subprocess to be multi-instance. I am getting the following error.
Does anyone experienced similar behavior with multi-instance user task?
org.activiti.engine.ActivitiException: Execution with id ‘147794’ does not have a subscription to a message event with name ‘reject’
at org.activiti.engine.impl.cmd.MessageEventReceivedCmd.execute(MessageEventReceivedCmd.java:76) ~[flowable-engine-5.22.0.jar:5.22.0]
at org.activiti.engine.impl.cmd.MessageEventReceivedCmd.execute(MessageEventReceivedCmd.java:33) ~[flowable-engine-5.22.0.jar:5.22.0]
at org.activiti.engine.impl.cmd.NeedsActiveExecutionCmd.execute(NeedsActiveExecutionCmd.java:55) ~[flowable-engine-5.22.0.jar:5.22.0]
at org.activiti.engine.impl.interceptor.CommandInvoker.execute(CommandInvoker.java:24) ~[flowable-engine-5.22.0.jar:5.22.0]
at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:57) ~[flowable-engine-5.22.0.jar:5.22.0]
at org.activiti.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:47) ~[flowable-spring-5.22.0.jar:5.22.0]
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133) ~[spring-tx-4.3.3.RELEASE.jar:4.3.3.RELEASE]
at org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:45) ~[flowable-spring-5.22.0.jar:5.22.0]