Automating End to End Bulk Export from Oracle ERP Cloud using Oracle Integration (Part 2- ERP Cloud Event based Callback)

Background

In Part 1 of the blog series we have seen how to Initiate Oracle ERP Cloud Data Extract process from OIC. We have also seen how a callback url can be used to trigger the Callback Integration Flow after the BIP extract job is complete. In this blog we will witness the out of box event based mechanism to trigger the Callback Integration flow instead of a concrete callback endpoint. The best practice is to leverage event based mechanism as there is built in retry mechanism in ERP Cloud if the event is not delivered to OIC.

Designing the Integration Flow

Prerequisite Configuration

Modify the ERP Bulk Extract Integration flow (Flow 1- Refer Part1)

Update the Map fields for erpBulkExport Operation to the following literal values

  • jobOptions: "EnableEvent=Y"
  • callbackURL: Do not provide anything. Delete the mapping if it exists

Activate the Integration Flow

Creating Event based Integration Flow (Flow 2)

1. Create an App Driven Integration flow

2. Drop ERP Adapter Connection and configure "ERP Integration Outbound Event". This event is triggered after exportBulkData is completed via ERPIntegrationService

3. Use SOAP Adapter Connection configure ERPIntegrationService->getDocumentForDocumentId which fetches the data extract attachment from UCM

Accept Attachments in response allows to process files as big as 1 GB

4. unzipExtract - Stage file activity uses unzip operation to unpackage the report files into OIC virtual file system

5. listFiles - Stage file activity uses listFiles operation which lists all the files unzipped for a given directory in OIC virtual file system

6. writeFile - Uses FTP connection to write the report xml file to configured directory in ftp server

Testing the End to End Integration Flow

1. Run the ERP Bulk Extract Integration. Make a note of Request Id
2. In the ERP Cloud Scheduled Processes. Verify the job corresponding to Request Id
3. Observe the trigger payload in the event based integration

Here is few advantages of leveraging Event based callback flows as compared to URL based callback flows
  • Need not create an explicit Interface WSDL to implement onJobCompletion operation
  • Event is natively supported by Oracle ERP Cloud Adapter which protects from any changes in ERP Cloud interface changes just in case. 
  • Needless to mention we can avoid all the additional steps to capture JSON and parse the same. Event payload is parsed and readily available in the trigger message to fetch the report from UCM
  • When an Event based integration is activated OIC creates a subscription entry in Oracle ERP Cloud. For some reason if the Event based Integration Flow is not reacheable ERP Cloud will re-try the events multiple times with exponential time gap. In the URL based callback re-try cannot happen as it is a fire and forget from ERP Cloud

Comments

  1. Great!! This is very useful. Please share your observation on performance while consuming / processing / generating files to the tune of 1 GB ? Is there any performance implications?

    ReplyDelete
  2. Excellent info and very useful for different options.

    ReplyDelete
  3. You write this post very carefully I think, which is easily understand to me. Not only this, other post is also good. As a newbie this info is really helpful for me. Thanks to you.

    Tally With GST Training Course

    ReplyDelete
  4. Thank you for sharing this informative information with us. Its very helpful.
    Cloud ERP for Import Export

    ReplyDelete
  5. I have read all the comments and suggestions posted by the visitors for this article are very fine, we will wait for your next article so only. Thanks!

    Python Training Institute in Delhi-Grow your Career with US
    Explore to Your Career to Learn Complete Digital Marketing Course in Delhi

    ReplyDelete
  6. I have read all the comments and suggestions posted by the visitors for this article are very fine, we will wait for your next article so only. Thanks!

    Advanced Excel Training Institute in Delhi- Career Makes Your Day
    Certified AutoCAD Training Institute in Delhi, NCR

    ReplyDelete
  7. Thank you for sharing an amazing & wonderful blog. This content is very useful, informative and valuable in order to enhance knowledge. Keep sharing this type of content with us & keep updating us with new blogs. Apart from this, if anyone who wants to join the Advanced Excel Training institute in Delhi, can contact 9311002620 or visit our website-
    https://htsindia.com/Courses/Business-Analytics/adv-excel-training-course

    ReplyDelete
  8. Today, the majority of companies use cloud-based technologies to support their standard operating procedures. To get the learn more advantages of cloud computing courses in our sites Cloud Computing Training in Madurai.

    ReplyDelete

  9. Exciting Export Import Jobs in Delhi – Unlock Global Career Opportunities
    Discover a world of possibilities with export-import jobs in Delhi by ITPC (International Trade Promotion Centre), the hub of international trade and commerce. Whether you’re a fresher looking to kick-start your career or a professional aiming to expand your expertise, Delhi offers a wide range of job opportunities in the export-import sector across various industries like textiles, manufacturing, pharmaceuticals, and IT.

    Why Choose Export Import Jobs in Delhi?
    Diverse Roles
    Attractive Salaries
    Skill Enhancement
    Networking Opportunities
    Career Growth
    Popular Export Import Roles in Delhi:
    Export Manager
    Import Coordinator
    Logistics Executive
    Trade Compliance Analyst
    International Marketing Specialist
    Kick-Start Your Global Trade Career
    Take advantage of the booming international trade sector with rewarding export-import jobs in Delhi. Stay ahead by acquiring the right skills through export-import training programs and networking with industry professionals. Explore job openings today and step into a promising global career!
    https://www.itpcexport.com/export-import-jobs-in-delhi.html

    ReplyDelete
  10. Unlock Global Opportunities with Import Export Courses in Delhi
    Prepare for a successful career in international trade with specializedcourse of import export courses in Delhi by ITPC Export. The programs are tailored for entrepreneurs, students, and professionals looking to master global business practices, compliance, and logistics. With expert guidance and practical knowledge, you can build a strong foundation in export-import management and thrive in the ever-growing global trade industry.

    Why Choose ITPC Export for Import Export Courses in Delhi?
    Comprehensive Curriculum
    Expert Faculty
    Practical Training:
    Certification Programs
    Networking Opportunities
    Key Benefits of Import Export Courses:
    Gain in-depth knowledge of global trade policies and regulations.
    Learn strategies to penetrate international markets.
    Understand logistics and shipping management for seamless operations.
    Develop skills to manage trade compliance and risk assessment effectively.
    Build Your Career in International Trade
    Join the best course of ITPC Export for import export courses in Delhi and take the first step toward a rewarding career in global business. Whether you're looking to start your own venture or secure a job in the trade sector, these courses provide the expertise you need to succeed. Enroll today and open doors to international opportunities!
    https://www.itpcexport.com/

    ReplyDelete

Post a Comment