9 Replies Latest reply on Jul 16, 2007 7:05 AM by Ricardo Marques

    conditional transition behavior

    Ricardo Marques Novice

      hi guys

      here's my problem:

       <task-node name="confinuar">
       <task name="deseja continuar" swimlane="default">
       <controller>
       <variable name="decisao" access="read,write,required"></variable>
       </controller>
       </task>
       <transition name="t end" to="end">
       <condition>#{ contextInstance.variables.decisao == 'sim' }</condition>
       </transition>
       <transition name="repetir" to="decidir o destinatario">
       <condition>#{ contextInstance.variables.decisao != 'sim' }</condition>
       </transition>
       </task-node>
      


      While running the task instance i only get "repetir" on transitions list. Shouldn't I get a empty list to signal and then jbpm evaluates the transition? Or is something wrong with my conditions that could afect something?

      btw currently according some post i read, conditions support both beanshell and EL, but which is adviceable to use, since beanshell i guess it's more complete it should be used, but the greater part from the posts I read are EL.



      thanks in advance

        • 1. Re: conditional transition behavior
          Ronald van Kuijk Master

          no... that is (afaik) the case in a decision node... in a task node they are guarded transitions so this can be used in the gui to selectively show or not show transitions.

          So the behaviour you see is correct (should be documented somewhere)

          • 2. Re: conditional transition behavior
            Ricardo Marques Novice

            Ok, so I will try this behavior with a decision node.

            Guarded transitions, don't know the concept, could u explain please? don't find relevant information on that, even on the docs.

            • 3. Re: conditional transition behavior
              Ricardo Marques Novice

              Ok this is getting a weird behavior.

              If u use decision node like this:

              <decision name="decisao">
               <transition name="repetir" to="decidir o destinatario">
               #{ contextInstance.variables.decisao == 'sim' }
               </transition>
               <transition name="fim" to="end">
               #{ contextInstance.variables.decisao == 'nao' }
               </transition>
               </decision>
              


              It follow always the transition "repetir"

              I tried to change the order to see if the problem continues, the definition stays like this:

              <decision name="decisao">
               <transition name="fim" to="end">
               #{ contextInstance.variables.decisao == 'nao' }
               </transition>
               <transition name="repetir" to="decidir o destinatario">
               #{ contextInstance.variables.decisao == 'sim' }
               </transition>
              </decision>
              


              And on this case whatever the value of "decisao" the application breaks with a linkage error.

              Any idea?

              • 4. Re: conditional transition behavior
                Ronald van Kuijk Master

                first of all, ditch the contextInstance.variables.decisao in favour of just decisao. That should be enough.

                And what linkage error?

                Look at the testcases in the source for good working examples.

                Guarded transtions are transitions that are not always available. They are available to be taken depending on the outcome of the 'condition', just like in UML

                • 5. Re: conditional transition behavior
                  Ricardo Marques Novice

                  Ok, following your advice and looking at ruleFlow example, I change my definition to:

                  <decision name="decisao">
                   <transition name="repetir" to="decidir o destinatario">
                   <condition expression="#{ decisao == 'sim' }" />
                   </transition>
                   <transition name="fim" to="end">
                   <condition expression="#{ decisao == 'nao' }" />
                   </transition>
                   </decision>
                  


                  Still the problem continues, I also looked at http://www.jboss.com/index.html?module=bb&op=viewtopic&t=111763&postdays=0&postorder=asc&start=10

                  and because of that, I upgraded to jbpm 3.2.1, and still whatever the choice I make I always go the "repetir" transition.

                  now i'm running jbpm 3.2.1 + jboss 4.0.5 + mysql 5 + jdk 1.5

                  • 7. Re: conditional transition behavior
                    Ricardo Marques Novice

                     

                    "kukeltje" wrote:
                    http://jira.jboss.com/jira/browse/JBPM-443 ?


                    It's possible, but I replaced the BIT by TINYINT and the behavior is the same.

                    An update, if I choose "nao" on the first loop (yes, the process definition has a lopp) it triggers a Linkage Error, if on a later loop just simply doesn't evaluate.

                    Here's the error:

                    18:05:12,687 ERROR [STDERR] java.lang.LinkageError: loader constraints violated when linking javax/transaction/Synchronization class
                    18:05:12,687 ERROR [STDERR] at org.jbpm.db.JobSession.deleteJobsForProcessInstance(JobSession.java:208)
                    18:05:12,687 ERROR [STDERR] at org.jbpm.scheduler.db.DbSchedulerService.deleteTimersByProcessInstance(DbSchedulerService.java:54)
                    18:05:12,718 ERROR [STDERR] at org.jbpm.graph.exe.ProcessInstance.end(ProcessInstance.java:329)
                    18:05:12,718 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                    18:05:12,718 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                    18:05:12,718 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                    18:05:12,718 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
                    18:05:12,718 ERROR [STDERR] at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:147)
                    18:05:12,718 ERROR [STDERR] at org.jbpm.graph.exe.ProcessInstance$$EnhancerByCGLIB$$fd259333.end(<generated>)
                    18:05:12,718 ERROR [STDERR] at org.jbpm.graph.exe.Token.notifyParentOfTokenEnd(Token.java:331)
                    18:05:12,718 ERROR [STDERR] at org.jbpm.graph.exe.Token.end(Token.java:303)
                    18:05:12,718 ERROR [STDERR] at org.jbpm.graph.exe.Token.end(Token.java:253)
                    18:05:12,718 ERROR [STDERR] at org.jbpm.graph.node.EndState.execute(EndState.java:59)
                    18:05:12,718 ERROR [STDERR] at org.jbpm.graph.def.Node.enter(Node.java:318)
                    18:05:12,718 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                    18:05:12,718 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                    18:05:12,718 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                    18:05:12,718 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
                    18:05:12,718 ERROR [STDERR] at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:147)
                    18:05:12,718 ERROR [STDERR] at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$d3a7f6f4.enter(<generated>)
                    18:05:13,218 ERROR [STDERR] at org.jbpm.graph.def.Transition.take(Transition.java:151)
                    18:05:13,218 ERROR [STDERR] at org.jbpm.graph.def.Node.leave(Node.java:393)
                    18:05:13,218 ERROR [STDERR] at org.jbpm.graph.exe.ExecutionContext.leaveNode(ExecutionContext.java:136)
                    18:05:13,218 ERROR [STDERR] at org.jbpm.graph.node.Decision.execute(Decision.java:152)
                    18:05:13,218 ERROR [STDERR] at org.jbpm.graph.def.Node.enter(Node.java:318)
                    18:05:13,218 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                    18:05:13,718 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                    18:05:13,718 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                    18:05:13,718 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
                    18:05:13,718 ERROR [STDERR] at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:147)
                    18:05:13,718 ERROR [STDERR] at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$d3a7f6f4.enter(<generated>)
                    18:05:13,718 ERROR [STDERR] at org.jbpm.graph.def.Transition.take(Transition.java:151)
                    18:05:13,718 ERROR [STDERR] at org.jbpm.graph.def.Node.leave(Node.java:393)
                    18:05:13,718 ERROR [STDERR] at org.jbpm.graph.node.TaskNode.leave(TaskNode.java:209)
                    18:05:13,718 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                    18:05:13,718 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                    18:05:13,718 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                    18:05:13,718 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
                    18:05:13,718 ERROR [STDERR] at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:147)
                    18:05:13,718 ERROR [STDERR] at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$d3a7f6f4.leave(<generated>)
                    18:05:13,718 ERROR [STDERR] at org.jbpm.graph.exe.Token.signal(Token.java:194)
                    18:05:13,718 ERROR [STDERR] at org.jbpm.graph.exe.Token.signal(Token.java:139)
                    18:05:13,718 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                    18:05:14,218 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                    18:05:14,218 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                    18:05:14,218 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
                    18:05:14,218 ERROR [STDERR] at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:147)
                    18:05:14,218 ERROR [STDERR] at org.jbpm.graph.exe.Token$$EnhancerByCGLIB$$80369d88.signal(<generated>)
                    18:05:14,218 ERROR [STDERR] at org.jbpm.taskmgmt.exe.TaskInstance.end(TaskInstance.java:476)
                    18:05:14,218 ERROR [STDERR] at org.jbpm.taskmgmt.exe.TaskInstance.end(TaskInstance.java:390)
                    18:05:14,218 ERROR [STDERR] at org.jbpm.command.TaskInstanceEndCommand.execute(TaskInstanceEndCommand.java:70)
                    18:05:14,718 ERROR [STDERR] at com.pep.workflow.console.beans.JBPMEngine.execute(JBPMEngine.java:130)
                    18:05:14,718 ERROR [STDERR] at com.pep.workflow.console.beans.Form.submit(Form.java:128)
                    18:05:14,718 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                    18:05:14,718 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                    18:05:14,718 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                    18:05:14,718 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
                    18:05:14,718 ERROR [STDERR] at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:129)
                    
                    18:05:15,218 ERROR [STDERR] at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63)
                    18:05:15,218 ERROR [STDERR] at javax.faces.component.UICommand.broadcast(UICommand.java:106)
                    18:05:15,218 ERROR [STDERR] at javax.faces.component.UIData.broadcast(UIData.java:513)
                    18:05:15,218 ERROR [STDERR] at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:94)
                    18:05:15,218 ERROR [STDERR] at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:168)
                    18:05:15,218 ERROR [STDERR] at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:343)
                    
                    18:05:15,718 ERROR [STDERR] at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
                    18:05:15,718 ERROR [STDERR] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
                    18:05:15,718 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                    18:05:15,718 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                    18:05:15,718 ERROR [STDERR] at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
                    18:05:15,718 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                    18:05:15,718 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                    18:05:16,218 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                    18:05:16,218 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                    18:05:16,218 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                    18:05:16,218 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
                    18:05:16,218 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
                    18:05:16,218 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
                    18:05:16,718 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
                    18:05:16,718 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
                    18:05:16,718 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
                    18:05:16,718 ERROR [STDERR] at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
                    18:05:16,718 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
                    18:05:16,718 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
                    18:05:16,718 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
                    18:05:17,218 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
                    18:05:17,218 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
                    18:05:17,218 ERROR [STDERR] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
                    18:05:17,218 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
                    
                    


                    • 8. Re: conditional transition behavior
                      Ricardo Marques Novice

                      here's some info from the log:

                      11:02:38,218 DEBUG [Printer] listing entities:
                      11:02:38,218 DEBUG [Printer] org.jbpm.graph.node.TaskNode{signal=4, events=[], action=null, leavingTransitions=[org.jbpm.graph.def.Transition#278], isAsyncExclusive=false, superState=null, tasks=<uninitialized>, createTasks=true, id=288, processDefinition=org.jbpm.graph.def.ProcessDefinition#81, isAsync=false, endTasks=false, description=null, exceptionHandlers=<uninitialized>, name=confinuar, arrivingTransitions=<uninitialized>}
                      11:02:38,718 DEBUG [Printer] org.jbpm.graph.def.ProcessDefinition{startState=org.jbpm.graph.def.Node#291, events=[], definitions=<uninitialized>, actions=<uninitialized>, description=null, nodes=<uninitialized>, exceptionHandlers=<uninitialized>, isTerminationImplicit=false, name=notificacao, id=81, version=25}
                      11:02:38,718 DEBUG [Printer] org.jbpm.taskmgmt.exe.TaskMgmtInstance{processInstance=org.jbpm.graph.exe.ProcessInstance#370, taskMgmtDefinition=org.jbpm.taskmgmt.def.TaskMgmtDefinition#201, taskInstances=[org.jbpm.taskmgmt.exe.TaskInstance#353, org.jbpm.taskmgmt.exe.TaskInstance#354], swimlaneInstances=<uninitialized>, id=605, version=1}
                      11:02:39,218 DEBUG [Printer] org.jbpm.context.def.VariableAccess{access=read,write,required, mappedName=null, variableName=decisao, id=306}
                      11:02:39,218 DEBUG [Printer] org.jbpm.graph.def.Transition{to=org.jbpm.graph.def.Node#292, events=[], description=null, from=org.jbpm.graph.def.Node#288, exceptionHandlers=<uninitialized>, condition=null, name=, id=278, processDefinition=org.jbpm.graph.def.ProcessDefinition#81}
                      11:02:39,218 DEBUG [Printer] org.jbpm.graph.node.Decision{events=[], action=null, leavingTransitions=[org.jbpm.graph.def.Transition#281, org.jbpm.graph.def.Transition#282], isAsyncExclusive=false, superState=null, decisionConditions=[], id=292, processDefinition=org.jbpm.graph.def.ProcessDefinition#81, isAsync=false, description=null, decisionDelegation=null, decisionExpression=null, exceptionHandlers=<uninitialized>, name=decisao, arrivingTransitions=<uninitialized>}
                      11:02:39,718 DEBUG [Printer] org.jbpm.graph.exe.ProcessInstance{key=null, start=2007-07-16 10:44:11, instances=[org.jbpm.module.exe.ModuleInstance#605, org.jbpm.module.exe.ModuleInstance#606], runtimeActions=[], isSuspended=false, end=2007-07-16 11:02:20, superProcessToken=null, rootToken=org.jbpm.graph.exe.Token#370, id=370, processDefinition=org.jbpm.graph.def.ProcessDefinition#81, version=1}
                      11:02:39,718 DEBUG [Printer] org.jbpm.graph.def.Transition{to=org.jbpm.graph.def.Node#289, events=[], description=null, from=org.jbpm.graph.def.Node#292, exceptionHandlers=<uninitialized>, condition=#{ decisao == 'nao' }, name=fim, id=282, processDefinition=org.jbpm.graph.def.ProcessDefinition#81}
                      11:02:40,218 DEBUG [Printer] org.jbpm.taskmgmt.exe.TaskInstance{comments=<uninitialized>, processInstance=org.jbpm.graph.exe.ProcessInstance#370, isBlocking=false, start=null, variableInstances=[org.jbpm.context.exe.VariableInstance#1074], taskMgmtInstance=org.jbpm.taskmgmt.exe.TaskMgmtInstance#605, isSuspended=false, isOpen=false, end=2007-07-16 11:01:46, swimlaneInstance=org.jbpm.taskmgmt.exe.SwimlaneInstance#217, dueDate=null, token=org.jbpm.graph.exe.Token#370, pooledActors=<uninitialized>, id=354, version=1, actorId=grover, isSignalling=false, create=2007-07-16 10:56:57, description=null, isCancelled=false, task=org.jbpm.taskmgmt.def.Task#125, name=deseja continuar, priority=3}
                      11:02:40,718 DEBUG [Printer] org.jbpm.graph.node.EndState{events=[], action=null, leavingTransitions=<uninitialized>, isAsyncExclusive=false, superState=null, id=289, processDefinition=org.jbpm.graph.def.ProcessDefinition#81, isAsync=false, description=null, endCompleteProcess=null, exceptionHandlers=<uninitialized>, name=end, arrivingTransitions=<uninitialized>}
                      11:02:40,718 DEBUG [Printer] org.jbpm.context.exe.variableinstance.StringInstance{processInstance=org.jbpm.graph.exe.ProcessInstance#370, value=rtyrty, tokenVariableMap=org.jbpm.context.exe.TokenVariableMap#155, converter=null, token=org.jbpm.graph.exe.Token#370, name=tipo, id=1073, version=0}
                      11:02:41,218 DEBUG [Printer] org.jbpm.taskmgmt.def.TaskMgmtDefinition{swimlanes=<uninitialized>, startTask=null, tasks=<uninitialized>, name=org.jbpm.taskmgmt.def.TaskMgmtDefinition, id=201, processDefinition=org.jbpm.graph.def.ProcessDefinition#81}
                      11:02:41,218 DEBUG [Printer] org.jbpm.taskmgmt.exe.TaskInstance{comments=<uninitialized>, processInstance=org.jbpm.graph.exe.ProcessInstance#370, isBlocking=false, start=null, variableInstances=<uninitialized>, taskMgmtInstance=org.jbpm.taskmgmt.exe.TaskMgmtInstance#605, isSuspended=false, isOpen=false, end=2007-07-16 10:56:42, swimlaneInstance=org.jbpm.taskmgmt.exe.SwimlaneInstance#217, dueDate=null, token=org.jbpm.graph.exe.Token#370, pooledActors=<uninitialized>, id=353, version=2, actorId=grover, isSignalling=false, create=2007-07-16 10:44:38, description=null, isCancelled=false, task=org.jbpm.taskmgmt.def.Task#126, name=inserir destinatario, priority=3}
                      11:02:41,718 DEBUG [Printer] org.jbpm.graph.exe.Token{comments=<uninitialized>, processInstance=org.jbpm.graph.exe.ProcessInstance#370, subProcessInstance=null, start=2007-07-16 10:44:10, isSuspended=false, end=2007-07-16 11:02:19, node=org.jbpm.graph.def.Node#289, id=370, version=2, nextLogIndex=30, lock=null, name=null, isTerminationImplicit=false, children=[], parent=null, isAbleToReactivateParent=false, nodeEnter=2007-07-16 11:02:19}
                      11:02:41,718 DEBUG [Printer] org.jbpm.context.exe.variableinstance.NullInstance{processInstance=org.jbpm.graph.exe.ProcessInstance#370, tokenVariableMap=null, converter=null, token=org.jbpm.graph.exe.Token#370, name=decisao, id=1074, version=0}
                      11:02:42,218 DEBUG [Printer] org.jbpm.context.exe.TokenVariableMap{variableInstances=[org.jbpm.context.exe.VariableInstance#1072, org.jbpm.context.exe.VariableInstance#1075, org.jbpm.context.exe.VariableInstance#1073], token=org.jbpm.graph.exe.Token#370, contextInstance=org.jbpm.context.exe.ContextInstance#606, id=155, version=1}
                      11:02:42,218 DEBUG [Printer] org.jbpm.context.exe.variableinstance.StringInstance{processInstance=org.jbpm.graph.exe.ProcessInstance#370, value=nao, tokenVariableMap=org.jbpm.context.exe.TokenVariableMap#155, converter=null, token=org.jbpm.graph.exe.Token#370, name=decisao, id=1075, version=0}
                      11:02:42,718 DEBUG [Printer] org.jbpm.context.exe.variableinstance.StringInstance{processInstance=org.jbpm.graph.exe.ProcessInstance#370, value=tyrety, tokenVariableMap=org.jbpm.context.exe.TokenVariableMap#155, converter=null, token=org.jbpm.graph.exe.Token#370, name=destinatario, id=1072, version=0}
                      11:02:42,718 DEBUG [Printer] org.jbpm.taskmgmt.def.TaskController{taskControllerDelegation=null, variableAccesses=[org.jbpm.context.def.VariableAccess#306], id=123}
                      11:02:42,718 DEBUG [Printer] org.jbpm.taskmgmt.def.Task{swimlane=org.jbpm.taskmgmt.def.Swimlane#36, assignmentDelegation=null, startState=null, events=[], isBlocking=false, dueDate=null, taskMgmtDefinition=org.jbpm.taskmgmt.def.TaskMgmtDefinition#201, pooledActorsExpression=null, condition=null, id=125, processDefinition=org.jbpm.graph.def.ProcessDefinition#81, taskNode=org.jbpm.graph.node.TaskNode#288, isSignalling=true, description=null, actorIdExpression=null, exceptionHandlers=<uninitialized>, taskController=org.jbpm.taskmgmt.def.TaskController#123, name=deseja continuar, priority=3}
                      11:02:43,218 DEBUG [Printer] org.jbpm.graph.def.Transition{to=org.jbpm.graph.def.Node#290, events=<uninitialized>, description=null, from=org.jbpm.graph.def.Node#292, exceptionHandlers=<uninitialized>, condition=#{ decisao == 'sim' }, name=repetir, id=281, processDefinition=org.jbpm.graph.def.ProcessDefinition#81}
                      11:02:43,218 DEBUG [Printer] more......
                      
                      


                      I continue with the same behavior, help?

                      • 9. Re: conditional transition behavior
                        Ricardo Marques Novice

                        an update:

                        kukeltje, i don't think that the problem comes from bug jbpm-443, since the fields as bit have values, on the bug description is says that the fiekds had an empty string not the case here.

                        Another thing on the database, jbpm_decisionconditions is empty, and on jbpm_node the record that matches the decision node has all the fields empty except id, class, name, description, processdefinition, nodecollectionindex, isasync and isasyncexcl, don't know if that's usual.