{{tag>Index Programmers_Reference Methods IExecutionEngine_Interface UpdateEntity}} ====updateEntity (IProcess, IEntity, String [], Object [], ChangedReference [])==== public void updateEntity (IProcessparent, IEntity entity, String [] changedAttributes, Object [] oldValues, ChangedReference [] changedRefs) throws ServerTimeOutException, AccessDeniedException, ExecutionException; This method updates the instance of the business object in the database. If there are any rules associated with the business object they are executed. ===Parameters=== |''entity''|an instance of the business object to write to the database| |''changedAttributes''|an array of the attribute names of the business object that have been changed (null if unknown).| |''oldValues''|an array of the old values of the changed attributes (null if unknown). Must be of the same size as the changedAttributes parameter| |''changedRefs''|should be null|