is_open¶
Syntax¶
Parameters¶
group_type- A valid group type, either a place or a network, that should be checked.
Returns¶
Returns 1 (true) if the current agent is a member of a group of the given type and is currently open. Otherwise, this returns 0 (false).
Description¶
Determines whether the agent is both a member of a group and that the group being checked is currently open.
This action returns true if the agent is a member of a group of the given group type and the group is currently open. That is, the current hour is among the business hours for the group type and the group has not been closed by a group agent.
Examples¶
If there is a network, Agent_Network, then the following conditional applies to agents who are members of the network when the group is open.