Thanks for the help. You are correct the variable in the controller was not
valid. This is what I have now that works:
<?xml version="1.0" encoding="UTF-8"?>
|
| <process-definition
| xmlns="urn:jbpm.org:jpdl-3.1" name="test2">
| <start-state name="BeginLogin">
| <transition name="toCheckForLock"
to="CheckForLockedAccount"></transition>
| </start-state>
| <end-state name="End"></end-state>
| <decision name="CheckForLockedAccount">
| <transition name="Account is locked"
to="AccountIsLocked"></transition>
| <transition name="Account is not locked" to="CheckPassword">
| <condition expression="#{contextInstance.variables['locked'] ==
'N'}"/>
| </transition>
| </decision>
| <node name="AccountIsLocked">
|
<script>executionContext.getContextInstance().setVariable("message","Is");</script>
| <transition name="toEnd" to="End"></transition>
| </node>
| <node name="CheckPassword">
|
<script>executionContext.getContextInstance().setVariable("message","Is
NOT");</script>
| <transition name="toEnd" to="End"></transition>
| </node>
| </process-definition>
Earnie!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3970976#3970976
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3970976
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user