[jboss-user] [jBPM] - Re: Process variables rules template relationship

Mauricio Salatino do-not-reply at jboss.com
Tue Mar 20 08:06:33 EDT 2012


Mauricio Salatino [https://community.jboss.org/people/salaboy21] created the discussion

"Re: Process variables rules template relationship"

To view the discussion, visit: https://community.jboss.org/message/725041#725041

--------------------------------------------------------------
You can also do something like:

*import* org.drools.runtime.process.WorkflowProcessInstance
 
rule "your rule"
    when
        p: WorkflowProcessInstance($myVar: variables["yourVar"] == "something")
      then
        System.out.println("My Variable is equals to something");
 end
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/725041#725041]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120320/f9db2ec8/attachment.html 


More information about the jboss-user mailing list