Deprecated! Use GET /history/cleanup/jobs
instead.
Finds history cleanup job (See History cleanup).
Method
GET /history/cleanup/job
Parameters
Query Parameters
Not used
Request Body
Not used
Result
A JSON object representing scheduled job.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 job does not exist |
Example
Request
GET /history/cleanup/job
Response
{
"id":"074bd92a-1a95-11e7-8ceb-34f39ab71d4e",
"jobDefinitionId":null,
"processInstanceId":null,
"processDefinitionId":null,
"processDefinitionKey":null,
"executionId":null,
"exceptionMessage":null,
"retries":3,
"dueDate":"2017-04-06T13:57:45.000+0200",
"suspended":false,
"priority":0,
"tenantId":null
}
原文: https://docs.camunda.org/manual/7.9/reference/rest/history/history-cleanup/get-history-cleanup-job/