4 Replies Latest reply on Nov 16, 2005 10:57 PM by gengshg

    <condition> in gpd

      hi.all
      In my Xml I have a decision and depending upon some condition I have to go to particular state. How do I provide condition using designer tool? I can type in xml and it works but when I use "&amp;&amp;" to AND two conditions it does not work. Is there a way to insert these conditions in designer so I dont have to type it?

        • 1. Re: <<condition>> in gpd

           

          "shijimeng" wrote:
          hi.all
          In my Xml I have a decision and depending upon some condition I have to go to particular state. How do I provide condition using designer tool? I can type in xml and it works but when I use "&&" to AND two conditions it does not work. Is there a way to insert these conditions in designer so I dont have to type it?


          • 2. Re: <condition> in gpd
            kukeltje

            Putting the full condition in a CDATA section should work. afaik, the test cases contain an example of this.

            • 3. Re: <condition> in gpd
              kukeltje

              btw... entering conditions without typing them? You mean via mindcontrol ;-)

              • 4. Re: <condition> in gpd
                gengshg

                jbpm graph is weak at scripting, but usually, condition should be simple, the best practise is calaulate the condition into some "resulting string",and then judge these simple flag to the relevant transition