User import inline Hook : return command has no impact on user import

We are using a User Import Inline Hook on our Workday application to control matching and linking behavior during user imports.
The application is configured to match users on a custom attribute. When no match is found, Okta correctly sends the CREATE_USER action to the inline hook.
Our inline hook flow then performs its own lookup against Okta UD using the employeeID value from data.appuser.profile. If a matching Okta user is found, the hook returns a LINK_USER command along with the target user ID.
Example of the exact JSON returned by the inline hook:
{
“commands”: [
{
“value”: {
“id”: “00uoiyjjw0FdYoG2A1d7”
},
“type”: “com.okta.user.update”
},
{
“value”: {
“result”: “LINK_USER”
},
“type”: “com.okta.action.update”
}
]
}

Issue:

Even though the hook responds with a valid LINK_USER command and the correct Okta user ID:
Okta does not link the imported user to the existing Okta user.
The user remains in the Import queue as Unmatched, with only the option to “Create New Account.”
No error is shown in the System Log indicating that the response was invalid or rejected. sys log shows inlinehook request processed successfully

any help in this regard will be greatly appreciated
thanks

Hmm, your hook response looks well formatted to me.

If you haven’t already, I would recommend creating a support case on the Support Center for further assistance.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.