[jboss-user] [jBPM] - Re: Where is the built-in "task" parameter defined?

Maciej Swiderski do-not-reply at jboss.com
Fri May 10 01:35:41 EDT 2013


Maciej Swiderski [https://community.jboss.org/people/swiderski.maciej] created the discussion

"Re: Where is the built-in "task" parameter defined?"

To view the discussion, visit: https://community.jboss.org/message/817100#817100

--------------------------------------------------------------
In general this is the task instance that you are about to work on. So you should have access to all its data. Look at the Task class and you'll notice the relationship. Just so you know it uses expression language to access data instead of getters so that's you it's: task.descriptions instead of task.getDescriptions.

Then when you look at what  https://github.com/droolsjbpm/jbpm/blob/5.4.x/jbpm-human-task/jbpm-human-task-core/src/main/java/org/jbpm/process/workitem/wsht/AbstractHTWorkItemHandler.java#L87 HT work item handler does you'll notice that it is responsible for filling in such information - put comment into descriptions field.

HTH
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[https://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/20130510/a93621a9/attachment.html 


More information about the jboss-user mailing list