Standard Change: Assigned To Updates Automatically
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hello,
We need help with an issue we’re experiencing with a Standard Change Request.
The first screenshot shows that the Assigned to field is empty.
As soon as the user clicks the Schedule button, the Assigned to field immediately updates to the requester’s name. In this case, Brian Tran (see the screenshot below).
Could someone please let us know how to identify what is triggering this behavior?
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
56m ago
Out of the box, this is not available. You need to check the assignment rule or any business rule written on the Schedule button and update the caller as the assignee.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
30m ago
The custom function was originally developed by a consultant who is no longer with us. I’m trying to determine which rule triggered this behavior so I can fix the issue. I have reviewed the Business Rules and Client Scripts on the change_request table but haven’t had any luck.
Could you please clarify what you meant by checking the assignment rule or any Business Rule associated with the Schedule button that updates the caller as the assignee? If possible, please provide steps or guidance that would help us pinpoint the location of this logic.
If you are referring to the Schedule UI action script. Here is the entire code. It is not shows much:
function moveToScheduled() {
g_form.setValue("state", "-2");
gsftSubmit(null, g_form.getFormElement(), "state_model_move_to_scheduled");
}
if (typeof window == 'undefined')
setRedirect();
function setRedirect() {
current.update();
action.setRedirectURL(current);
}
