[jboss-user] [jBPM] - Re: Accessing process variables in rule-task
leon_
do-not-reply at jboss.com
Wed Jun 1 17:13:44 EDT 2011
leon_ [http://community.jboss.org/people/leon_] created the discussion
"Re: Accessing process variables in rule-task"
To view the discussion, visit: http://community.jboss.org/message/608176#608176
--------------------------------------------------------------
The following rules do not seem to fire. I have included ksession.fireUntilHalt() in my procestest. Do I miss anything else?!
rule "regel_overheid"
ruleflow-group "RegelsRechtwijzer"
when
$proces : WorkflowProcessInstance()
$partij : String() from (String)$proces.getVariable("conflictpartij");
eval($partij == "overheid");
then
((WorkflowProcessInstance)kcontext.getKnowledgeRuntime().getProcessInstance($proces.getId())).setVariable("conflictpartij", "kantonrechter");
end
rule "debug_regel"
ruleflow-group "RegelsRechtwijzer"
#include attributes such as "salience" here...
when
$proces : WorkflowProcessInstance();
then
$proces.setVariable("conflictoplossing", "Kantonrechter");
update($proces);
end
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/608176#608176]
Start a new discussion in jBPM at Community
[http://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/20110601/7b67b301/attachment.html
More information about the jboss-user
mailing list