Receiving the position of the top-level manager (one category before the CEO), one side, can be done using both the “code” and the “design” method, which is given below with related explanations.

bpmAppService.BPMSServices.MercuryService.GetManagerOfBeforeCEODepartment(input1);
input1: Staff
Output: Staff