1 Reply Latest reply on Aug 10, 2010 2:09 AM by Michael Wohlfart

    custom nodes

    parvathy j a Newbie

      i dunno if im being too silly...but i would like 2 know about custom nodes...i read the userguide of jBPM4 and found that the custom node class implements ExternalActivityBehaviour where it waits for a signal...

      i would like 2 know

      -Why is it using ExternalActivityBehaviour interface???

      -Can custom node class  implement only ExternalActivityBehaviour??

      -How can custom nodes be used to create new user nodes??

      -is there any way 2 add new attributes for custom nodes??

       

       

      Thanks in advance

      Parvathy

        • 1. Re: custom nodes
          Michael Wohlfart Expert
          i dunno if im being too silly...but i would like 2 know about custom nodes...i read the userguide of jBPM4 and found that the custom node class implements ExternalActivityBehaviour where it waits for a signal...

          i would like 2 know

          -Why is it using ExternalActivityBehaviour interface???

          probably because this is where the signa() method is defined,

          do you think this is a problem?

          -Can custom node class  implement only ExternalActivityBehaviour??

          it's java - you can implement as many interfaces as you want with your class

          -How can custom nodes be used to create new user nodes??

          it's ment to implement new behaviour by the users of the API, but you still use the "custom" tag for it in your process definition

          -is there any way 2 add new attributes for custom nodes??

          I don't see a way to add attributes in the "custom" tag but you can set attributes in your implementation (java class) , see the user guide section 6.7.1