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

olddave do-not-reply at jboss.com
Thu Aug 11 09:11:42 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/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&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110811/1ad48cf5/attachment.html 


More information about the jboss-user mailing list