[jboss-user] [JBoss jBPM] - Re: Getting comments through command object ?

vtysh do-not-reply at jboss.com
Fri Aug 8 03:17:31 EDT 2008


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=4169474#4169474

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4169474



More information about the jboss-user mailing list