Updates a case subtype.
Namespace
goss.CaseManagement.v1.api.case.caseSubTypeUpdate
Worker
serverlibrary
Parameters
| Required Properties | Type | Description |
|---|---|---|
| caseBusinessKey | String <businessKey> | The business key of the case |
| caseSubTypeCode | String | The new subtype. This much match one of the configured subtypes |
| user | Object | Details of the user |
| user.siteUserName | String | The username of a valid case manager |
| Optional Properties | Type | Description |
| proxyUser | Object | Details of the proxy user |
| proxyUser.siteUserName | String | The username |
{
"caseBusinessKey": "Abc",
"caseSubTypeCode": "Abc",
"user": {
"siteUserName": "Abc"
},
"proxyUser": {
"siteUserName": "Abc"
}
}
Rules
| Rule | Validation error |
|---|---|
| User must exist | Could not retrieve siteUser details |
| Proxy user must exist | Could not retrieve proxyUser details |
| Case must exist | Could not retrieve case Case 1234-5678-9012-3456 |
| Case must be active | User 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 assigned | User aUser does not have permissions to change the case status |
| A valid sub type code must be supplied | The subtype: {newSubType} does not exist on caseType: mycasetype |
| The case sub type must not be set to supplied sub type | The current case subtype: {newSubType} is already set to the target subtype {newSubType} |
Behaviour
If the validation rules pass
- Updates the case to the new sub type
- 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
