If the Assignment group is empty on an incident record, what happens when an agent that is a member of a single user groups clicks the Assign to me UI action?
Reviewed code for UI Action in Tokyo/Utah/Vancouver. It just prints an error message and does nothing, so answer is A.
if (current.assignment_group.nil()) {
var memberGroups = new global.IncidentUtils().getMemberGroups(gs.getUserID(), 2);
if (memberGroups.length > 1) {
gs.addErrorMessage(gs.getMessage('Assigned to user {0} is member of multiple groups, please select one as Assignment group ', [gs.getUserDisplayName()]));
return;
}
In
1 month ago