7 Replies Latest reply on Oct 17, 2006 7:04 AM by Francisco Javier Fernández González

    Problems with conditions in transactions

    Francisco Javier Fernández González Newbie

      Hi everyone, i'm newbie with jbpm and i need your help with a problem. I'm trying to use conditions in a decission node using the value of one of the variable of the process. My decission node:

      [decision name="Decidir"]
      [transition name="Tr1" to="Nodo1" ]
      [condition]!v.equals("10")[/condition]
      [/transition]
      [transition name="Tr2" to="Nodo2"]
      [condition]v.equals("10")[/condition]
      [/transition]
      [/decision]

      The problem is that despite of value of variable "v" is "10", allways transaction "Tr1" is taken. It doesn't matter the value of "v". And this problem happens with any type of variable, string, numeric, date...

      Can anyone help me, please?

      Thanks in advance and regards