I have a flexi task assigned to a user as well as to the admin. I have devised a method to fetch the name of the approver, i.e., who among these have approved the task. But now I have to check whether the approver is admin or not. I tried using query user profile but it didn't worked. Please suggest me how to get this done?