JBoss Community

Re: Process flow stops after human task completion in jBPM5.1

created by MichaƂ Warecki in jBPM - View the full discussion

Wow, that's right but I attach listener like in documentation:

 

SystemEventListener systemEventListener = org.drools.SystemEventListenerFactory.getSystemEventListener();

 

Exacly in my case in Spring way:

 

<bean id="systemEventListener"

        class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">

        <property name="staticMethod">

            <value>org.drools.SystemEventListenerFactory.getSystemEventListener</value>

        </property>

    </bean>

 

In debug I can see that systemEventListener is org.drools.core.util.DelegatingSystemEventListener and has listener property org.drools.agent.impl.DoNothingSystemEventListener so DoNothing is not what I want to attach :-)

 

How can I get right listener?

Reply to this message by going to Community

Start a new discussion in jBPM at Community