Historic Detail

Get Historic Details

Queries for historic details that fulfill the given parameters. The size of the result set can be retrieved by using the Get Historic Detail Count method.

get/history/detail

Request

  • Base URL: http://localhost:8080/engine-rest
  • URL: http://localhost:8080/engine-rest/history/detail
  • Auth: HTTP basic

Query parameters

processInstanceIdstring

Filter by process instance id.

processInstanceIdInstring

Only include historic details which belong to one of the passed comma-separated process instance ids.

executionIdstring

Filter by execution id.

taskIdstring

Filter by task id.

activityInstanceIdstring

Filter by activity instance id.

caseInstanceIdstring

Filter by case instance id.

caseExecutionIdstring

Filter by case execution id.

variableInstanceIdstring

Filter by variable instance id.

variableTypeInstring

Only include historic details where the variable updates belong to one of the passed comma-separated list of variable types. A list of all supported variable types can be found here. Note: All non-primitive variables are associated with the type serializable.

variableNameLikestring

Filter by variable name like. Example usage: variableNameLike(%camunda%). The query will match the names of variables in a case-insensitive way.

tenantIdInstring

Filter by a comma-separated list of tenant ids.

withoutTenantIdboolean

Only include historic details that belong to no tenant. Value may only be true, as false is the default behavior.

userOperationIdstring

Filter by a user operation id.

formFieldsboolean

Only include HistoricFormFields. Value may only be true, as false is the default behavior.

variableUpdatesboolean

Only include HistoricVariableUpdates. Value may only be true, as false is the default behavior.

excludeTaskDetailsboolean

Excludes all task-related HistoricDetails, so only items which have no task id set will be selected. When this parameter is used together with taskId, this call is ignored and task details are not excluded. Value may only be true, as false is the default behavior.

initialboolean

Restrict to historic variable updates that contain only initial variable values. Value may only be true, as false is the default behavior.

occurredBeforestring date-time

Restrict to historic details that occured before the given date (including the date). Default format yyyy-MM-dd'T'HH:mm:ss.SSSZ, e.g., 2013-01-23T14:42:45.000+0200.

occurredAfterstring date-time

Restrict to historic details that occured after the given date (including the date). Default format yyyy-MM-dd'T'HH:mm:ss.SSSZ, e.g., 2013-01-23T14:42:45.000+0200.

sortBy'processInstanceId' | 'variableName' | 'variableType' | 'variableRevision' | 'formPropertyId' | 'time' | 'occurrence' | 'tenantId'

Sort the results lexicographically by a given criterion. Must be used in conjunction with the sortOrder parameter.

sortOrder'asc' | 'desc'

Sort the results in a given order. Values may be asc for ascending order or desc for descending order. Must be used in conjunction with the sortBy parameter.

firstResultinteger

Pagination of results. Specifies the index of the first result to return.

maxResultsinteger

Pagination of results. Specifies the maximum number of results to return. Will return less results if there are no more results left.

deserializeValuesboolean

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.

idstring nullable

The id of the historic detail.

typestring nullable

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

processDefinitionKeystring nullable

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

processDefinitionIdstring nullable

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

processInstanceIdstring nullable

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

activityInstanceIdstring nullable

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

executionIdstring nullable

The id of the execution the historic detail belongs to.

caseDefinitionKeystring nullable

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

caseDefinitionIdstring nullable

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

caseInstanceIdstring nullable

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

caseExecutionIdstring nullable

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

taskIdstring nullable

The id of the task the historic detail belongs to.

tenantIdstring nullable

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

userOperationIdstring nullable

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

timestring date-time nullable

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

removalTimestring date-time nullable

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.

rootProcessInstanceIdstring nullable

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

fieldIdstring nullable

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.

fieldValueobject

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.

variableNamestring nullable

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.

variableInstanceIdstring nullable

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.

variableTypestring nullable

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.

valueobject

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.

valueInfoobject

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.

initialboolean nullable

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.

revisioninteger nullable

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.

errorMessagestring nullable

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.

Changes

No recorded changes to this operation across all 1 revision of this API.