JBoss Community

Re: How to use setGlobal for JBPM 5

created by Amin Mohammed-Coleman in jBPM - View the full discussion

Hi

 

Thanks for your quick reply!  Just to clarify I need to have a DRL file registered with my KnowledgeBase as well as my BPMN file.  In the DRL file I define the global variable for example:

 

global java.lang.String globalVariable

 

and in my BPMN file in the script node I can do:

 

System.out.println(globalVariable);?

 

Thanks again!

Amin

Reply to this message by going to Community

Start a new discussion in jBPM at Community