Hi Fellow Developers,
I believe the above is a great workflow.
Wanted to share that there is a work reassignment API, which might be a better fit for the requirement. Unlike the API used in workflows that only handle existing open work items to be reassigned, work reassignment API ensures any future work assigned to the terminated user automatically goes to the manager.
Good luck!