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

HelpDesk Processes

/api/helpdesk/processes

Exposes stored ticket-process definitions and their import/export lifecycle.

The endpoint is request-local. Its writable properties are copied into an immutable TicketProcess only in commit. Consequently a PATCH changes only supplied properties, while a client can replace the complete process graph by supplying all process properties. The graph is validated before any manager operation is performed.

Both PUT /api/helpdesk/processes/{processId} and PATCH /api/helpdesk/processes/{processId} use this same model-update contract. Only properties annotated with Set may be supplied; omitted properties retain their current values, explicit null clears a nullable property unless the property's documentation defines a defaulting rule, and explicit null for a non-nullable property is rejected with 400 process_invalid. Collections such as activities and parallelTickets are replaced as complete collections. Read-only response properties such as id and folderPath are accepted and ignored for GET-to-PUT/PATCH round-trips; the identifier in the URL selects the process to update. A native export also has no folderId; omit it to keep the current folder, or send it explicitly when moving the process.

For example, to apply a complete exported graph:


 PATCH /api/helpdesk/processes/8ut68taio3kfeap4pwjcdh4fi
 Content-Type: application/json

 {"name":"Baugenehmigungsverfahren API-Test",
  "description":"Updated description",
  "activities":[...], "startActivityId":"activity-start",
  "parallelTickets":[...], "autoResourceAccess":"NONE",
  "canBeChangedWhenActive":false}
 

Process definitions use existing model identifiers. For example, an automatic transition can refer to an activity and an action as follows:


 {
   "name": "Incident handling",
   "startActivityId": "activity-start",
   "activities": [{
     "id": "activity-start", "type": "Standard", "name": "Start",
     "requiredFieldKeys": [], "allowedActions": [], "processTicketData": {},
     "followUpActivities": [{
       "nextActivityId": "activity-finish", "actionid": 123,
       "actionLabel": "Finish", "conditionsForAutoTransition": []
     }]
   }, {
     "id": "activity-finish", "type": "FinishProcess", "name": "Finish",
     "requiredFieldKeys": [], "allowedActions": [], "processTicketData": {},
     "followUpActivities": []
   }],
   "parallelTickets": [],
   "autoResourceAccess": "NONE",
   "canBeChangedWhenActive": false
 }
 

Dependencies are represented by typed condition records. For example, a transition that may run after an activity was completed uses the activity identifier in the condition-data JSON string; a parallel-ticket dependency uses the parallel-ticket identifier instead:


 "conditionsForAutoTransition": [
   {"type":"activityFinished",
    "conditionData":"{\"itemId\":\"activity-review\",\"ignoreIfNoLongerReachable\":false}"}
 ]

 "startCondition": [
   {"type":"ticketFinished",
    "conditionData":"{\"itemId\":\"parallel-audit\",\"ignoreIfNoLongerReachable\":true}"}
 ]
 

Use activityVisited when completion is not required, ticketHasValue for a field comparison, and allTicketsFinished when every configured parallel ticket must finish. allTicketsFinished is valid only on a main-ticket automatic transition and only when at least one parallel ticket is configured. The condition type and condition-data shapes are discoverable from the metadata endpoint; all conditions in one list must be fulfilled (logical AND).

The start activity of an active parallel ticket must contain non-null ticketText. If that text is empty, its processTicketData must provide a non-empty concrete value or reference for the subject field. A main-ticket activity may use ticketText:null. Validation also checks the complete action graph: every reachable activity/status combination must have an allowed action and transition to continue or end the ticket/process. Therefore a transition using an action such as action ID 1 can still be invalid when the activity's allowed actions do not make the resulting graph reachable.

Use the process editor metadata endpoint to discover valid action identifiers, activity types, condition types and ticket-field operators. Conditions in one condition list are evaluated as an AND expression. The model's condition data must use the exact shape returned by that metadata endpoint.

GET /api/helpdesk/processes

Lists processes visible to the caller. Without folderId, all process definitions are returned. With a folder identifier, direct children are returned unless recursive is true. The optional query is a case-insensitive substring match on name and description. Results are sorted by name and bounded by limit; offset can be used to request subsequent pages. Omitting limit uses 100 entries and requesting a larger value is capped at 100, so a response never contains an unbounded number of summaries. Malformed or excessively deep folder trees fail with
500
 process_folder_tree_too_large
instead of being traversed without bounds.

Parameters

Name Location Type Required Description
folderId query string no optional folder identifier; null selects all folders
recursive query boolean no whether descendants of folderId are included; ignored without folderId
query query string no optional name or description filter
offset query integer (int32) no zero-based number of matching summaries to skip; null means zero, maximum 100000
limit query integer (int32) no maximum number of summaries; null means 100 and values above 100 are capped
fields query string no Comma-separated readable properties to include in the JSON response.

Response

Status Content Type Schema Description
200 application/json array<ProcessSummary> sorted process summaries without activity or condition payloads

Example Request

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

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

[
    {
        "folderPath": "string",
        "activityCount": 0,
        "parallelTicketCount": 0,
        "name": "string",
        "description": "string"
    }
]

POST /api/helpdesk/processes

Starts creation of a new process. The POST body supplies writable properties, including activities, startActivityId, parallelTickets, and the condition objects nested in transitions or parallel-ticket start conditions. A minimal valid body contains one Standard activity, one FinishProcess activity, and an empty parallel-ticket array; the standard activity transitions to the finish activity. Identifiers referenced by transitions must be present in the same graph.

