Returns all of members in the Group belonging to Teams that are "on call" at the time the method is called. If a recipient appears in a team multiple times, it will appear multiple times in the list returned by this method.
@group::getonCallMembers()
None
(List) all on-call Group members, ordered first by Team and then by order within the Team
$type = @recipient::getRecipientCategory()
IF ($type == "GROUP")
$members = @recipient::getOnCallMembers()
$memberString = $members::toFormattedString()
@script::log($memberString)
ENDIF
Team_1_Member_1, Team_1_Member_2, Team_2_Member_1, Team_2_Member_2