getSuperExecutionId() returns an id that is not valid

Description

When running through a parallelGateway fork, with async=true on one of the next tasks, the task that runs from the new thread can call execution.getSuperExecutionId() and then query the Activiti database to retrieve information about the parent process, but the id returned by execution.getSuperExecutionId() is not found in the Activiti database. As a result, the following call returns null:

Environment

Windows

Status

Assignee

Joram Barrez

Reporter

Michael Stover

Labels

None

Components

Affects versions

5.19

Priority

High
Configure