4 Replies Latest reply on Aug 11, 2006 9:53 PM by kukeltje

    <condition> tag on <transition>

    xiaolong974

      I'm completly new at Jbpm

      I used a decision nodType and apply a condition on each transition resulting from the decision.

      So I used the following syntax

      materiel_garantie = "oui"


      The app does deploy correctly. But when I click on : Save and close button (default button of the Jbpm webapp), the task close, but the process doesn't cntinue.

      Wondering if my syntax is correct or not.

      I tryed looking in this forum, on http://docs.jboss.org/jbpm/xsd/jpdl-3.1.xsd,
      the Jbpm user guide .... but can't find the information. ....

      any ideas ?

      thx thx

      St

        • 1. Re: <condition> tag on <transition>
          xiaolong974

          Actually the problem is more basic :

          I don't know how to work with the condition nodType

          how to write condition ona transition could be a good first exp ^^

          thx thx : )

          • 2. Re: <condition> tag on <transition>
            kukeltje

            - Did you look at the examples as well?
            - You did look at the forum, but did you searched it?
            - Do you get an error?
            - what version of jBPM are you using?
            - Use preview to see if your post is correct (use code tags)

            I'm sure the first two items in my reply will help you out.

            • 3. Re: <condition> tag on <transition>
              xiaolong974

              I'm using a startkit : \jbpm-starters-kit-3.1
              I"ve looked into the files contained in : jbpm\src\java.examples
              \jbpm\src

              I also looked at the websale example.

              Currently, my decision nodType just a task_variable. I inserted the following code : ${waranty} = "yes" between condition tag of the transition tag ...

              Is my syntax false ?

              Whatever the value of the waranty variable, the decision nodType keeps on create the sametask :s ....

              About the search on this forum, I used the "Search" function (http://www.jboss.com/index.html?module=bb&op=search) using these keywords : "decision nodType" / "decision AND nodType" / condition AND syntax

              • 4. Re: <condition> tag on <transition>
                kukeltje

                nodType? Wrong spelling and probably an uncommon word (to uncommon)

                I'd go for "decision AND condition" or "transition AND condition" Cause THAT IS what you are using.