JBoss Community

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

created by olddave in jBPM - View the full discussion

Tried that too.

 

AClass
myContext = (AClass)workItem.getParameter("myContext");

 

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

 

Maybe one of the developers could chip in at this point. The documentation that I have read simply does not cover this stuff, unless you want to edit xml

 

Ed

Reply to this message by going to Community

Start a new discussion in jBPM at Community