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"
when
$process: WorkflowProcessInstance()
$u: User(usern == "rosa")
then
System.out.println("Welcome Admin");
end
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
[
http://community.jboss.org/message/602018#602018]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]