Resolved! setGroup(false): What is exact use of this method? Beacause of this my output also changes
If I comment this method(setWorkflow), then my other methods output gets wrong..... var ga = new GlideAggregate('u_empdata'); ga.addAggregate('SUM', 'u_salary'); ga.addAggregate('COUNT','u_salary'); ga.addAggregate('AVG', 'u_salary'); ga.addAggregat...