olddave [http://community.jboss.org/people/olddave] created the discussion

"Re: Unclear on how to get a Process param into my WorkItem"

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

--------------------------------------------------------------
I tried that. So in my Process parameters definition in the property sheet for 
the Process I entered 
myContext as an Object type and the fully qualified class name. 

Then in the "Parameter Mapping" section of my custom WorkItem I put the same 
"Parameter" name "myContext" and the fully qualified class name again in the 
"Variable" part. 

I get this

Caused by: java.lang.ClassCastException: java.lang.Class cannot be cast to 
com.example.tdm.AClass

Ed
--------------------------------------------------------------

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

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

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to