Symptom
You have observed in your system that Inactive users are being made Active unexpectedly.
The issue can affect users in various situations:
- Future Dated Hires - The user account is set to ACTIVE before the Hire Date
- Terminated Users - The user account is set to ACTIVE after the Termination Date
- Other types of Inactive Users / User Accounts
"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."
Environment
SAP SuccessFactors HXM Suite
Cause
This situation can have a few different causes but most commonly we see it caused by some external integration set up by the customer / partner.
For example, some customers have processes which may update email addresses in the User Entity / Object (Basic User Information) after the user has been terminated.
By default, INACTIVE user records cannot be updated via API, they must be ACTIVE to be updated via API.
If they are INACTIVE and an update is attempted, the following error is thrown in response payload:
- "The user is an inactive user, only the active user can be updated. Please activate this user first with the index 0"
As such, we see some processes activate the users (as the error suggests) to achieve the update and this is the cause of the unexpected activation of INACTIVE users.
Resolution
If you observe this situation in your system OR this situation is confirmed to you by SAP Cloud Support as the cause of the issue,
We strongly recommend you explore the usage of the processInactiveEmployees=true parameter in process which is updating INACTIVE user records.
This parameter will allow you to update the inactive User's record while keeping them in the INACTIVE status.
Below you will see the same update attempted as shown in the cause section, but this time using the processInactiveEmployees=true parameter:
See Also
2768078 - SFOdata User Entity Update, Insert, Upsert Inactive Employee How to
Keywords
ACTIVE, INACTIVE, status, User, future hire, terminated employee, unexpected, t, f, , KBA , LOD-SF-INT-EC , Employee Central SFAPI & OData Entities , LOD-SF-EC , Employee Central , LOD-SF-INT , Integrations , Problem
Product
Attachments
Pasted image.png |