2 Replies Latest reply on Apr 26, 2006 2:32 AM by tansdale

    type of node

    aamonten

      As I generate the process definition dynamically, I would like to know at the execution time what type of node the execution path is pointing at, so I can know if I am at a fork or not.
      Are there any way to know the type of node the execution path are at?

      regards
      Alejandro

        • 1. Re: type of node (STFF)
          kukeltje

          PLEASE, PLEASE, PLEASE, PLEASE, PLEASE, PLEASE, PLEASE, PLEASE, PLEASE, PLEASE

          Search This Fine Forum

          http://www.jboss.com/index.html?module=bb&op=viewtopic&t=78075

          It took me about one minute to find it, it took me 5 to write this response.

          5 minutes rounded of to the minumum of 1 hour I charge real customers (and NO, I'm not a JBoss employee) equals ?95.

          (I'm only kidding a little)

          • 2. Re: type of node
            tansdale

            there are tow way can accomplish it.

            1 you generate the process definition dynamically right. well you generate the process definition please keep the Fork refer to the Fork Object. when you want to check if the execution path if point to the Fork node, just compare with the refer object.

            2 using reflect to get the ojbect's Class and compare if the ojbect's Class if Fork. is Ok.