1 Reply Latest reply on Jul 5, 2012 8:04 AM by swiderski.maciej

    executing a method as some event occurs

    gadhaa

      How to execute custom or user defined methods if some node is reached or some event occured in jBPM 5.3?

        • 1. Re: executing a method as some event occurs
          swiderski.maciej

          take a look at service task and ServiceTaskHandler that is capable for invoking method of defined java class with restriction of only single argument. Alternatively you can create your custom/domain specific nodes and coresponding work item handlers which you could do pretty much whatever you need.

           

          Take a look at documentation for more details and jbpm-examples project that is shipped with jbpm distribution.

           

          HTH