6 Replies Latest reply on Aug 26, 2014 9:27 AM by mayankjain

    How to use setGlobal for JBPM 5

    aminmc

      Hi

       

      I am trying to use a spring managed bean inside a BPMN script component and I thought I would use the session.setGlobal(...) to inject the spring bean in the process context. I see I can do this using DRL but I'm not able to set this up in BPMN.  I tried using session.setGlobal(...) but get a runtime exception stating that global is unrecognised.

       

       

      Any help would be appreciated,

       

      Thanks

      Amin