Why am I not able to update user details if it is linked to an inactive resource?
Environment:
Applies to all versions of Oracle Field Service (OFS)
Resource Management API (all versions)
Issue:
I am not able to update user details through Resource Management API.
Use Case:
While consuming Resource Management API service, trying to update a user for which the assigned resource (main resource) was set as Inactive in Resource Information screen.
Resolution:
The Resource Management API has such design limits that does not allow to update a user linked with an inactive resource.
Therefore, options to resolve are as follows:
A. If you want to activate a user and the assigned resource is inactive, you have to perform the following steps in the following order:
1. Activate the resource
2. Activate the user
B. If you want to deactivate a user and the assigned resource is inactive, you have to perform the following steps in the following order:
1. Activate the resource
2. Deactivate the user
3. Deactivate the resource