How to access task variable in a TaskLifeCycleEventListener implementation in JBoss BPM Suite 6?
Issue
- How to access task variable in taskEventListener ?
- User implemented a
TaskLifeCycleEventListenerand would like to retrieve the input variables defined inBusiness Centralfor the Human Task while it was getting designed. How to retrieve the task properties, accessToken, refreshToken, etc in theTaskListener.afterTaskAddedEvent ()method of the customTaskLifeCycleEventListenerimplementation? - The above task properties can be retrieved using the REST API as shown below (which is used to retrieve the task data). But can it be done without the REST API?
http://localhost:8080/business-central/rest/task/content/{document-content-id}
Users would like to know if there is another way of retrieving the task data such as via the TaskEvent object since this object is the input argument for afterTaskAddedEvent() or somehow pass the ksession to the same method?
Environment
- Red Hat JBoss BPM Suite (BPM Suite)
- 6.1.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
