The workflow work item assign to manager/superior, if there is not manager/superior for an employee, the system will cause error. How to avoid this error. And the Condition decision is not enough to avoid this situation.
Error Message :
10/24/2018 02:40:42 am:
Stopped (error): SysWorkflowQueue-resume X++ Exception: The hierarchy provider did not return any users.
at SysWorkflowHierarchyProvider-resolve
SysWorkflowHierarchyProvider-resolveHierarchy
SysWorkflowQueue-resume