Maciej Swiderski [
https://community.jboss.org/people/swiderski.maciej] created the
discussion
"Re: Asynchronous service tasks and transactions"
To view the discussion, visit:
https://community.jboss.org/message/755732#755732
--------------------------------------------------------------
when instantiating your handler ensure that it will get access to knowledge session:
new YouHandlerImpl(ksession)
and then inside you handler, when it's done with processing use session to complete
work item:
session.getWorkItemManager().completeWorkItem(workItemId, result);
HTH
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/755732#755732]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]