[jboss-user] [jBPM] - Re: invalid package name

stellina_rosa do-not-reply at jboss.com
Tue Apr 26 10:19:56 EDT 2011

stellina_rosa [http://community.jboss.org/people/stellina_rosa] created the discussion

"Re: invalid package name"

To view the discussion, visit: http://community.jboss.org/message/602018#602018

I understand where is a problem: I have a rule like this:

rule "is the admin"
  ruleflow-group "control"
       $process: WorkflowProcessInstance()
       $u: User(usern == "rosa") 
        System.out.println("Welcome Admin");


the problem is the $process: WorkflowProcessInstance(), because if I try to cancel it, the project works; if I wanted to compare a variable that an external usern gives me (and that I store in a variable of the process) with an Object User that I store in the session (like a little db... with ksession.insert(new User()).... how can I do? I thought that the only way to take variable from process was with "$process: WorkflowProcessInstance()"

Reply to this message by going to Community

Start a new discussion in jBPM at Community

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

More information about the jboss-user mailing list