โ04-20-2025 03:46 PM
Hi,
Based on the employee data, I am working on an automation to keep the Salesforce User objects up-to-date. When a manager changes, I can look up if that manager is a Salesforce user and able to update the User object. However, when the manager is not a Salesforce user, I would like to remove the managerId, but am unable to do so. Does anyone know how to resolve this?
โ05-04-2025 10:45 AM
Hi @kgopalak,
Could you please confirm if the ManagerID field is mandatory on the user object.
If not, can you perform the following steps.
1. Get the user details which contains ManagerID
2. Search for the ManagerID in the Salesforce list.
3. You can use If/Else and update the ManagerID value on the user field.
Regards,
Prudvi