4 Replies Latest reply on Jan 30, 2007 8:43 AM by koen.aers

    Configuring Decision node with Process Designer

    myarrow

      Hello jBPM community

      Please point me to documetation which describes how to
      use the Process Designer to configure a Decision node.
      In particular, is there an example showing how to use a
      Decision node to test and branch depending on either
      a string value or an arithmetic value.

      Maurice Yarrow
      SplashNote Systems

        • 1. Re: Configuring Decision node with Process Designer
          koen.aers

          Maurice,

          This functionality is on the way. It will only be implemented in the 3.1.x branch of the GPD. Have a look in JIRA for the schedule.

          Regards,
          Koen

          • 2. Re: Configuring Decision node with Process Designer
            myarrow

            Hello Koen

            I presume you are referring to http://jira.jbpss.com/jira/browse/GPE-45.
            Am I correct in assuming that this means that the JPDL Designer 3.1.0
            alpha1 does not support visual configuration of Decision node (I tried it,
            and no, unless I am not doing it correctly, it does not) but that
            JPDL Designer 3.1.0 alpha2 will support visual configuration of a
            Decision node ?

            Also, can I manually edit the processdesigner.xml and add conditions
            to the Decision node - or to the transitions out of the Decision node.
            Will this enable branching ? Or is branching on condition not enabled ?
            (This is still not clear to me, as I have been unable to find any
            appropriate processdefinition.xml example - if such exist, could someone
            please send me an exact link or the exact filename in the appropriate
            release.)

            Would this be correct: ( ? )

             <decision name="evaluateGuess"
             expression="#numberGuess.correctGuess}">
             <transition name="true" to="win"/>
             <transition name="false" to="evaluateRemainingGuesses"/>
             </decision>
            


            or, say,

             <decision name="decision-x">
             <transition name="t1" to="node-a" />
             <transition name="t2" to="node-b">
             <condition expression="#{...}" />
             </transition>
             </decision>
            


            Maurice Yarrow
            SplashNote Systems


            • 3. Re: Configuring Decision node with Process Designer
              myarrow

              Hello Koen

              OK, I found the
              jbpm-jpdl-suite-3.2.Beta1/examples/ruleFlow/src/main/jpdl/InsuranceRuleFlow/processdefinition.xml example. If that works, then that is the decision model
              that I sought.

              Maurice

              • 4. Re: Configuring Decision node with Process Designer
                koen.aers

                Hi Maurice,

                Glad you found an answer. And yes, the decision configuration and condition configuration on transitions will be possible soon... Hopefully in 3.1.0.alpha2.

                Regards,
                Koen