I'm just trying to pass a property into my Generic Assignement Handler.  
However the process does not deploy.  (If I take the property out it deploys 
fine)  Here is my code in my processdefinition.xml

  |  <assignment 
class="com.regutrack.rohsbud.assignment.GenericAssignmentHandler">
  |             <User_name>Compliance Manager</User_name>
  |          </assignment>
  | 
Here is my GenericAssignmentHandler

  | public class GenericAssignmentHandler implements AssignmentHandler {
  | 
  |     private static final long serialVersionUID = 1L;
  |     
  |     String User_name;
  | 
  |       public void assign(Assignable assignable, ExecutionContext 
executionContext) {
  |         assignable.setActorId("User_name");
  |       }
  | 
  |     }
  | 
I looked at the docs under Delegations here.  Seemed like the above should work
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=72818

I did get a little confused from this posting where the variable name declared 
in the Assignment Handler does not match exactly to the property tag.  (Its 
near the bottom of this posting)
http://docs.jboss.com/jbpm/v3/userguide/jpdl.html#delegation

Help, how do I get this to work?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3909842#3909842

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3909842


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to