1 Reply Latest reply on Feb 7, 2014 1:59 AM by swiderski.maciej

    How to retrieve the current Node name (jBPM6)?

    mylos78

      Hi all !

      I need to do some simple debugging to check on which Node the process is. I have the following fields available:

      private RuntimeManager singletonManager;

      long processInstanceId; 

      Is there a way to combine them to retrieve the current Node name in jBPM 6 ?

      Thanks

      Mylos

        • 1. Re: How to retrieve the current Node name (jBPM6)?
          swiderski.maciej

          if you are talking about debugging in like unit test scenario best would be to use the base test class that provides number of utility methods that might become useful. When you're running more of a system way then good thing would be to use history log that is by default active for runtime manager. Use log service to retrieve dta from db. Another approach you can register your own process event listener that will collect information for you so you know where the process is.

           

          HTH