[GET] /{id}/file

[GET] /{id}/file

/api/bpm/process-definitions/{id}/file

Description

Retrieves the raw XML workflow model file for the process definition identified by {id}.

By default the model is opened read-only. Pass readOnly=false to lock it for editing.

Required Systemrole

R_WFEDIT_START (ID = 21)

Request
Method

GET

Response
Format

XML

Minimum Version

BPM Service: 1.5.0

Request
Example

/api/bpm/process-definitions/020BE136312646B6B90E0ED84B66DCE8/file

Result
Example

<os:Package xmlns:os="AS-SCHEMA:WORKFLOW" Id="1F596884B6554ECB8311EF0F9B6A381B"> <PackageHeader> ... </PackageHeader> <TypeDeclarations> ... </TypeDeclarations> <WorkflowProcesses> <WorkflowProcess Id="07A1B5CB252F48F0B1AC0E45E5EBAD42" Name="SperrfristTest"> ... </WorkflowProcess> </WorkflowProcesses> </os:Package>