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

Activity

Show:
Michael Stover
May 6, 2016, 8:35 PM
Edited

Very strangely, the order of the sequenceFlow elements is affecting whether variables are available to tasks.

behaves differently from

This is related because the reason I'm trying to get the super execution process is to access variables.

Assignee

Joram Barrez

Reporter

Michael Stover

Labels

None

Components

Affects versions

Priority

High
Configure