HR Agent Workspace - "Request failed with status code 400" when creating cases with Edge Encryption <!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } DESCRIPTION When Edge Encryption is enabled for HR case or HR task creation in Agent Workspace for HR Case Management, users may encounter the following error when clicking the Create Case button: "Request failed with status code 400" This issue occurs due to a data structure incompatibility during encryption processing. The encryption rule encounters an unexpected field format in the request payload, causing the encryption process to fail and preventing case creation. STEPS TO REPRODUCE Prerequisites: Edge Encryption must be enabled for HR case or HR task creation. 1. As an admin or HR agent, navigate to Agent Workspace for HR.2. Attempt to create a new HR case using the case creation form.3. Fill in the required fields including HR Service, Opened for, etc.4. Click the "Create" button.5. Observe the error message: "Request failed with status code 400" WORKAROUND Navigate to the sys_encryption_rule record that processes HR case creation requests: 1. Go to System Security > Encryption > Encryption Rules (or navigate to sys_encryption_rule.list)2. Open the record named "HRCaseCreation" (sys_id: df47484fdb3b0300865c90b6db961994) in the sn_hr_core scope3. In the Action script field, locate the field iteration loop in the HRCaseCreationAction function: for (var fieldItr = fieldsNode.iterator(); fieldItr.hasNext();) { var fieldNode = fieldItr.next(); var fieldName = fieldNode.getName(); for (var valueItr = fieldNode.iterator(); valueItr.hasNext();) { var valueNode = valueItr.next(); if (valueNode.getName() == 'value') valueNode.valueFor(tableName, fieldName); } } Add the following check after var fieldName = fieldNode.getName(); if (fieldName == 'sys_id') { continue; } Complete modified code: for (var fieldItr = fieldsNode.iterator(); fieldItr.hasNext();) { var fieldNode = fieldItr.next(); var fieldName = fieldNode.getName(); //workaround if (fieldName == 'sys_id') { continue; } for (var valueItr = fieldNode.iterator(); valueItr.hasNext();) { var valueNode = valueItr.next(); if (valueNode.getName() == 'value') valueNode.valueFor(tableName, fieldName); } } Edge Encryption End-of-Renewal as of the Yokohama Release Edge Encryption has been placed into End-of-Renewal status as of the Yokohama Release. See KB2007685 for more details.