[LS-922] [External Mail]RE: ATM312 Ramiz Ibri - Link Down - Request 2237 Created: 05/Feb/26  Updated: 03/Apr/26  Due: 12/Feb/26

Status: Ready for QA
Project: L3 Support
Component/s: SRD
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: Abdulrahman Dabboussi Assignee: Abdulrahman Dabboussi
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: 0 minutes
Time Spent: 6 hours
Original Estimate: Not Specified

Attachments: XML File SRD_FIXED_LINE.bpmn20.xml    
Customer:
OMAN-Tel
Planned Start:
Planned End:
Product: NEP
Actual Start:
Date of Baselining:

 Description   

We found this exception for 2237 request. Please check and advise.
Cause: java.sql.SQLIntegrityConstraintViolationException: ORA-02291: integrity constraint (SRD_PROD.ACT_FK_EXE_SUPER) violated - parent key not found



 Comments   
Comment by Abdulrahman Dabboussi [ 05/Feb/26 ]

srd log below

https://mobinets-my.sharepoint.com/:u:/p/mohan_rathor/IQDJ39gVW4LxSqDMo8h89mkWATWPgBNJYbZtw_XClpD3e9I?e=juy6xq

Comment by Ayed Bada [ 05/Feb/26 ]

Following our analysis of the recent failures , we have identified the root cause and implemented a corrective solution. Please find the details below.
Root Cause
The issue was caused by a concurrency behavior related to Flowable’s asynchronous execution. Specifically, the use of completeAsync="true" on the Feasibility Acceptance subprocess could, under certain conditions, allow the subprocess to start before the parent execution was fully committed in the database, resulting in an Oracle integrity constraint violation (ORA-02291).
Non-Deterministic Behavior
This behavior is non-deterministic and does not occur for all process instances. It typically manifests under high server load or when multiple process instances are executed in parallel, depending on thread scheduling and transaction timing.
Solution Implemented
In the new version of the process, we have removed completeAsync="true" from the Feasibility Acceptance subprocess. This change ensures that the subprocess starts only after all parent executions and preceding call activities have been fully completed, thereby preventing the ORA-02291 error.
All other call activities remain asynchronous in order to maintain optimal performance.
For the production-related request, we performed a “Start Over”, and the requests completed successfully following the happy path without uploading the new BPMN.
Since this issue occurs only under load conditions, we kindly recommend deploying the updated process to the staging environment and conducting a stress test. While the fix is theoretically sound, this additional validation will help confirm the stability and robustness of the solution.

Comment by Abir Messaikeh [ 03/Apr/26 ]

pending stress test on staging b4 apply new process on PROD

Generated at Fri Apr 17 10:59:13 EEST 2026 using JIRA 6.1.4#6159-sha1:44eaedef2e4a625c6c7183698b2468d4719c20dc.