This content has been marked as final.
Show 3 replies
-
1. Re: Task Variables
swiderski.maciej Nov 24, 2014 11:56 AM (in response to zmor)taskService.getTaskContent to get data inputs of a task.
for task output you would need to create command based on GetTaskContentCommand to get the data and use it via execute method of task service. in 6.2 it will be provided as part of the services.
HTH
-
2. Re: Task Variables
dosten Nov 24, 2014 6:01 PM (in response to zmor)1 of 1 people found this helpfulLooks like 6.2 will have a Definition service to make this easier.
http://mswiderski.blogspot.com/2014/11/cross-framework-services-in-jbpm-62.html
-
3. Re: Task Variables
zmor Nov 25, 2014 7:47 AM (in response to swiderski.maciej)Thanks guys,
Maciej, you're helpful as always. I extend GetTaskContentCommand and with contentService.getContentById(taskById.getTaskData().getOutputContentId()) it works fine.
Best Regards,
KM