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

  1. [
  2. {
  3. "id":"aJobId",
  4. "jobDefinitionId":null,
  5. "processInstanceId":null,
  6. "processDefinitionId":null,
  7. "processDefinitionKey":null,
  8. "executionId":null,
  9. "exceptionMessage":null,
  10. "retries":3,
  11. "dueDate":"aDueDate",
  12. "suspended":false,
  13. "priority":0,
  14. "tenantId":null
  15. },
  16. {
  17. "id":"anotherJobId",
  18. "jobDefinitionId":null,
  19. "processInstanceId":null,
  20. "processDefinitionId":null,
  21. "processDefinitionKey":null,
  22. "executionId":null,
  23. "exceptionMessage":null,
  24. "retries":3,
  25. "dueDate":"anotherDueDate",
  26. "suspended":false,
  27. "priority":0,
  28. "tenantId":null
  29. }
  30. ]

原文: https://docs.camunda.org/manual/7.9/reference/rest/history/history-cleanup/get-history-cleanup-jobs/