CurrentUserTeam
4 min
returns the primary team for the user associated with the current session, as defined in the team field under the details tab on the employee details form use this function to return the name of the primary team use the currentuserteamnames docid\ t7d5 baw6qiosjt4eatjv function to return a list of all the team names use the currentuserteamids docid\ byf7j6nebvyhmwl4mraj function to return a list of the team ids for all the teams syntax currentuserteam() enabled for for a description of the business object categories, see notes on "enabled for" docid\ u26v9fecfs6ilwa0 pvjd business object category yes/no business rules before save rules yes1 business rules calculation rules (after save, with or without also recalculate on load) yes1 business rules calculation rules (before save or always, without also recalculate on load) yes1 business rules calculation rules (before save or always, with recalculate on load) yes1 business rules editing rules yes1 business rules initialization rules yes1 business rules read only rules yes1 business rules required rules yes1 business rules validation rules yes1 client expressions yes object permissions yes services yes ldap yes mobile yes quick actions (except ui quick actions) yes1 ui quick actions yes reports yes1 search/dashboard without field references yes1 search/dashboard with field references yes1 except in services parameters none return value text value example $(currentuserteam()) if the current session is for a user who is part of the service desk team, the above example returns "service desk" currentuserteam() example the above quick action sets the team of the current session as the task team when the task is accepted
