Usecase: Here, we will create a Scheduled integration and subscribe HCM Atom Feeds for Employee Update and write them to a FTP directory.
Summary:
- Atom Feeds enable to track changes made to feed enabled resources in Oracle Global Human Resources Cloud and to send them to different downstream applications.
- It supports following resources for Atom feeds:
- Employee New Hire
- Employee Update
- Employee Termination
- Employee Assignement
- Grade
- Job
- Location
- Organization
- Position
Logic Implemented steps:
- Create a schedule parameter to hold timestamp , which will help to take Atom data after this timestamp. Format: YYYY-MM-DDTHH:MM:SS:sssZ e.g. 2018-06-03T02:34:06.000Z
- Configure HCM adapter - subscribe to updates (via Atom Feed) >> select an Atom feed like Employee Update and map the timestamp to updated Min.
- Take a for each loop and assign repeating element for employeeupdatefeed_update
- Take 2nd inner loop and assign repeating element as changedAtrributes
- In the inner loop, configure ftp adapter and write as binary, privide output directory, file name pattern like EmployeeUpdate%SEQ%.csv >> privide sample file where fields are: PersonId,PersonNumber,Attribute,New,Old >> map the required fields.
- In the outer loop, update the timestamp using updated_timestamp field of the feed response.
Integration flow:
Detailed screenshots:
References:
https://www.oicbasics.com/2022/04/subscribe-to-hcm-cloud-atom-feeds.html?m=1
No comments:
Post a Comment