Is Employee Team Condition

com.workbrain.app.ta.conditions.IsEmployeeTeamCondition

The Is Employee Team Condition limits the execution of pay rules based on an employee's team assignments. The condition can consider the employee's home team, temporary team assignments, or both.

Parameters In

Name Type Description Example
TeamString String Comma-separated string that identifies the teams to check against the employee's team assignments for the calculation date.

Supports wildcards % for multiple characters and ? for single characters.

Text values are not case-sensitive.

RANGERS

R%

R?NGERS

RANGERS,KINGS

RANGERS,K%

RANGERS,KING?

R%,KING?

TeamAssignment String Any: Both home and temporary team assignments are considered.

Home Team: Only considers an employee's home team (as of the calculation date). Temporary team assignments are not considered.

Temp Team: Considers all of an employee's temporary team assignments (as of the calculate date). Home team assignments are not considered.

Home Team
Use loose home team logic? Boolean When this parameter is selected and the TeamAssignment parameter is set to Home Team, the condition considers a team to be a "home" team if any of these conditions is true:
  • The employee's home team and the team being evaluated have the same immediate parent team.
  • The employee's home team is the parent of the team being evaluated.
  • The team being evaluated is the parent of the employee's home team.

Example

In this example, the condition evaluates to true when the employee's home team is RANGERS as of the calculation date.

Name Value
TeamString RANGERS
TeamAssignment Home Team
Use loose home team logic? (default)