Getting all the child’s parents and inserting it in the third parameter input can be done using both the “code” and “design” method, which is given below with related explanations.
bpmAppService.BPMSServices.DomainObjectService.GetParentsNode (input1, input2, input3);
input1: Object entity that is attached to the tree
input2: Foreign Key to itself
input3: The parameter to which the output is placed
Output: List Node