Toggle menu

caseStageUpdate

Updates a case stage.

Namespace

goss.CaseManagement.v1.api.case.caseStageUpdate

Worker

serverlibrary

Parameters

Required PropertiesTypeDescription
caseBusinessKeyString <businessKey>The business key of the case
caseStageObjectDetails of the new stage
caseStage.caseStageCodeStringThe new stage. This much match one of the configured stages
caseStage.caseStageNotesStringA private note that will be added to the case history
userObjectDetails of the user
user.siteUserNameStringThe username of a valid case manager
Optional PropertiesTypeDescription
n/an/an/a

{
    "caseStage": {
        "caseStageCode": "Abc",
        "caseStageNotes": "Abc"
    },
    "caseBusinessKey": "Abc",
    "user": {
        "siteUserName": "Abc"
    }
}

Rules

RuleValidation error
User must existCould not retrieve siteUser 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 stage
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 stage
A valid stage code must be suppliedThe Stage: {newStage} does not exist on caseType: mycasetype
The case must not be at the supplied stageThe case stage is already {newStage}

Behaviour

If the validation rules pass

  • Updates the case to the new stage
  • If a routine for the change to the new stage 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 stage information
Last modified on 11 September 2026