Creating or updating an organizational unit can be done using both “code” and “design” methods, which are given below with related explanations.

bpmAppService.BPMSServices.MercuryService.saveDepartment(input1,input2,input3);
input1: Department
input2: True or False ( True= Catalog Bpms , False= Catalo Eoffice)
input3: True or False ( True= Save , False= Update)
Output: Void