BpmProcessService
GET <processId>/activity (getProcessActivities)
Use case: Process not found
up to 8.16LTS: 404 BPM_PROCESSACTIVITIES_NOT_FOUND
starting from 9.0: 404 BPM_PROCESS_NOT_FOUND
GET <processId>/activity/<activityId>/datafield (getDataFields)
PUT <processId>/activity/<activityId>/datafield (setDataFields)
Use case: Process or activity not found
up to 8.16LTS: 404 BPM_DATAFIELDS_NOT_FOUND
starting from 9.0: 404 BPM_PROCESS_NOT_FOUND oder 404 BPM_PROCESS_ACTIVITY_NOT_FOUND
GET <processId>/activity/<activityId>/performer (getProcessActivityPerformer)
PUT <processId>/activity/<activityId>/performer (setProcessActivityPerformer)
Use case: Ressource not found
up to 8.16LTS: 404 BPM_PERFORMER_CONFIG_NOT_FOUND
starting from 9.0: 404 BPM_PROCESS_NOT_FOUND oder 404 BPM_PROCESS_ACTIVITY_NOT_FOUND; 404 BPM_PERFORMER_CONFIG_NOT_FOUND if a process cannot have perfomers due to its status (for instance, process was completed)
PUT <processId>/activity/<activityId>/performer (setProcessActivityPerformer)
Use case: User(s) that shall be set as performers do not exist in system
up to 8.16LTS: 500 INTERNAL_SERVER_ERROR
starting from 9.0: 404 ORGANIZATIONOBJECT_BY_NAME_NOT_FOUND
GET <processId>/history (getProcessHistory)
Use case: Ressource not found
up to 8.16LTS: 500 INTERNAL_SERVER_ERROR
starting from 9.0: 404 BPM_PROCESS_NOT_FOUND, 404 BPM_PROCESS_PERIOD_NOT_FOUND
Use case: process with the provided ID exists, but there are no history entries that match the filter criteria
up to 8.16LTS: 204 NO CONTENT
starting from 9.0: 200 with empty list
POST <processId>/resume (resumeProcess)
Use case: Process not found
up to 8.16LTS: 500 INTERNAL_SERVER_ERROR
starting from 9.0: 404 BPM_PROCESS_NOT_FOUND
POST <processId>/suspend (suspendProcess)
POST <processId>/terminate (terminateProcess)
Use case: Process not found
up to 8.16LTS: 200 OK
starting from 9.0: 404 BPM_PROCESS_NOT_FOUND
GET / (getProcesses)
Use case: no processes are found that match the filter criteria
up to 8.16LTS: 204 NO CONTENT
starting from 9.0: 200 with empty list
DELETE / (deleteProcesses)
Use case: Process cannot be deleted due to its current state
up to 8.16LTS: 403 FORBIDDEN
starting from 9.0: 409 BPM_PROCESS_ILLEGAL_STATE
GET <processId>/period (getPeriod)
Use case: Process not found
up to 8.16LTS: 200 OK
starting from 9.0: 404 BPM_PROCESS_NOT_FOUND
POST <processId>/period/<periodId>/fire (firePeriod)
POST <processId>/period/<periodId>/fire (stopPeriod)
Use case: Process or process period not found
up to 8.16LTS: 200 OK
starting from 9.0: 404 BPM_PROCESS_NOT_FOUND oder 404 BPM_PROCESS_PERIOD_NOT_FOUND
GET <processId>/<activityId> (getWorkItem)
PUT <processId>/<activityId>/lock (lockWorkItem)
Use case: Process or activity not found
up to 8.16LTS: 409 BPM_CANNOT_PERSONALIZE_WORKITEM
starting from 9.0: 404 BPM_PROCESS_NOT_FOUND, 404 BPM_PROCESS_ACTIVITY_NOT_FOUND
POST <processId>/<activityId>/save (saveWorkItem)
Use case: Process or activity not found
up to 8.16LTS: 410 GONE
starting from 9.0: 404 BPM_PROCESS_NOT_FOUND oder 404 BPM_PROCESS_ACTIVITY_NOT_FOUND)
BpmManagementService:
DELETE /project/<projectId> (deleteProject)
Use case: Process does not exist
up to 8.16LTS: 404 BPM_PROJECT_NOT_FOUND
starting from 9.0: 200 OK
GET /model/<modelId>/contents/events/<eventName> (getModelEventScript)
POST /model/<modelId>/contents/events/<eventName> (setModelEventScript)
DELETE /model/<modelId>/contents/events/<eventName> (deleteModelEventScript)
Use case: Event is not supported (does not exist for the provided component)
up to 8.16LTS: 500 INTERNAL_SERVER_ERROR
starting from 9.0: 409 BPM_EVENT_NOT_SUPPORTED
DELETE /model/<modelId>/contents/events/<eventName> (deleteModelEventScript)
Use case: Event is not supported (does not exist for the provided component)
up to 8.16LTS: 500 INTERNAL_SERVER_ERROR
starting from 9.0: 409 BPM_EVENT_NOT_SUPPORTED
GET /model/<modelId>/contents/xpdl/activities/<activityId> (getModelActivity)
Use case: Activity does not exist in the model
up to 8.16LTS: 200 OK
starting from 9.0: 404 BPM_ACTIVITY_BY_ID_NOT_FOUND
GET /model/<modelId>/contents/xpdl/activities/<activityId>/datafields (getDataFields)
GET /model/<modelId>/contents/xpdl/activities/<activityId>/datafields/<variableName> (getDataField)
Use case: Activity with provided ID does not exist
up to 8.16LTS: 404 NOT FOUND
starting from 9.0: 404 BPM_ACTIVITY_BY_ID_NOT_FOUND
GET /model/<modelId>/contents/xpdl/activities/<activityId>/datafields/<variableName> (getDataField)
Use case: Datafield with provided name does not exist
up to 8.16LTS: 200 OK
starting from 9.0: 404 BPM_DATAFIELD_BY_ID_NOT_FOUND
GET /model/<modelId>/contents/forms (getModelForm)
Use case: Workitem with provided ID does not exist
up to 8.16LTS: 500 INTERNAL_SERVER_ERROR
starting from 9.0: 404 BPM_WORKITEM_BY_ID_NOT_FOUND
Use case: No form defined for the requested component
up to 8.16LTS: 500 INTERNAL_SERVER_ERROR
starting from 9.0: 404 BPM_FORM_NOT_FOUND
POST /model/<modelId>/contents/forms (setModelForm)
Use case: Workitem with provided id does not exist in the model
up to 8.16LTS: 500 INTERNAL_SERVER_ERROR
starting from 9.0: 404 BPM_WORKITEM_BY_ID_NOT_FOUND
GET /model/<modelId>/contents/forms/info (getModelFormInfo)
Use case: No form defined for the requested component
up to 8.16LTS: 200 OK
starting from 9.0: 404 BPM_FORM_NOT_FOUND
|