> ## Documentation Index
> Fetch the complete documentation index at: https://docs.serval.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Oracle HCM (Beta)

> Connect Oracle HCM to Serval to read workers, absences and user accounts in workflows.

The Oracle HCM integration calls the Oracle HCM REST API from Serval workflows. It reads workers, public worker directory entries, absences and plan balances, locations, departments, organizations, jobs, positions, grades and Fusion user accounts. It can also record absences, suspend or reactivate a user account, and grant or revoke a user account role.

This integration is in Beta.

## Connect

1. In Oracle Fusion Cloud, create or pick an integration user that signs in with a password. Single sign-on accounts can't call the REST API with Basic authentication.
2. Grant the user roles for the resources your workflows use, for example **Human Resource Specialist** for workers and absences, and **IT Security Manager** for user accounts and roles. The user's data security decides which records it can see.
3. In Serval, go to **Integrations**, open **All integrations** and choose **Oracle HCM**.
4. Enter the host from your Oracle Fusion URL, for example `abcd.fa.us2.oraclecloud.com`, and the user's username and password.
5. Run the health checks. Each one reads one record from public workers, workers, user accounts or absences. When a check fails, it shows Oracle's error and the REST privilege that check needs, so confirm the host and password before you change roles.

## What the integration can change

Serval only sends these write requests. Every other request is read-only:

* **Absences**: create, update and delete absence records.
* **User accounts**: update a user account, for example to suspend it.
* **User account roles**: grant and revoke roles.

Worker records are read-only, because Oracle needs effective-dated headers to update them.

## Troubleshooting

* **401 Unauthorized**: check the username and password, and that the user isn't SSO-only or locked.
* **403 Forbidden or empty results**: the user lacks a role or data security for that resource.
* **Host rejected**: enter only the host, ending in `.oraclecloud.com`, with no `https://` or path.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.