- The requirement is to access the process variables inside the custom implementation of
TaskClaimedEventis generated. By default the TaskClaimedEvent gives us
userIdit doesn't gives the Task object associated with it. Is there a way to retrieve the Task object from within the implementation of TaskEventListener?
- Additionally, while trying to fetch the associated Task object for the
taskIdin the DB from within the
TaskEventListenerimplementation it throws
NoEntityFoundexception. So is it like jBPM engine has not yet committed the Task record in the Task table while the
TaskClaimedEventhas been generated?
javax.persistence.NoResultException: No entity found for query
- JBoss Enterprise Business Rules Management System Platform (BRMS)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.