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/620615#620615
--------------------------------------------------------------
Yes, that is right, except as I said it does not work.
I had Process Parameter "myContext" as an Object type and the fully qualified
class name "com.example.tdm.workflow.AClass".
I had WorkItem Parameter Mapping "myContext" and the fully qualified class name
"com.example.tdm.workflow.AClass".
When I enter my
|
| public void executeWorkItem(WorkItem workItem, WorkItemManager manager) { |
|
| AClass | aObject = (AClass)workItem.getParameter("myContext"); |
There is no aObject, it is null. So I figure I am doing something wrong.
Thx.
Ed
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/620615#620615]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]