Obtaining an object from a particular entity can be done using both the “code” and “design” methods, which are given below with related explanations.

bpmAppService.BPMSServices.DomainObjectService.GetDomainObject (input1, input2);
input1: DominObject (Rayvarz.BPMApp. [Application name] .Module [entity name])
input2: ID DomainObject
Output: DomainObject