[jboss-user] [jBPM] - Re: JBPM5.3 Result Mapping Issue + Getting Task Input Data

Ashley Fernandes do-not-reply at jboss.com
Tue Aug 28 07:14:14 EDT 2012


Ashley Fernandes [https://community.jboss.org/people/callingashley] created the discussion

"Re: JBPM5.3 Result Mapping Issue + Getting Task Input Data"

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

--------------------------------------------------------------
Hi Guys,
             Still stuck very badly with this have tried multiple ways
1. With a simple string type instead of a java POJO.
2. Tried with Human Task Persistence, (ON DB2)
3. Tried using LocalTaskService with LocalTaskService
4. Tried with complete() API  with ContentData using the latest ContentMarshallerContext
5. Tried with taskService.completeWithResults() API passing params1 map as the object.

Nothing worked so far.The Result variable is still getting printed as blank.

My Requirement is pretty simple
1. Persist Human Tasks data in DB2 (please check my attachment for the same ProcessTest.TestProcessClient())
2. Map the output of one task to the input of the next task. 
3. Integrate my app with JBPM with Java APIs, i do not want to use MINA/Hornet etc just simple LocalTaskService would be fine.

Added to this has a couple queries wrt Human Task
I understand its a Service, and in case we need to write our own impl of Human task , we would require to create our own handler and register it.
1. Whats the purpose of TaskServer? Do i need to write this for my requirements.
2. Using any Task API can i get the parameters of a running task?
3. Whats is the use of GenericHTWorkItemHandler, BlockingEventResponseHandler?


Thanks & Regards
Ashley
--------------------------------------------------------------

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

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/20120828/13fdbd9c/attachment.html 


More information about the jboss-user mailing list