Toggle menu

caseStatusUpdate

Updates a case status.

Namespace

goss.CaseManagement.v1.api.case.caseStatusUpdate

Worker

serverlibrary

Parameters

Required PropertiesTypeDescription
caseBusinessKeyString <businessKey>The business key of the case
caseStatusCodeStringThe new status. This much match one of the configured statuses
userObjectDetails of the user
user.siteUserNameStringThe username of a valid case manager
Optional PropertiesTypeDescription
proxyUserObjectDetails of the proxy user
proxyUser.siteUserNameStringThe username

{
    "caseBusinessKey": "Abc",
    "caseStatusCode": "Abc",
    "user": {
        "siteUserName": "Abc"
    },
    "proxyUser": {
        "siteUserName": "Abc"
    }
}

Rules

RuleValidation error
User must existCould not retrieve siteUser details
Proxy user must existCould not retrieve proxyUser details
Case must existCould not retrieve case Case 1234-5678-9012-3456
Case must be activeUser aUser does not have permissions to change the case status
User must be a member of the case managers group or the case manager if one is assignedUser aUser does not have permissions to change the case status
A valid status code must be suppliedThe status: {newStatus} does not exist on caseType: mycasetype
The case must not be at the supplied statusThe current case status: {newStatus} is already in the target status: {newStatus}

Behaviour

If the validation rules pass

  • Updates the case to the new status
  • If the Status Updated email is enabled an email will be sent to the Case Owner informing them of the status change
  • If a routine for the change to the new status is defined in the case type this behaviour will be triggered
  • A system note will be recorded to case history documenting the change
  • Case reporting data will be updated with the new status information
Last modified on 11 September 2026