Skip to main content
GET
/
history
/
detail
/
{id}
Get Historic Detail
curl --request GET \
  --url http://{host}:{port}/{contextPath}/history/detail/{id} \
  --header 'Authorization: Basic <encoded-value>'
{
  "type": "variableUpdate",
  "id": "3cd79390-001a-11e7-8c6b-34f39ab71d4e",
  "processDefinitionKey": "invoice",
  "processDefinitionId": "invoice:1:3c59899b-001a-11e7-8c6b-34f39ab71d4e",
  "processInstanceId": "3cd597b7-001a-11e7-8c6b-34f39ab71d4e",
  "activityInstanceId": "StartEvent_1:3cd7456e-001a-11e7-8c6b-34f39ab71d4e",
  "executionId": "3cd597b7-001a-11e7-8c6b-34f39ab71d4e",
  "caseDefinitionKey": null,
  "caseDefinitionId": null,
  "caseInstanceId": null,
  "caseExecutionId": null,
  "taskId": null,
  "tenantId": null,
  "userOperationId": "3cd76c7f-001a-11e7-8c6b-34f39ab71d4e",
  "time": "2017-03-03T15:03:54.000+0200",
  "variableName": "amount",
  "variableInstanceId": "3cd65b08-001a-11e7-8c6b-34f39ab71d4e",
  "variableType": "Double",
  "value": 30,
  "valueInfo": {},
  "revision": 0,
  "errorMessage": null,
  "removalTime": "2018-02-10T14:33:19.000+0200",
  "rootProcessInstanceId": "aRootProcessInstanceId",
  "initial": true
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

The id of the detail.

Query Parameters

deserializeValue
boolean

Determines whether serializable variable values (typically variables that store custom Java objects) should be deserialized on server side (default true).

If set to true, a serializable variable will be deserialized on server side and transformed to JSON using Jackson's POJO/bean property introspection feature. Note that this requires the Java classes of the variable value to be on the REST API's classpath.

If set to false, a serializable variable will be returned in its serialized format. For example, a variable that is serialized as XML will be returned as a JSON string containing XML.

Note: While true is the default value for reasons of backward compatibility, we recommend setting this parameter to false when developing web applications that are independent of the Java process applications deployed to the engine.

Response

Request successful.

id
string | null

The id of the historic detail.

type
string | null

The type of the historic detail. Either formField for a submitted form field value or variableUpdate for variable updates.

processDefinitionKey
string | null

The key of the process definition that this historic detail belongs to.

processDefinitionId
string | null

The id of the process definition that this historic detail belongs to.

processInstanceId
string | null

The id of the process instance the historic detail belongs to.

activityInstanceId
string | null

The id of the activity instance the historic detail belongs to.

executionId
string | null

The id of the execution the historic detail belongs to.

caseDefinitionKey
string | null

The key of the case definition that this historic detail belongs to.

caseDefinitionId
string | null

The id of the case definition that this historic detail belongs to.

caseInstanceId
string | null

The id of the case instance the historic detail belongs to.

caseExecutionId
string | null

The id of the case execution the historic detail belongs to.

taskId
string | null

The id of the task the historic detail belongs to.

tenantId
string | null

The id of the tenant that this historic detail belongs to.

userOperationId
string | null

The id of user operation which links historic detail with user operation log entries.

time
string<date-time> | null

The time when this historic detail occurred. Default format yyyy-MM-dd'T'HH:mm:ss.SSSZ.

removalTime
string<date-time> | null

The time after which the historic detail should be removed by the History Cleanup job. Default format yyyy-MM-dd'T'HH:mm:ss.SSSZ.

rootProcessInstanceId
string | null

The process instance id of the root process instance that initiated the process containing this historic detail.

fieldId
string | null

The id of the form field.

Note: This property is only set for a HistoricVariableUpdate historic details. In these cases, the value of the type property is formField.

fieldValue
object

The submitted form field value. The value differs depending on the form field's type and on the deserializeValue parameter.

Note: This property is only set for a HistoricVariableUpdate historic details. In these cases, the value of the type property is formField.

variableName
string | null

The name of the variable which has been updated.

Note: This property is only set for a HistoricVariableUpdate historic details. In these cases, the value of the type property is variableUpdate.

variableInstanceId
string | null

The id of the associated variable instance.

Note: This property is only set for a HistoricVariableUpdate historic details. In these cases, the value of the type property is variableUpdate.

variableType
string | null

The value type of the variable.

Note: This property is only set for a HistoricVariableUpdate historic details. In these cases, the value of the type property is variableUpdate.

value
object

The variable's value. Value differs depending on the variable's type and on the deserializeValues parameter.

Note: This property is only set for a HistoricVariableUpdate historic details. In these cases, the value of the type property is variableUpdate.

valueInfo
object

A JSON object containing additional, value-type-dependent properties. For variables of type Object, the following properties are returned:

  • objectTypeName: A string representation of the object's type name.
  • serializationDataFormat: The serialization format used to store the variable.

Note: This property is only set for a HistoricVariableUpdate historic details. In these cases, the value of the type property is variableUpdate.

initial
boolean | null

Returns true for variable updates that contains the initial values of the variables.

Note: This property is only set for a HistoricVariableUpdate historic details. In these cases, the value of the type property is variableUpdate.

revision
integer | null

The revision of the historic variable update.

Note: This property is only set for a HistoricVariableUpdate historic details. In these cases, the value of the type property is variableUpdate.

errorMessage
string | null

An error message in case a Java Serialized Object could not be de-serialized.

Note: This property is only set for a HistoricVariableUpdate historic details. In these cases, the value of the type property is variableUpdate.