ServiceNow Certified Implementation Specialist - IT Service Management CIS-ITSM Question # 6 Topic 1 Discussion
CIS-ITSM Exam Topic 1 Question 6 Discussion:
Question #: 6
Topic #: 1
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?
A.
The agent is prompted to select the Assignment group
B.
The Assignment group field is populated with agent's user group
C.
The Assignment group field remains empty
D.
An error is displayed indicating the Assignment group field must be populated before executing the Assign to me Ul 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;
}
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit