Transient variables not ignored when process terminates

Description

Originally reported here
https://community.alfresco.com/thread/231660-getting-error-on-transient-variable-usage-in-activiti

Seems that when process instance variables of a terminating instance are deleted transient variables are not considered which causes ClassCastException (assumes all variables are of type VariableInstanceEntity).

Environment

None

Status

Assignee

Bassam Al-Sarori

Reporter

Bassam Al-Sarori

Labels

None

Sprint

Fix versions

Affects versions

6.0

Priority

High
Configure