Request Body

Content Type Schema Required Description
application/json ProcessCreate yes —

Response

Status Content Type Schema Description
201 application/json ProcessRead request-local new process endpoint with a server-generated identifier

Example Request

# Request
POST /api/helpdesk/processes HTTP/1.1
Accept: application/json
Authorization: Bearer <access-token>
Content-Type: application/json

{
    "folderPath": "string",
    "id": "d03t6ckz9clpsqrcb0l3s6biv",
    "name": "string",
    "description": "string",
    "activities": [
        {
            "nextProcessToStart": "5yf4tj2d7n75edgthy3mgorpo",
            "followUpActivities": [
                
            ],
            "ticketText": null,
            "mainTicketTextInParallelMode": "NONE",
            "name": "string"
        }
    ]
}

# Response
HTTP/1.1 201 Created
Content-Type: application/json

{
    "folderPath": "string",
    "id": "0dyqbeodru8qxws52e56kx987",
    "name": "string",
    "description": "string",
    "activities": [
        {
            "nextProcessToStart": "5yf4tj2d7n75edgthy3mgorpo",
            "followUpActivities": [
                
            ],
            "ticketText": null,
            "mainTicketTextInParallelMode": "NONE",
            "name": "string"
        }
    ]
}

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.

ProcessSummary

Property Type Required Description
folderPath string no —
activityCount integer (int32) no —
parallelTicketCount integer (int32) no —
name string no —
description string no —
id string no —
folderId string no —

ApiError

Property Type Required Description
status integer (int32) yes —
code string yes —
message string yes —
details array<object> no —

ProcessCreate

Property Type Required Description
folderPath string no

Accepts the computed folder path emitted by GET responses for round-trip updates. Folder placement is controlled by folderId; this value is never persisted.

id string no

Accepts the read-only identifier emitted by GET responses so a resource can be sent back unchanged. The URL remains authoritative and the supplied value is intentionally ignored.

name string no

Required process name, unique case-insensitively within its folder.

description string no

Optional process description. A null value removes the description.

activities array<Activity> no

Complete main-ticket activity graph, including transition condition data. PUT and PATCH replace this collection completely; omitted requests retain the current graph.

startActivityId string no

Identifier of the activity where the main ticket starts. An explicit null selects the first activity as the start activity when the graph is non-empty.

parallelTickets array<ParallelTicket> no

Complete parallel-ticket definitions, including their start conditions. PUT and PATCH replace this collection completely; omitted requests retain the current definitions.

autoResourceAccess string [NONE, READ, WRITE] no

Access level automatically granted to participating resources.

canBeChangedWhenActive boolean no

Whether a running process may use this definition after it has been changed.

folderId string no

Stable identifier of folder containing this process, including root folder. This property is not part of the native .process file and must be supplied explicitly to move a process through PUT or PATCH.

Activity

Property Type Required Description
nextProcessToStart string no —
followUpActivities array<ActivityTransition> no —
ticketText ReaStepTextVO no —
mainTicketTextInParallelMode string [NONE, APPEND, PREPEND] no —
name string no —
allowedActions array<integer (int32)> no —
description string no —
weight integer (int32) no —
processTicketData ProcessTicketData no —
id string no —
type string [Standard, FinishProcess] no —
requiredFieldKeys array<string> no —

ActivityTransition

Property Type Required Description
actionid integer (int32) no —
autoTransitionText ReaStepTextVO no —
conditionsForAutoTransition array<ProcessCondition> no —
nextActivityId string no —
actionLabel 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 —

ProcessCondition

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

ProcessTicketData

Property Type Required Description
map object no —

ProcessValueReference

Property Type Required Description
field string no —
valueString string no —
referenceType integer (int32) no —
parallelTicketId string no —

ParallelTicket

Property Type Required Description
startActivityId string no —
startCondition array<ProcessCondition> no —
actionOnMainTicketEnd integer (int32) no —
activities array<Activity> no —
name string no —
id string no —
relativeLatestStart number (int64) no —
deactivated boolean no —

ProcessRead

Property Type Required Description
folderPath string no

Human-readable folder path, or an empty string for the root folder.

id string no

Stable process identifier. Read-only on the model endpoint; the URL identifier is the target of PUT and PATCH updates. A value supplied in an update body is accepted for GET-to-PUT/PATCH round-trips and ignored; the URL identifier remains authoritative. Native .process exports therefore can be sent back unchanged.

name string no

Required process name, unique case-insensitively within its folder.

description string no

Optional process description. A null value removes the description.

activities array<Activity> no

Complete main-ticket activity graph, including transition condition data. PUT and PATCH replace this collection completely; omitted requests retain the current graph.

startActivityId string no

Identifier of the activity where the main ticket starts. An explicit null selects the first activity as the start activity when the graph is non-empty.

parallelTickets array<ParallelTicket> no

Complete parallel-ticket definitions, including their start conditions. PUT and PATCH replace this collection completely; omitted requests retain the current definitions.

autoResourceAccess string [NONE, READ, WRITE] no

Access level automatically granted to participating resources.

canBeChangedWhenActive boolean no

Whether a running process may use this definition after it has been changed.

folderId string no

Stable identifier of folder containing this process, including root folder. This property is not part of the native .process file and must be supplied explicitly to move a process through PUT or PATCH.

i-net HelpDesk
This application uses cookies to allow login. By continuing to use this application, you agree to the use of cookies.


Help