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?
Suggested Answer: A
Get Premium CIS-ITSM Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
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;
}
25 comments · newest first
DO
Dominga
3 days ago
I think it's B. The group should auto-fill.
DE
Desmond
8 days ago
I agree with Yolande. B is the most logical choice.
RO
Rosalind
14 days ago
C seems likely. No group means no assignment.
PA
Patrick
19 days ago
I lean towards D. Errors are common in these systems.
GL
Glennis
24 days ago
Definitely B. Makes sense for efficiency.
BE
Berry
29 days ago
I feel unsure. Could be A too.
YO
Yolande
1 month ago
I think it's B. The group should auto-fill.
DE
Delila
1 month ago
Definitely B, I've seen it happen before.
TR
Truman
1 month ago
Wait, is it really B? That seems odd.
SA
Sanjuana
2 months ago
No way, I thought it would just stay empty!
AL
Alyce
2 months ago
I thought it would prompt for a selection, so A seems right.
CH
Chau
2 months ago
B is correct, the group gets populated.
EL
Elden
2 months ago
I disagree, I think it should prompt for a group instead.
QU
Queenie
2 months ago
Definitely not A or D, those don’t make sense.
TH
Theron
3 months ago
Wait, so it auto-fills? That’s surprising!
KE
Kenneth
3 months ago
I thought it would stay empty, but I guess not!
ME
Mee
3 months ago
B is correct, the group gets filled in.
CL
Clay
3 months ago
I recall there was a question about errors related to Assignment groups, but I can't remember if it applies here. Maybe an error would show up?
IR
Irving
3 months ago
I feel like the Assignment group field would remain empty if the agent clicks "Assign to me." That seems like a possibility.
RI
Rikki
3 months ago
I'm not entirely sure, but I remember something about the agent's user group being used if the Assignment group is empty.
WA
Wayne
4 months ago
I think if the Assignment group is empty, the agent might be prompted to select one. That sounds familiar from our practice questions.
BL
Blythe
4 months ago
I thought the Assignment group would remain empty if it was already empty, but I can't recall if that's how it works in this case.
JA
Jacki
4 months ago
I feel like this is similar to that scenario we discussed where an error was thrown if required fields were empty. Could it be option D?
AN
Antonio
4 months ago
I'm not entirely sure, but I remember something about the Assignment group being populated with the user's group. Maybe that's option B?
IN
In
6 months ago
I think if the Assignment group is empty, the agent might be prompted to select one. That sounds familiar from our practice questions.