Toggle menu

caseLinkCreate

Creates a link between two cases.

Namespace

goss.CaseManagement.v1.api.case.caseLinks.caseLinkCreate

Worker

serverlibrary

Parameters

Required PropertiesTypeDescription
caseBusinessKeyString <businessKey>The business key of the case
linkedCaseBusinessKeyString <businessKey>The business key of the case to link to
typeStringThe type of relationship between the two cases
userObjectDetails of the user
user.siteUserIdIntegerThe iCM site ID of the user
user.siteUserNameStringThe username of a valid case manager
Optional PropertiesTypeDescription
descriptionStringA description or note for the link
user.displayNameStringThe display name of the user
proxyUserObjectDetails of a user acting on behalf of the user
proxyUser.siteUserNameStringThe username of the proxy user
proxyUser.displayNameStringThe display name of the proxy user

{
    "caseBusinessKey": "0123-4567-8901-2345",
    "linkedCaseBusinessKey": "5432-1098-7654-3210",
    "type": "Abc",
    "description": "Abc",
    "user": {
        "siteUserId": 1234,
        "siteUserName": "Abc",
        "displayName": "Abc"
    },
    "proxyUser": {
        "siteUserName": "Abc",
        "displayName": "Abc"
    }
}

Rules

RuleValidation error
User must existCould not retrieve siteUser details
Case must existCould not retrieve case Case 1234-5678-9012-3456
Linked case must existCould not retrieve case Case 1234-5678-9012-3456
Case must be activeUser aUser does not have permissions to add a case link
User must be the case owner, a member of the case managers group or the case manager if one is assignedUser aUser does not have permissions to add a case link

Behaviour

If the validation rules pass

  • Creates a link of the given type from the case to the linked case
  • If a description is provided, it is saved with the link
Last modified on 20 October 2026