Are there any tests, examples, documentation, wiki entries, forum entries, code comments, stickynotes, bathroom graffitti, or other sources of information on how to use CompositeCommand? If not, can someone illuminate me?
I can't find a darned thing.
My best guess from reading the code is that if the result of a command has a field with a name beginning with "previous", that is assignable from the result itself, and the next command has a field with the same "previous*" name, the result is copied into the "previous*" field on the subsequent command.
This doesn't make much sense to me, so I figure I must be confused again.
See Oct 11, 2006 at 11:23 in thread http://www.jboss.com/index.html?module=bb&op=viewtopic&t=90146&postdays=0&postorder=asc&start=30.
He thought it was buggy and thus hard to reverse-engineer!
I've JIRA'd this; see http://jira.jboss.com/jira/browse/JBPM-1056