Error message when changing user field on Resource Assignments & Resource card is throwing (undefined is not a function error) in loadIssue <!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } We are seeing the following error message when we change the 'Resource' field on Resource Assignments (user_resource field)"Script error encountered when changing this field - please contact your System administrator" Release<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } N/A Cause<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } The Client Script "Hide pending or unassigned onChange" is running on change of "Resource" on Form. Url : https://INSTANCENAME.service-now.com/nav_to.do?uri=sys_script_client.do?sys_id=03ca71457f2712106cf4ba9cbc866534 In this client script, it is trying to do "Write" Operation on "resource_status". It is evaluated based on ACL "sn_plng_att_core_resource_assignment.resource_status-> Write". ACL Url : https://INSTANCENAME.service-now.com/sys_security_acl.do?sys_id=502d371643d9a910ea95511ae9b8f247 Resolution<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } 1. Resource card is throwing (undefined is not a function error) in load : Revert the Script Include BannerContent to the out of the box version.2. Similar questions about this functionality have been brought up before. Here is a list of Questions and Answers from our Development Team: We have to note that =>-->resource_user is allowed to change the "Resource" field in resource assignment. resource_user is also allowed to create a resource assignment. Since Project manager and Demand manager are resource_user, they are allowed to do the same. But they do not have the permission to change resource status. Changing resource status can only be done by resource_manager.-->Now if the resource_manager approves a resource assignment, and after that, project manager changes the resource field, then the resource_status of the resource assignment will go back to "pending" status.Answers to popular questions:1. Can you please provide a little more information/background as to why the warning message appears when the field "resource" is updated?--> The purpose of the warning message is to let the user know that user does not have the required role to update resource field in the resource assignment.--> The ACL that you have shared is the acl for resource_status.--> If you check the ACL for user_resource (sn_plng_att_core_resource_assignment.user_resource), there "write" operation is enabled for resource_user role. it_project_manager and it_demand_manager have resource_user role.2. And why is not the same happening on the resource workspace or project workspace: no warning message appears here if a project or demand manager creates an assignment and selects a resource?--> Resource Management Workspace can only be accessed by resource_manager. Therefore if we are creating an assignment from Resource Management Workspace, then that means it is getting created by resource_manager.--> In case of project workspace, resource_user is allowed to access project workspace. Therefore if assignment is getting created from project workspace, then the creator is resource_user which as already mentioned has access to create resource assignment.3. Can you tell me what the purpose of the client script is please?--> The purpose of that client script "Hide pending or unassigned onChange" is--> if resource is populated in the assignment, then we have to show pending status and hide unassigned status in the resource status dropdown--> if user is not populated in the assignment, then we have to show unassigned status and hide pending status in the resource status dropdown.--> this client script does the above mentioned function.