100% found this document useful (2 votes)
391 views

OIC ExceptionHandling RecoveryFlow POC

This document summarizes a proof of concept demonstrating integration flow and fault recovery in Oracle Integration Cloud. The POC involved three integrations - a parent integration that extracted cost center data, a child integration that received the data and invoked an SAP API, and a REST API called by the child. Initially, the parent succeeded but the child failed due to the REST API being inactive. After manually resubmitting the child integration twice and activating the REST API, the child integration succeeded on the third attempt. The POC validated Oracle Integration Cloud's ability to recover from asynchronous integration failures through resubmission.

Uploaded by

chandru
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (2 votes)
391 views

OIC ExceptionHandling RecoveryFlow POC

This document summarizes a proof of concept demonstrating integration flow and fault recovery in Oracle Integration Cloud. The POC involved three integrations - a parent integration that extracted cost center data, a child integration that received the data and invoked an SAP API, and a REST API called by the child. Initially, the parent succeeded but the child failed due to the REST API being inactive. After manually resubmitting the child integration twice and activating the REST API, the child integration succeeded on the third attempt. The POC validated Oracle Integration Cloud's ability to recover from asynchronous integration failures through resubmission.

Uploaded by

chandru
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

Oracle Integration Cloud

PROOF OF CONCEPT (POC)


Parent/Child Integration Flow
and Fault Recovery
User-Managed OIC Version: 19.1.3.0.0 (190129.1200.23460)
POC by Moon Ray Lo
POC Date – February 05-06, 2019
3 Integrations Involved: Parent, Child & GetChildRunID REST-API called by the Child
3 Assumptions Involved:
- Oracle ERP Cloud CostCentre Data Extraction in Parent Integration succeeded with 1 CostCentre retrieved
(CostCentre 987654321) and mapped as Child Integration’s Input Data
- SAP-BAPI is available upon transmission in Child Integration
- Email Notification is triggered successfully in Child Integration with SAP Transmission Status

Child
ACTIVATED
Integration

GetChildRunID
INACTIVE
REST-API

Parent
ACTIVATED
Integration
FULL INTEGRATION FLOW ERROR INSTANCE
- Parent Integration calling Child CHILD_INTEGRATION
Integration
- Child Integration invoking inactive
START
GetChildRunID REST-API
- Parent Instance Succeed, Child SUCCESS
Instance Failed (recoverable) Receive_Input
(CostCentre Data from Parent)
SUCCESS INSTANCE
PARENT_INTEGRATION
SUCCESS Resubmit?
START Invoke_SAP-BAPI
NO
YES
SUCCESS
SUCCESS
Get_CostCentre_ExtractData
Email_Success
Error Stuck
SUCCESS ERROR in OIC Error
(Unavailable) Hospital
Invoke_ChildIntegration
(CostCentre Data to Child) Invoke_REST-API
(GetChildRunID)

END
END
The Parent Instance Completed and Child Instance Failed (Recoverable Error)

The Child Instance was manually resubmitted TWICE for recovery attempt, but still in ERROR
Data Transmission to SAP happened 3 TIMES after 2 RESUBMISSION: 3 SAP-Success Emails after 2 RESUBMISSION:
- (1st Transmission) Original/First Run - (1st Email) Original/First Run
- (2nd Transmission) 1st Resubmission/Recovery Attempt - (2nd Email) 1st Resubmission/Recovery Attempt
- (3rd Transmission) 2nd Resubmission/Recovery Attempt - (3rd Email) 2nd Resubmission/Recovery Attempt

Error still persist as GetChildRunID REST-API is still Inactive


GetChildRunID REST-API is now ACTIVE

GetChildRunID
REST API

Child
Integration

Parent
Integration
Error removed/recovered from OIC Error Hospital after 3rd Resubmission/Recovery Attempt

Child Instance is now COMPLETED (GetChildRunID REST-API executed & completed also)

Child Instance

GetChildRunID
REST API Instance

Parent
Instance
Data Transmission to SAP happened 4 TIMES after 2 RESUBMISSION: 4 SAP-Success Emails after 2 RESUBMISSION:
- Original/First Run (Error) - Original/First Run (Error)
- 1st Resubmission/Recovery Attempt (Error) - 1st Resubmission/Recovery Attempt (Error)
- 2nd Resubmission/Recovery Attempt (Error) - 2nd Resubmission/Recovery Attempt (Error)
- 3rd Resubmission/Recovery Attempt (Success) - 3rd Resubmission/Recovery Attempt (Success)

SENSITIVE DATA
FINDINGS
- As per OIC Documentation (https://docs.oracle.com/en/cloud/paas/integration-
cloud/integrations-user/managing-errors.html#GUID-DE08E9CE-67F8-4528-BD80-
48EBF4F0D0E1):

- Resubmitting a failed message starts the integration from the beginning.


[ Moon 06/02/2019: This is VALID as the POC showed SAP Transmission & Email Notification
happened in every resubmission/recovery attempt, which are prior from the point of failure ]

- All faulted instances in asynchronous flows in Oracle Integration are recoverable and can be
resubmitted.
[ Moon 06/02/2019: This is VALID as the POC showed that the Child Integration having Asynchronous
Flow has resubmission/recovery attempt option ]

- Synchronous flows CANNOT be resubmitted.


[ Moon 06/02/2019: This is VALID as prior this current POC Design Flow, the Child
Integration was designed as Synchronous Flow, which should return the Status to the Parent
BUT was found as non-recoverable as shown below from OIC ErrorRecovery REST-API:
FINDINGS
- You can resubmit errors in the following ways: Single failed message resubmissions & Bulk
failed message resubmissions.
[ Moon 06/02/2019: The single resubmission is valid as shown in this POC. Bulk
resubmission not included in this POC]

- Error instances that are resubmitted and successfully resolved are removed from the error
list.
[ Moon 06/02/2019: This is valid as shown in this POC, when the GetChildRunID REST-API
was activated and child instance resubmitted/recovered successfully and this instance is
removed from the OIC Error Hospital ]

- If an instance is resubmitted and is in progress, a state of In Progress is displayed in the list


and during this state, additional resubmittals of this error instance are not permitted.
[ Moon 06/02/2019: Not included in this POC. ]

- DO NOT DISCARD a message that you want to resubmit. A discarded message cannot be
resubmitted.
[ Moon 06/02/2019: Not included in this POC. ]
POC by Moon Ray Lo ([email protected])
POC Date – February 05-06, 2019
User-Managed OIC Version: 19.1.3.0.0 (190129.1200.23460)

You might also like