Hey vtysh,
Well my usecase is actually quite simple, i just need global comments per process
instance, so any task user can add comments to the whole process instance. So when i
collect a users tasks per task i also collect the process instance comments for that task.
Therefore i decided to use the rootToken for this. The processes are actually quite simple
so no subprocesses branching etc etc. So i figured i could get away with how i did
things.. ;-)
Regards and thanks for your reply,
Leo
"vtysh" wrote : Oh, i am sorry, you didn't write anything about
jbpm-console. But all other recommendations are still actual. You need to find all process
instance tokens with the method findAllTokens(). Then iterate through tokens and get their
comments with the method token.getComments() and add all comments to some comments list
which will contain all process comments. For a knowledge whether the comment is related to
some task instance you can use expression comment.getTaskInstance()!=null
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4169476#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...