Install and Run Oracle Integration Recipe - Extract New Hire Info from HCM Cloud

Background

Accelerators and recipes are a great way to kick-start on building your integrations. Accelerators are run-ready business integrations or technical patterns you can configure and activate. Recipes are starter templates that give you a head start. Some of the recipes exist today as separate downloads via Oracle Marketplace and other repositories. Oracle-built recipes are harvested and they are made available as part of Oracle Integration instances. OIC new Home Page brings these right to your doorstep!

For instance if we need to automate HCM Cloud extract and push it to an SFTP server there is a Recipe for that. As part of this blog series we will see how to customize the OOTB Recipe and modify the Integration Flow

Here is the list of OIC Recipes integrating with HCM Cloud 


Recipe Usecase











There are many usecases where automation of HCM Cloud extracts plays a crucial role. Here are some examples from our Customer Scenarios in their Enterprise Integration world.
  • HR & Payroll or Benefits data to 3rd Party Service Providers
  • HR & Paryroll data sent to another application in an co-existent scenario
  • Data Archiving

Pre-requisites to Run the Recipe

Oracle HCM Cloud Extract

  • Configure HCM Cloud Extract Definition Navigating to Data Exchange
  • Add Delivery Option as WebCenter Content and provide an Integration Name
  • Submit extract
          
  • Verify the Extract Status is Completed
           
  • Navigate to UCM and verify the extract is available
           

Install and Configure the Recipe

Navigate to OIC Home page















Search for Export New Hire Info











Select Install and you should now see the Recipe status as Installed. Click on Configure if you wish to configure the connection or replace with existing Connections















Configuration Editor is a great way to manage your Integration resources. Shows all the applicable connections to replace with a given Connection (Connections of same Type and Role)












We see the Recipe is installed.






Edit the Integration and Customize the Integration flow as appropriate.









The OOTB Recipe (i) Fetches the New Hire Export from UCM and (ii) Writes the extract file to SFTP Server

Let's Configure/Review a few things before we Activate and Run the Integration

  • Scheduled Parameter is defined on Schedule Activity to persist the lastProcessedDocumentId value
          








  • getExtractFile - Provide the Integration Name as per the Web Center Content Delivery option configured (Refer: Pre-Requisities section above)










Observe the Option to "Receive Files from HCM Cloud" greatly simplifies to fetch files from UCM as big as 1 GB in the form of Attachments.
  • writeFile2SFTP - Configure the SFTP directory as appropriate
  • assignDocId - Document Id from getExtractFile response is assigned to Schedule parameter which needs to be persisted across successive integration run


Activate and Run the Integration

Before Running the Integration make sure the New Hire Extract is Submitted and Completed as indicated in the Pre- Requisite section

Use Submit Now to submit the Integration on demand

The default Value is presented in the Scheduled Parameter UI which is "0". Once the Extract is successfully fetched the document Id is assigned to the Scheduled parameter and an xml file is written to SFTP server configured.


The output of the New Hire Extract











In the Second Run of Integration you will notice the DocumentId which is captured from the previous run of the Integration







In certain usecases, it might be required to share schedule parameter values between a scheduled Run and a Submit Now Run. To enable sharing, Run as part of schedule checkbox needs to be enabled when doing a Submit Now operation.




Conclusion

OIC Recipes provide a very easy way to get started with the given Usecase and gives complete flexibility to customize the Integration Flwow and Connection resources as required leveraging the Configuration Editor. The OOTB recipe expects an Extract to be Scheduled/Completed in HCM cloud. However, many customers wanted to automate this further to manage/monitor the Extract Schedule and Run the Job from the OIC instead of Scheduling it from HCM Cloud. Will be extending this Usecase further in the next blog.





Comments

  1. Awesome Article, Thanks for providing the informationWord Files Data Extractor.

    ReplyDelete
  2. This blog effectively outlines the use of OIC Recipes to streamline integrations; consider adding a comparison of Recipes vs. Accelerators for clarity.
    modular workstation gurgaon
    office chair in delhi

    ReplyDelete
  3. The section on customizing the OOTB Recipe is insightful. How about a practical example to make it even more relatable?
    metal storage system in gurgaon
    Box Wrapping machine India

    ReplyDelete
  4. The pre-requisites are clear. Including tips for troubleshooting common issues could be valuable for readers.
    Shrink Packing machine Manufacturer
    Strapping machine Supplier

    ReplyDelete
  5. The blog mentions large files (up to 1 GB) being fetched. Discussing performance considerations for such scenarios would be helpful.
    Jojoba Oil Manufacturer in germany
    office furniture gurgaon

    ReplyDelete
  6. Automating HCM Cloud extracts is an excellent use case. How about exploring similar automation scenarios in other Oracle Cloud products?
    mobile compactor Manufacturer
    fifo flow rack manufacturer

    ReplyDelete
  7. The "Activate and Run" section is detailed, but some readers might benefit from a troubleshooting checklist for activation issues.
    heavy duty rack delhi
    Multi tier rack

    ReplyDelete
  8. The conclusion highlights extending the use case. Can you provide a sneak peek or outline for the next blog?
    Fabric Roll Racks in Delhi
    Warehouse mezzzanine floor supplier

    ReplyDelete
  9. Including the exact names of the templates or recipes available in Oracle Marketplace could guide readers to find them easily.
    Slotted angle rack manufacturer
    Modular Mezzanine floor supplier

    ReplyDelete
  10. The mention of XML files might intrigue tech-savvy readers. Explaining why XML was chosen as the format could be an interesting addition.
    pallet rack supplier
    mezzanine floor in delhi

    ReplyDelete
  11. "I’ve been exploring Oracle Integration Cloud for a while, but this blog series makes it so much easier to get started with automation."
    Pallet Rack manufacturer
    Heavy Duty Storage Rack delhi

    ReplyDelete
  12. "The example with the New Hire Export was very clear. Looking forward to applying this in my own HCM integrations."
    warehouse storage rack supplier
    pulse jet bag filter in delhi

    ReplyDelete
  13. For beginners, explaining what UCM stands for and its role in the process would be useful.
    Rotary Air Locks in India
    pulse jet bag filter Manufacurer

    ReplyDelete
  14. The integration flow customization section is well-written. Adding a "best practices" checklist for customizations could add value.
    Dust Extraction System Manufacturer
    Centrifugal Blower in delhi

    ReplyDelete

Post a Comment