Team teamExists
Team_teamExists
Check whether the Team is existed on resource (On GUI, Team is under Team tab of resource)
Syntax
Team_teamExists(resourceId, teamTypeId, groupResourceId);
Arguments
number resourceId: is ResourceId of resource that you want to check whether the Team existed
number teamTypeId: is Id of Team Type that the Team belong to (on GUI, the Team Type at Administration/HR/Team types)
number groupResourceId: is ResourceId of group that belong to the Team
Return type
Boolean
Example
number resourceId = 15562383;
number teamTypeId = 1;
number groupResourceId = 15567436;
Team_teamExists(resourceId, teamTypeId, groupResourceId);//True if existed; False if not