Unable to get a Create Account to process to endpoint with variables or hardcoded. Getting the error "Exception occurred while performing ‘Create’ operation on identity ‘null’ ".
We’re trying to connect to an Oracle HCM server to create ‘workers’ using /hcmRestApi/resources/11.13.18.05/workers with a body of:
{
"PersonNumber": "$plan.personNumber$",
"names": [
{
"LastName": "$plan.familyName$",
"FirstName": "$plan.givenName$",
"LegislationCode": "US"
}
],
"emails": [
{
"EmailType": "W1",
"EmailAddress": "$plan.email$",
"PrimaryFlag": true
}
],
"workRelationships": [
{
"LegalEmployerName": "LE",
"WorkerType": "E",
"assignments": [
{
"BusinessUnitName": "BU",
"ActionCode": "HIRE"
}
]
}
]
}
The Create Account page is set up with those variables mapped to Identity Attributes:
- personNumber → Username
- givenName → Given Name
- familyName → Family Name
- email → Work Email
We are requesting an entitlement via Request Center to trigger.
Any help/advice would be appreciated.