How to grab the Container ID, Process ID, and Process Instance ID for a task from inside the Event Listener code.
Issue
I have an Event Listener code that implements TaskLifeCycleEventListener
I am implementing the method afterTaskAddedEvent(TaskEvent event) method.
I can get the Task ID from the event, but I need a way to grab the Container ID, Process ID, and Process Instance ID of that task.
I also need to get the Root Process Instance ID, not just the parent.
Environment
- Red Hat Process Automation manager
- 7.1.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.