{{sidenavigation.sidenavigationExpandLabel}}
{{getMsg('Help_YouAreHere')}}: /  {{page.title}} {{page.title}}
{{$root.getMsg("downLoadHelpAsPdf")}} {{helpModel.downloadHelpPdfDataStatus}}

Transitions

/api/helpdesk/processes/{processId}/activities/{activityId}/transitions

Exposes one transition leaving an activity.

The URL identifier is a SHA-256 fingerprint, not a persisted model value. Clients should use the identifier returned by the collection GET and supply a fresh identifier for later PATCH requests. Conditions are replaced as one collection; conditions in the native model are evaluated as an AND expression. The conditionData property is serialized as a JSON string. Action identifiers and condition dependencies must be obtained from the process editor metadata endpoint and from the process detail graph.

Example of an automatic transition with two dependent conditions. The first identifier must be an activity in this process. The second field key and operator must be compatible according to editor metadata. Replace every placeholder with an identifier returned by the API:


 PATCH /api/helpdesk/processes/{processId}/activities/{activityId}/transitions/{transitionId}
 {
   "actionid": 1234,
   "nextActivityId": "activity-finish",
   "conditionsForAutoTransition": [
     {"type":"activityFinished",
      "conditionData":"{\"itemId\":\"activity-review\",\"ignoreIfNoLongerReachable\":false}"},
     {"type":"ticketHasValue",
      "conditionData":"{\"referencedTicket\":null,\"ticketFieldKey\":\"priority\",\"operator\":\"EQUALS\",\"value\":\"2\"}"}
   ],
   "autoTransitionText": {
     "text": "Finish after review", "htmlContent": false, "duplicatedContent": []
   }
 }
 

GET /api/helpdesk/processes/{processId}/activities/{activityId}/transitions

Lists transitions leaving an activity.

Parameters

Name Location Type Required Description
processId path string yes —
activityId path string yes activity identifier from URL
fields query string no Comma-separated readable properties to include in the JSON response.

Response

Status Content Type Schema Description
200 application/json array<TransitionRead> transitions with API-only fingerprints

Example Request

# Request
GET /api/helpdesk/processes/<processId>/activities/<activityId>/transitions HTTP/1.1
Accept: application/json
Authorization: Bearer <access-token>

# Response
HTTP/1.1 200 OK
Content-Type: application/json

[
    {
        "transitionId": "string",
        "nextActivityId": "4ga372jupg3i4eykhmbayesxn",
        "actionid": 0,
        "actionLabel": "string",
        "conditionsForAutoTransition": [
            
        ]
    }
]

Common Error Responses

The status codes 400, 403, 404, 405, 406, 409, 413, 415, and 500 use the same ApiError JSON error format:

{
    "status": 404,
    "code": "route_not_found",
    "message": "The requested API route does not exist.",
    "details": []
}

Schemas

Request and response schemas used on this page.

TransitionRead

Property Type Required Description
transitionId string no

Transition fingerprint used in the URL.

nextActivityId string no

Target activity identifier.

actionid integer (int32) no

Action executed when transition is selected.

actionLabel string no

Optional action label.

conditionsForAutoTransition array<ProcessCondition> no

Auto-transition conditions.

autoTransitionText ReaStepTextVO no

Complete automatic-transition text including HTML and duplicate-content metadata.

ProcessCondition

Property Type Required Description
conditionData string no —
type string no —

ReaStepTextVO

Property Type Required Description
duplicatedContent array<DuplicateRange> no —
text string no —
htmlContent boolean no —

DuplicateRange

Property Type Required Description
uid string no —
ids array<integer (int32)> no —
from integer (int32) no —
to integer (int32) no —

ApiError

Property Type Required Description
status integer (int32) yes —
code string yes —
message string yes —
details array<object> no —
i-net HelpDesk
This application uses cookies to allow login. By continuing to use this application, you agree to the use of cookies.


Help