Configure HCM Business Objects with Groovy Scripts

Hi community,

Many of you probably know about an Application Composer. This is a powerful tool to extend certain cloud applications (such as CX, ERP, SCM Cloud Applications) by creating fields, objects, and relationships between objects.
Here are some of the changes you can make using this tool:
• Modify objects by adding new fields or create entirely new objects.
• Create foreign key-based relationships between two objects.
• Modify user interface pages by exposing your newly created fields for an object or create an entirely new work area for your custom objects.
• Expose object relationships on pages in the form of subtabs.
• Write application logic, such as triggers and validation rules, for an object or for use across multiple objects.
• Implement functional and data-level security for custom objects.
• Enable custom objects for reporting by creating custom subject areas.

I got some experience with the Application Composer while was working with the Oracle HR helpdesk module.
Unfortunately, it is not applicable to Oracle HCM Cloud business objects and pages.
To tailor a user experience Oracle offers the Page Composer and HCM Experience Design Studio for the HCM product family. We are looking forward to getting a new powerful feature “Autocomplete Rules” inside HCM Experience Design Studio that has already been announced but still under controlled availability. According to Oracle statements, we will be able to get much more flexibility with object defaulting rules, object validation, rules, field validation, and modification rules. That’s going to be terrific improvements.
But few of you know that it is possible to write application logic with Groovy, such as triggers and validation rules, for HCM objects too in the current Oracle HCM Cloud version. Continue reading