1 Reply Latest reply on Apr 19, 2011 2:05 PM by biett0

    Set timer expiration at runtime

    biett0

      Hi there! I'w working with jBPM 4.4 and I'd like to implement a simple timer like the one described in the developer guide  (http://docs.jboss.com/jbpm/v4/devguide/html_single/#timertransition), but I need to set the timer expiration at runtime. How to do that programmatically? Thanks in advance!

        • 1. Set timer expiration at runtime
          biett0

          Finally I got it by myself: I set the duedate value in a variable through a human task and later I execute the timer. To cancel the timer simply I delete the related job through the ManagementService interface.