{{tag>Programmers_Reference Methods IExecutionEngine_Interface getEntity Index}}
====getEntity (IProcess, String, Long)====
public IEntity getEntity(IProcessparent, StringentityName, Long id)
throws AccessDeniedException,ExecutionException;
This method retrieves the specified instance of the specified business object.
Any large binary attributes (of the Binary, Document and Picture types) are not retrieved by this method – the value of the corresponding attributes will be null. To retrieve the values of the binary attributes use the ''[[pr_methods:getbinarydata|getBinaryData]]'' method. The ''getEntity'' method also retrieves only single references of the object. To retrieve all references of the object, use ''[[pr_methods:getallreferences|getAllReferences]]'' method.
===Parameters===
|''entityName''|the name of the business object to retrieve|
|''id''| the unique id of the instance to retrieve (the unique id is assigned to the instance automatically by the system when the instance is created)
===Returns===
The retrieved instance of the business object or null if the instance was not found.