For users with manager=NO_MANAGER, time off of requires approval of manager. But employee's manager=NO_MANAGER, and the approval is stalled at a "manager" where no one knows who this "manager" is.
Is there any way to make the approver for users with NO_MANAGER to be a designed person?
Leave request pending with Manager while user doesn't have any manager assigned in job information.
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
Reproducing the Issue
Make sure that the time type has workflow configuration.
Check that EmployeeTime object definition has save rule attached which triggers the user workflow or admin workflow dynamically based on logged in user.
Go to Employee with Manager / Supervisor set as "NO_MANAGER".
Proxy as him and apply leave request on his behalf.
Observe that the Leave request shows pending with "Manager", as shown below:
Your current workflow configuration in time type for example is MGR as shown in below screenshot:
The approval is stalled at a "Manager" where no one knows who this "Manager" is.".
It's actually because the workflow is in stopped status.
MGR workflow has only one step approver that to Manager role with "No Approver Behavior" set to "Stop the workflow".
You can (either do step one or both step 1&2) :
1, Set "No Approver Behavior" to "Skip the workflow" so that the workflow automatically saves if no manager is assigned to the employee.
2. After the above step, add one more approver step so that the approval goes to 2nd Approve in case 1st is not found.
You cannot make the approver for users with NO_MANAGER to be a designed person in any other way automatically.
However, manually you can reroute workflow, or change the workflow approver from admin tool "Manage workflow requests".
Kindly refer KBA 2810012 which explains how to trigger different workflow if a user has "NO_MANAGER" in his/her job information record.
users with manager=NO_MANAGER Time off approval is stalled at a "manager" leave status is pending with Manager , KBA , time off approval stalled at a "manager" , users with manager=no_manager , leave status is pending with manager , skip the workflow , stop the workflow , time off , employee central , LOD-SF-EC-TIM , Time Off , LOD-SF-EC-WFL , Workflows - Configuration, Tools, Objects & Rules , Problem