How to grab the Container ID, Process ID, and Process Instance ID for a task from inside the Event Listener code.

Solution In Progress - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content