Getting an organizational unit on one side can be done using both the “code” and “design” methods, which are given below with related explanations.

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