Finds history cleanup jobs (See History cleanup).
Method
GET /history/cleanup/jobs
Parameters
Query Parameters
Not used
Request Body
Not used
Result
A list of JSON objects representing scheduled jobs.See Get Job for the structure and example.
Response Codes
Code | Media type | Description |
---|---|---|
200 | application/json | Request successful. |
404 | application/json | History clean up jobs are empty. |
Example
Request
GET /history/cleanup/jobs
Response
[
{
"id":"aJobId",
"jobDefinitionId":null,
"processInstanceId":null,
"processDefinitionId":null,
"processDefinitionKey":null,
"executionId":null,
"exceptionMessage":null,
"retries":3,
"dueDate":"aDueDate",
"suspended":false,
"priority":0,
"tenantId":null
},
{
"id":"anotherJobId",
"jobDefinitionId":null,
"processInstanceId":null,
"processDefinitionId":null,
"processDefinitionKey":null,
"executionId":null,
"exceptionMessage":null,
"retries":3,
"dueDate":"anotherDueDate",
"suspended":false,
"priority":0,
"tenantId":null
}
]
原文: https://docs.camunda.org/manual/7.9/reference/rest/history/history-cleanup/get-history-cleanup-jobs/