Getting a side-by-side manager’s id can be done using both the “code” and “design” methods, which are given below with related explanations.

bpmAppService.BPMSServices.MercuryService.GetStaffManagerByStaff(input1);
input1: Staff
Output: ID Staff