[jboss-user] [jBPM] - custom nodes

Michael Wohlfart do-not-reply at jboss.com
Tue Aug 10 02:10:51 EDT 2010


Michael Wohlfart [http://community.jboss.org/people/mwohlf] replied to the discussion

"custom nodes"

To view the discussion, visit: http://community.jboss.org/message/556585#556585

--------------------------------------------------------------
> 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

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/556585#556585]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100810/3e1aad10/attachment.html 


More information about the jboss-user mailing list