Details

    • Type: Bug Bug
    • Status: Ready for QA Ready for QA (View Workflow)
    • Priority: Normal Normal
    • Resolution: Unresolved
    • Component/s: SRD
    • Labels:
      None Labels
    • Customer:
      OMAN-Tel
    • Product:
      NEP

      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

        Activity

        Ayed Bada logged work - 05/Feb/26 12:00 AM
        • Time Spent:
          6 hours
           

          Investigate the root cause and fix that Non-Deterministic Behavior with new process instance

        Abdulrahman Dabboussi made changes -
        Field Original Value New Value
        Gantt Options Milestone (set to milestone: having a due date but zero effort)
        Planned Start 2026-02-12 24:00 (milestone: set planned start date to due date)
        Planned End 2026-02-12 24:00 (milestone: set planned end date to due date)
        Show
        Abdulrahman Dabboussi added a comment - srd log below https://mobinets-my.sharepoint.com/:u:/p/mohan_rathor/IQDJ39gVW4LxSqDMo8h89mkWATWPgBNJYbZtw_XClpD3e9I?e=juy6xq
        Khaled Khalil made changes -
        Assignee Khaled Khalil [ kkhalil ] Ayed Bada [ abada ]
        Abdulrahman Dabboussi made changes -
        Summary External Mail]RE: ATM312 Ramiz Ibri - Link Down - Request 2237 [External Mail]RE: ATM312 Ramiz Ibri - Link Down - Request 2237
        Hide
        Ayed Bada added a comment -

        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.

        Show
        Ayed Bada added a comment - 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.
        Ayed Bada made changes -
        Attachment SRD_FIXED_LINE.bpmn20.xml [ 127619 ]
        Ayed Bada made changes -
        Status Open Bug [ 10108 ] Dev Scheduled [ 10014 ]
        Ayed Bada made changes -
        Status Dev Scheduled [ 10014 ] Implementation in progress [ 10016 ]
        Ayed Bada made changes -
        Status Implementation in progress [ 10016 ] To Be Released [ 10400 ]
        Ayed Bada made changes -
        Remaining Estimate 0 minutes [ 0 ]
        Time Spent 6 hours [ 21600 ]
        Worklog Id 290794 [ 290794 ]
        Ayed Bada made changes -
        Baseline Start 2026-02-12 24:00 (set baseline based of initial work logging)
        Baseline End 2026-02-12 24:00 (set baseline based of initial work logging)
        Khaled Khalil made changes -
        Status To Be Released [ 10400 ] Ready for QA [ 10023 ]
        Assignee Ayed Bada [ abada ] Abdulrahman Dabboussi [ adabboussi ]
        Hide
        Abir Messaikeh added a comment -

        pending stress test on staging b4 apply new process on PROD

        Show
        Abir Messaikeh added a comment - pending stress test on staging b4 apply new process on PROD
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Bug Open Bug Dev Scheduled Dev Scheduled
        5h 30m 1 Ayed Bada 05/Feb/26 1:52 PM
        Dev Scheduled Dev Scheduled Implementation in progress Implementation in progress
        5s 1 Ayed Bada 05/Feb/26 1:52 PM
        Implementation in progress Implementation in progress To Be Released To Be Released
        6s 1 Ayed Bada 05/Feb/26 1:52 PM
        To Be Released To Be Released Ready for QA Ready for QA
        22m 58s 1 Khaled Khalil 05/Feb/26 2:15 PM
        Subversion JIRA

        Links Hierarchy

         Documentation

        Invalid license: EXPIRED

          People

          • Assignee:
            Abdulrahman Dabboussi
            Reporter:
            Abdulrahman Dabboussi
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Due:
              Created:
              Updated:
              Planned Start:
              Planned End:
              Actual Start:
              Date of Baselining:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 6 hours
              6h

                Drag and Drop