Function update is not allowed in scope sn_hr_coreDescriptionFunction update is not allowed in scope sn_hr_coreCauseThis error was occurring due to the fact that you used .update() function on the GlideAggregate class in the custom business rules.ResolutionUse GlideRecord instead of GlideAggregate which will fix the error.