Creates a question and sends it to the case owner.
Namespace
goss.CaseManagement.v1.api.case.caseQuestion.caseQuestionCreate
Worker
serverlibrary
Parameters
| Required Properties | Type | Description |
|---|---|---|
| caseBusinessKey | String <businessKey> | The business key of the case |
| caseQuestion | Object | Details of the question |
| caseQuestion.question | String | The question to send to the case owner |
| user | Object | Details of the user |
| user.siteUserName | String | The username of the person who raised the case, or a valid case manager |
| Optional Properties | Type | Description |
| caseQuestion.taskBusinessKey | String | The business key of the task the question relates to |
| caseQuestion.taskRef | String | The reference of the task the question relates to |
| caseQuestion.taskStage | String | The stage of the task the question relates to |
{
"caseBusinessKey": "0123-4567-8901-2345",
"caseQuestion": {
"question": "Abc",
"taskBusinessKey": "Abc",
"taskRef": "Abc",
"taskStage": "Abc"
},
"user": {
"siteUserName": "Abc"
}
}
Returns
| Property | Type | Description |
|---|---|---|
| success | Boolean | Whether the request completed successfully |
| errors | Array | Any errors that occurred. Only returned if there are errors |
| warnings | Array | Any warnings that occurred. Only returned if there are warnings |
Rules
| Rule | Validation error |
|---|---|
| User must exist | Could not retrieve siteUser details |
| Case must exist | Could not retrieve case Case 1234-5678-9012-3456 |
| Case must be active | User aUser does not have permissions to ask a question |
| User must be the case owner, a member of the case managers group or the case manager if one is assigned | User aUser does not have permissions to ask a question |
Behaviour
If the validation rules pass
- Creates the question against the case
- Sends the question to the case owner
Last modified on 20 October 2026
