Get User Operation Log Count

Queries for the number of user operation log entries that fulfill the given parameters. Takes the same parameters as the Get User Operation Log (Historic) method.

Method

GET /history/user-operation/count

Parameters

Query Parameters

Name Description
deploymentId Filter by deployment id.
processDefinitionId Filter by process definition id.
processDefinitionKey Filter by process definition key.
processInstanceId Filter by process instance id.
executionId Filter by execution id.
caseDefinitionId Filter by case definition id.
caseInstanceId Filter by case instance id.
caseExecutionId Filter by case execution id.
taskId Only include operations on this task.
jobId Filter by job id.
jobDefinitionId Filter by job definition id.
userId Only include operations of this user.
operationId Filter by the id of the operation. This allows fetching of multiple entries which are part of a composite operation.
operationType Filter by the type of the operation like Claim or Delegate. See the Javadoc for a list of available operation types.
entityType Filter by the type of the entity that was affected by this operation, possible values are Task, Attachment or IdentityLink.
entityTypeIn Filter by types of the entities that was affected by this operation, possible values are Task, Attachment or IdentityLink.
property Only include operations that changed this property, e.g., owner or assignee.
afterTimestamp Restrict to entries that were created after the given timestamp. By default*, the timestamp must have the format yyyy-MM-dd'T'HH:mm:ss.SSSZ, e.g., 2014-02-25T14:58:37.000+0200.
beforeTimestamp Restrict to entries that were created before the given timestamp. By default*, the timestamp must have the format yyyy-MM-dd'T'HH:mm:ss.SSSZ, e.g., 2014-02-25T14:58:37.000+0200.

* For further information, please see the documentation.

Result

A JSON object that contains the count as the only property.

Name Value Description
count Number The number of matching log entries.

Response Codes

Code Media type Description
200 application/json Request successful.
400 application/json Returned if some of the query parameters are invalid. See the Introduction for the error response format.

Example

Request

GET /history/user-operation?operationType=Claim&userId=demo

Response

{"count": 1}

On this Page: