This content has been marked as final.
Show 3 replies
-
1. Re: How to configuration parameters with swimlane's assignme
handofdream Sep 1, 2005 10:45 PM (in response to kukeltje)I have seen "http://docs.jboss.com/jbpm/v3/userguide/jpdl.html#configurationofdelegations",but in the segment:
<assignment class="com.ld.delegation.DengjiSwimlane" config-type="field">
//
I cannot add my parameters with "<var1>varVaule<var1>"(not specigied in "jpdl3.0.xsd",cannot validation).
Can you give me a sample about above question,thank a lot. -
2. Re: How to configuration parameters with swimlane's assignme
boricuaterp Sep 2, 2005 12:47 AM (in response to kukeltje)Your class will look something like this...
package com.ld.delegation; public class DengjiSwimlane implements AssignmentHandler { // access specifiers can be private, default, protected or public private String var1; void assign( Assignable assignable, ExecutionContext executionContext ) { //Put your assignment code here... } }
Your process definition will have something like this...<assignment class="com.ld.delegation.DengjiSwimlane"> <var1>varVaule</var1> </assignment>
config-type="field" is the default (no need to put it in this case).
HTH
-- boricuaterp -
3. Re: How to configuration parameters with swimlane's assignme
kukeltje Sep 2, 2005 7:51 AM (in response to kukeltje)the var1 should be in another namespace..