My Oracle Support Banner

While Loop of In-Flight Instances Cannot be Resumed Following an Upgrade with ERROR: "ORABPEL-02118 Variant not found. The variable "__loopCondition" is not declared in the current scope" (Doc ID 1451018.1)

Last updated on OCTOBER 13, 2021

Applies to:

Oracle SOA Suite - Version to [Release 11gR1]
Oracle Business Process Management Suite - Version and later
Information in this document applies to any platform.


You have multiple process instances in-flight during an upgrade from (or earlier versions). 

After the upgrade, these type of in-flight instances cannot be resumed. 

When you try to resume those instances, the audit trail shows:

The transaction was rolled back. The work performed for bpel instance "xxx" was rolled back to the previous dehydration point, but the audit trail has been saved.You can recover the instance from the recovery console by resubmitting the callback message or activity for execution.


The log files show:




 Starting in version, a new internal variable CubeEngineDefs.SCOPE_VAR_loop_condition was introduced (declared in the BPELWhileBlock). 


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.