[jboss-user] [jBPM] - Re: Unclear on how to get a Process param into my WorkItem

olddave do-not-reply at jboss.com
Wed Aug 10 13:26:25 EDT 2011


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]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110810/e6d598e3/attachment-0001.html 


More information about the jboss-user mailing list