{{tag>Programmers_Reference Methods IExecutionEngine_Interface}} ======getEntity (IProcess, String, Long)====== **Interface:** [[3500:0300:0315|IExecutionEngine]] public IEntity getEntity(IProcessparent, StringentityName, Long id) throws AccessDeniedException,ExecutionException; This method retrieves the specified instance of the specified business object. **note** 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 ''[[ref:p_m:getbinarydata|getBinaryData]]'' method. The ''getEntity'' method also retrieves only single references of the object. To retrieve all references of the object, use ''[[ref:p_m: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.