Bonitasoft Failure API
Failure leading a BPM entity instance to a failed state This Web REST API is available in **Enterprise editions only**, since version 10.3 (2025.1).
Failure leading a BPM entity instance to a failed state This Web REST API is available in **Enterprise editions only**, since version 10.3 (2025.1).
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/bonitasoft-com:bonitasoft-com-failure-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Bonitasoft Com Failure API
version: 1.0.9
license:
name: GPL-v2.0
url: http://www.gnu.org/licenses/gpl-2.0.txt
x-logo:
url: images/ofelia-logo.svg
backgroundColor: '#19465f'
altText: Bonita API
href: /
description: 'Operations tagged Failure across 2 of this provider''s published API definitions: bonita-java-client-openapi.yaml, bonita-java-client.yaml. Each path carries the servers of the definition it was published in.'
servers:
- description: Sample url for a local development server.
url: http://localhost:8080/bonita
security:
- bonita_auth: []
bonita_token: []
- bearer_auth: []
tags:
- description: 'Failure leading a BPM entity instance to a failed state
This Web REST API is available in **Enterprise editions only**, since version 10.3 (2025.1).'
name: Failure
x-displayName: BPM Failure
paths:
/API/bpm/failure/flowNode/{flowNodeInstanceId}:
get:
description: '!edition
Returns the most recent failures for the given flownode ID'
operationId: getBPMFailuresByFlowNodeInstanceId
parameters:
- description: The identifier of the flownode instance from which to retrieve the failures
explode: false
in: path
name: flowNodeInstanceId
required: true
schema:
maxLength: 250
pattern: ^[0-9\_\-\.]{0,250}$
type: string
style: simple
- description: maximum number of elements to retrieve
example: '10'
explode: true
in: query
name: c
required: true
schema:
default: 20
format: int32
minimum: 1
type: integer
style: form
responses:
'200':
content:
application/json:
schema:
items:
$ref: '#/components/schemas/BPMFailure'
type: array
description: 'Success '
'400':
content:
application/json:
example:
message: Bad request
schema:
$ref: '#/components/schemas/Error'
description: Bad request.
'401':
content:
application/json:
example:
message: Unauthorized
schema:
$ref: '#/components/schemas/Error'
description: Authorization information is missing or invalid.
'403':
content:
application/json:
example:
message: Forbidden, The request contained valid data and was understood by the server, but the server is refusing action.
schema:
$ref: '#/components/schemas/Error'
description: Forbidden, The request contained valid data and was understood by the server, but the server is refusing action.
'404':
content:
application/json:
example:
message: Resource not found.
schema:
$ref: '#/components/schemas/Error'
description: The resource for the specified ID was not found.
5XX:
content:
application/json:
example:
message: An unexpected error occured.
schema:
$ref: '#/components/schemas/Error'
description: Unexpected error.
summary: Retrieve the failures of a flownode instance by it's ID
tags:
- Failure
x-accepts:
- application/json
servers:
- description: Sample url for a local development server.
url: http://localhost:8080/bonita
/API/bpm/failure/case/{caseId}:
get:
description: '!edition
Returns the most recent failures for the given case'
operationId: getBPMFailuresByCaseId
parameters:
- description: The identifier of the case from which to retrieve the failures
explode: false
in: path
name: caseId
required: true
schema:
maxLength: 250
pattern: ^[0-9\_\-\.]{0,250}$
type: string
style: simple
- description: maximum number of elements to retrieve
example: '10'
explode: true
in: query
name: c
required: true
schema:
default: 20
format: int32
minimum: 1
type: integer
style: form
responses:
'200':
content:
application/json:
schema:
items:
$ref: '#/components/schemas/BPMFailure'
type: array
description: 'Success '
'400':
content:
application/json:
example:
message: Bad request
schema:
$ref: '#/components/schemas/Error'
description: Bad request.
'401':
content:
application/json:
example:
message: Unauthorized
schema:
$ref: '#/components/schemas/Error'
description: Authorization information is missing or invalid.
'403':
content:
application/json:
example:
message: Forbidden, The request contained valid data and was understood by the server, but the server is refusing action.
schema:
$ref: '#/components/schemas/Error'
description: Forbidden, The request contained valid data and was understood by the server, but the server is refusing action.
'404':
content:
application/json:
example:
message: Resource not found.
schema:
$ref: '#/components/schemas/Error'
description: The resource for the specified ID was not found.
5XX:
content:
application/json:
example:
message: An unexpected error occured.
schema:
$ref: '#/components/schemas/Error'
description: Unexpected error.
summary: Retrieve the failures of a case (process instance) by it's ID
tags:
- Failure
x-accepts:
- application/json
servers:
- description: Sample url for a local development server.
url: http://localhost:8080/bonita
/API/bpm/achivedFailure/case/{caseId}:
get:
description: '!edition
Returns the most recent archived failures for the given archived case sourceObjectID'
operationId: getArchivedBPMFailuresByCaseId
parameters:
- description: The original identifier (sourceObjectID) of the case from which to retrieve the failures
explode: false
in: path
name: caseId
required: true
schema:
maxLength: 250
pattern: ^[0-9\_\-\.]{0,250}$
type: string
style: simple
- description: maximum number of elements to retrieve
example: '10'
explode: true
in: query
name: c
required: true
schema:
default: 20
format: int32
minimum: 1
type: integer
style: form
responses:
'200':
content:
application/json:
schema:
items:
$ref: '#/components/schemas/ArchivedBPMFailure'
type: array
description: 'Success '
'400':
content:
application/json:
example:
message: Bad request
schema:
$ref: '#/components/schemas/Error'
description: Bad request.
'401':
content:
application/json:
example:
message: Unauthorized
schema:
$ref: '#/components/schemas/Error'
description: Authorization information is missing or invalid.
'403':
content:
application/json:
example:
message: Forbidden, The request contained valid data and was understood by the server, but the server is refusing action.
schema:
$ref: '#/components/schemas/Error'
description: Forbidden, The request contained valid data and was understood by the server, but the server is refusing action.
'404':
content:
application/json:
example:
message: Resource not found.
schema:
$ref: '#/components/schemas/Error'
description: The resource for the specified ID was not found.
5XX:
content:
application/json:
example:
message: An unexpected error occured.
schema:
$ref: '#/components/schemas/Error'
description: Unexpected error.
summary: Retrieve the archived failures of an archived case (process instance) by it's…
tags:
- Failure
x-accepts:
- application/json
servers:
- description: Sample url for a local development server.
url: http://localhost:8080/bonita
/API/bpm/failure/case/{rootCaseId}/childCases:
get:
description: '!edition
Returns the most recent failures among all the child cases (started by call activities) of a case'
operationId: getBPMFailuresByRootCaseId
parameters:
- description: The identifier of the root case from which to retrieve the failures (its sourceObjectID if the root case is archived)
explode: false
in: path
name: rootCaseId
required: true
schema:
maxLength: 250
pattern: ^[0-9\_\-\.]{0,250}$
type: string
style: simple
- description: maximum number of elements to retrieve
example: '10'
explode: true
in: query
name: c
required: true
schema:
default: 20
format: int32
minimum: 1
type: integer
style: form
responses:
'200':
content:
application/json:
schema:
items:
$ref: '#/components/schemas/BPMFailure'
type: array
description: 'Success '
'400':
content:
application/json:
example:
message: Bad request
schema:
$ref: '#/components/schemas/Error'
description: Bad request.
'401':
content:
application/json:
example:
message: Unauthorized
schema:
$ref: '#/components/schemas/Error'
description: Authorization information is missing or invalid.
'403':
content:
application/json:
example:
message: Forbidden, The request contained valid data and was understood by the server, but the server is refusing action.
schema:
$ref: '#/components/schemas/Error'
description: Forbidden, The request contained valid data and was understood by the server, but the server is refusing action.
'404':
content:
application/json:
example:
message: Resource not found.
schema:
$ref: '#/components/schemas/Error'
description: The resource for the specified ID was not found.
5XX:
content:
application/json:
example:
message: An unexpected error occured.
schema:
$ref: '#/components/schemas/Error'
description: Unexpected error.
summary: Retrieve the failures of the child cases of a root case (process instance) by…
tags:
- Failure
x-accepts:
- application/json
servers:
- description: Sample url for a local development server.
url: http://localhost:8080/bonita
/API/bpm/achivedFailure/case/{rootCaseId}/childCases:
get:
description: '!edition
Returns the most recent archived failures among all the archived child cases (started by call activities) of a case'
operationId: getArchivedBPMFailuresByRootCaseId
parameters:
- description: The identifier of the root case from which to retrieve the archived failures (its sourceObjectID if the root case is archived)
explode: false
in: path
name: rootCaseId
required: true
schema:
maxLength: 250
pattern: ^[0-9\_\-\.]{0,250}$
type: string
style: simple
- description: maximum number of elements to retrieve
example: '10'
explode: true
in: query
name: c
required: true
schema:
default: 20
format: int32
minimum: 1
type: integer
style: form
responses:
'200':
content:
application/json:
schema:
items:
$ref: '#/components/schemas/ArchivedBPMFailure'
type: array
description: 'Success '
'400':
content:
application/json:
example:
message: Bad request
schema:
$ref: '#/components/schemas/Error'
description: Bad request.
'401':
content:
application/json:
example:
message: Unauthorized
schema:
$ref: '#/components/schemas/Error'
description: Authorization information is missing or invalid.
'403':
content:
application/json:
example:
message: Forbidden, The request contained valid data and was understood by the server, but the server is refusing action.
schema:
$ref: '#/components/schemas/Error'
description: Forbidden, The request contained valid data and was understood by the server, but the server is refusing action.
'404':
content:
application/json:
example:
message: Resource not found.
schema:
$ref: '#/components/schemas/Error'
description: The resource for the specified ID was not found.
5XX:
content:
application/json:
example:
message: An unexpected error occured.
schema:
$ref: '#/components/schemas/Error'
description: Unexpected error.
summary: Retrieve the archived failures of the archived child cases of a root case…
tags:
- Failure
x-accepts:
- application/json
servers:
- description: Sample url for a local development server.
url: http://localhost:8080/bonita
components:
schemas:
Error:
additionalProperties: true
example:
exception: exception
explanations:
- explanations
- explanations
message: message
properties:
message:
description: The error message
type: string
exception:
description: The exception type
type: string
explanations:
description: Further details on the error
items:
type: string
type: array
type: object
BPMFailure:
description: A failure that happened during a BPM instance (flow node, process) execution that led to the instance being in a failed state.
example:
caseId: '2'
rootCaseId: '1'
context: expression::setvariable_decision
errorMessage: Error while executing operations
failureDate: '1732564534177'
flowNodeInstanceId: '70'
id: '456'
processDefinitionId: '45'
scope: Operation
stackTrace: Exception in thread 'main' org.bonitasoft.engine.core.process.instance.api.exceptions.SActivityStateExecutionException
properties:
caseId:
description: the id of the process instance in which that failure occurred
type: string
rootCaseId:
description: the id of the root process instance in which that failure occurred
type: string
context:
description: Context of the failure
type: string
errorMessage:
description: the message of the exception
type: string
failureDate:
description: the date when the failure occurred in milliseconds since epoch
type: string
flowNodeInstanceId:
description: the id of the flow node instance in which the failure occurred
type: string
id:
description: the failure id
type: string
processDefinitionId:
description: the process id that is associated with the flow node or case instance of the failure
type: string
scope:
description: the scope of the failure (General information, Operation, Event, Iteration, Connector, Data initialization, Actor mapping, Outgoing transition, or UNKNOWN)
type: string
stackTrace:
description: the stack trace of the exception
type: string
type: object
ArchivedBPMFailure:
description: The archived version of a failure that happened during a BPM instance (flow node, process) execution that led to the instance being in a failed state.
example:
archivedDate: '1732564904376'
caseId: '10'
rootCaseId: '9'
context: expression::setvariable_decision
errorMessage: Error while executing operations
failureDate: '1732564534177'
flowNodeInstanceId: '70'
id: '456'
processDefinitionId: '45'
scope: Operation
sourceObjectId: '23'
stackTrace: Exception in thread 'main' org.bonitasoft.engine.core.process.instance.api.exceptions.SActivityStateExecutionException
properties:
archivedDate:
description: the date when this failure was archived, in milliseconds since epoch
type: string
caseId:
description: the id of the process instance in which that failure occurred
type: string
rootCaseId:
description: the id of the root process instance in which that failure occurred
type: string
context:
description: Context of the failure
type: string
errorMessage:
description: the message of the exception
type: string
failureDate:
description: the date when the failure occurred in milliseconds since epoch
type: string
flowNodeInstanceId:
description: the id of the flow node instance in which the failure occurred
type: string
id:
description: the archived failure id
type: string
processDefinitionId:
description: the process id that is associated with the flow node or case instance of the failure
type: string
scope:
description: the scope of the failure (General information, Operation, Event, Iteration, Connector, Data initialization, Actor mapping, Outgoing transition, or UNKNOWN)
type: string
sourceObjectId:
description: the original id of the failure before it was archived
type: string
stackTrace:
description: the stack trace of the exception
type: string
type: object
securitySchemes:
bonita_auth:
description: 'To call the REST API, you must first log on with a user registered in the Engine database. Please refer to the __[Login API](#operation/login)__ operations section.
'
in: cookie
name: JSESSIONID
type: apiKey
bonita_token:
description: 'To call the REST API, you must first log on with a user registered in the Engine database. Please refer to the __[Login API](#operation/login)__ operations section.
'
in: header
name: X-Bonita-API-Token
type: apiKey
bearer_auth:
description: '
When Bonita runtime is configured for SSO with openID Connect it is possible To call the REST API directly with a Bearer Authorization header containing the access token.
'
scheme: bearer
type: http
x-refined-from:
- bonita-java-client-openapi.yaml
- bonita-java-client.yaml
x-tagGroups:
- name: Authentication
tags:
- Authentication
- PlatformAuthentication
- name: Application
tags:
- Application
- ApplicationMenu
- ApplicationPage
- FormMapping
- name: BDM
tags:
- BDM
- BusinessDataQuery
- Business Data Operations
- BDMAccessControl
- DataRetention
- name: BPM
tags:
- Activity
- ArchivedActivity
- HumanTask
- ManualTask
- Task
- UserTask
- ArchivedHumanTask
- ArchivedManualTask
- ArchivedTask
- ArchivedUserTask
- ActivityVariable
- ArchivedActivityVariable
- ProcessInstanceVariable
- ArchivedProcessInstanceVariable
- ProcessInstanceDocument
- ArchivedProcessInstanceDocument
- Actor
- ActorMember
- ProcessInstance
- ArchivedProcessInstance
- ProcessInstanceInfo
- ProcessInstanceComment
- ArchivedProcessInstanceComment
- Process
- Diagram
- ProcessInfo
- ProcessParameter
- ProcessResolutionProblem
- ProcessSupervisor
- ProcessConnectorDependency
- ConnectorFailure
- ConnectorInstance
- ArchivedConnectorInstance
- FlowNode
- ArchivedFlowNode
- Failure
- ArchivedFailure
- TimerEventTrigger
- Message
- Signal
- Delegation
- name: Custom user info
tags:
- CustomUserDefinition
- CustomUserValue
- CustomUser
- name: Identity
tags:
- ProfessionalContactData
- Group
- Membership
- Role
- User
- Authentication
- name: Platform
tags:
- PlatformAuthentication
- Platform
- License
- Information
- name: Portal
tags:
- Page
- Profile
- ProfileEntry
- ProfileMember
- Theme
- Upload
- name: System
tags:
- I18nlocale
- I18ntranslation
- Log
- Session
- Maintenance
- name: Other
tags:
- RestAPIextensions
- name: Upload
tags:
- FormFileUpload