Workflow for Re-Assigning Manager when they are getting Terminated

Hello,

Has anyone built a workflow that automatically updates an identity’s manager to the terminating manager’s superior when the current manager is being terminated?

We’re encountering a scenario that requires using a nested loop to locate a specific account enclosed within an array inside another array, in order to update the manager for multiple identities by updating the account attribute.

Would appreciate if you could share your solution. Thanks!

While this would typically come from an authoritative system (e.g. your HR system), I can imagine this doesn’t work if you have separated sources? For instance using NERM for contractors, the manager that are set for those contractors would not automatically update.

I have created something similar (although not an automatic reassignment, just a notification) and I can share some snippets of that.

For Employees it is a connected source so the manager would be updated from auth source.
For contractors it was a disconnected source so we have used an external script to run a search for the active manager.
Then update the account with the active manager ID. Happy to share the endpoint details and steps if you are looking for something similar.

Thanks Edwin and Uday for the response,

These identities belong to a disconnected authoritative source, so it will not update the manager automatically, so we were looking to update the account data using workflow.

Please share the snippets/ approaches for the similar scenarios handled using the workflow.

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