Use timer nodes inside JUnit test cases return error related to PseudoClockScheduler in RHPAM

Solution Verified - Updated -


  • we'r trying to write a test for our process wich use a Timer node. We configured both the system property needed and the kmodule under test with clockType="pseudo" but running the test when we try to get the PseudoClockScheduler we encounter this exception:

    java.lang.ClassCastException: org.jbpm.process.core.timer.impl.RegisteredTimerServiceDelegate cannot be cast to org.drools.core.time.impl.PseudoClockScheduler
    at it.poste.o2c.sacommonbpm.SACommonProcessTests.testSdIntegrationKORetry(


  • Red Hat Process Automation Manager (RHPAM) 7.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content