Thanks for your reply!
Right now, i take the first methord. And by the way, i have to know the workItem ID, isn't it? But how to know?
i readed some examples, including your supply! i find that WorkItemManager.completeWorkItem() is used in the same testCase. In another testCase, how to get the workItem, or how to complete the workdItem?
WIth the second method, it takes C/S mode. When the jbpm is self-governed, it is userful, isn't it? But at this time, how to manage the transaction?
Looking forward to your reply!
Thanks!