We need a utility that can detect if a server is fully onboarded, and if not then up to what part.
Pre-requisites to onboarding:
The server has atleast 2 distinct voice channels.
A server is fully onboarded if:
If it has assigned queue channel(s)
If it has assigned interview channel(s)
The method, getOnboardingState(serverId) returns an integer between 0 and 2, where 0 indicates a fully onboarded server, 1 indicates a server that needs to assign queue channels, and 2 indicates a server that needs to assign interview channels.
We need a utility that can detect if a server is fully onboarded, and if not then up to what part.
Pre-requisites to onboarding:
A server is fully onboarded if:
The method,
getOnboardingState(serverId)
returns an integer between0 and 2
, where0
indicates a fully onboarded server, 1 indicates a server that needs to assign queue channels, and2
indicates a server that needs to assign interview channels.