List failed async jobs
GET {{baseUrl}}/process-instances/administration/failedasync-jobs?id=nisi laboris cupidatat mollit&processInstanceId=nisi laboris cupidatat mollit&executionId=nisi laboris cupidatat mollit&processDefinitionId=nisi laboris cupidatat mollit&elementId=nisi laboris cupidatat mollit&elementName=nisi laboris cupidatat mollit&executable=true&timersOnly=true&messagesOnly=true&withException=true&dueBefore=1972-11-16T11:48:04.230Z&dueAfter=1972-11-16T11:48:04.230Z&exceptionMessage=nisi laboris cupidatat mollit&locked=true&unlocked=true&filterByCurrentSubscription=true&offset=nisi laboris cupidatat mollit&count=nisi laboris cupidatat mollit&sort=id
List async jobs which previously failed due to runtime errors.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
id | string | Only return job with the given id | |
processInstanceId | string | Only return jobs part of a process with the given id | |
executionId | string | Only return jobs part of an execution with the given id | |
processDefinitionId | string | Only return jobs with the given process definition id | |
elementId | string | Only return jobs with the given element id | |
elementName | string | Only return jobs with the given element name | |
executable | boolean | If true, only return jobs which are executable. If false, this parameter is ignored. | |
timersOnly | boolean | If true, only return jobs which are timers. If false, this parameter is ignored. Cannot be used together with 'messagesOnly'. | |
messagesOnly | boolean | If true, only return jobs which are messages. If false, this parameter is ignored. Cannot be used together with 'timersOnly' | |
withException | boolean | If true, only return jobs for which an exception occurred while executing it. If false, this parameter is ignored. | |
dueBefore | string | Only return jobs which are due to be executed before the given date. Jobs without duedate are never returned using this parameter. | |
dueAfter | string | Only return jobs which are due to be executed after the given date. Jobs without duedate are never returned using this parameter. | |
exceptionMessage | string | Only return jobs with the given exception message | |
locked | boolean | If true, only return jobs which are locked. If false, this parameter is ignored. | |
unlocked | boolean | If true, only return jobs which are unlocked. If false, this parameter is ignored. | |
filterByCurrentSubscription | boolean | Only return the jobs in the current subscription | |
offset | string | Start position value in the list of items, used for pagination. | |
count | string | Number of items to be limited in the response, used for pagination. By default the count value is set to 10. | |
sort | string | Property to sort on, to be used together with the order. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"content":[[{"createTime":"2013-06-03T22:05:05.474+0000","dueDate":"2013-06-04T22:05:05.474+0000","elementId":"sid-207E273E-66B6-41CF-8DF5-E454FFECE413","elementName":"Sample Task","exceptionMessage":"Error creating bean with name 'scopedTarget.oauth2ClientContext': Scope 'request' is not active for the current thread; consider defining a scoped proxy for this bean if you intend to refer to it from a singleton; nested exception is java.lang.IllegalS...","executionId":"01777f39-465e-11ea-bca8-989096a6571f","id":"0177a64d-465e-11ea-bca8-989096a6571f","links":{"empty":false},"processDefinitionId":"AsyncCheck:1:113e9d4d-4652-11ea-8349-989096a6571f","processInstanceId":"01777f37-465e-11ea-bca8-989096a6571f","retries":3,"subscriptionId":"8f43f508-d71d-479e-ad41-22bfe390debc","tenantId":"56adec43-d43a-4112-9f49-cd7c64d1d75b"},{"createTime":"2013-06-03T22:05:05.474+0000","dueDate":"2013-06-04T22:05:05.474+0000","elementId":"sid-207E273E-66B6-41CF-8DF5-E454FFECE413","elementName":"Sample Task","exceptionMessage":"Error creating bean with name 'scopedTarget.oauth2ClientContext': Scope 'request' is not active for the current thread; consider defining a scoped proxy for this bean if you intend to refer to it from a singleton; nested exception is java.lang.IllegalS...","executionId":"01777f39-465e-11ea-bca8-989096a6571f","id":"0177a64d-465e-11ea-bca8-989096a6571f","links":{"empty":true},"processDefinitionId":"AsyncCheck:1:113e9d4d-4652-11ea-8349-989096a6571f","processInstanceId":"01777f37-465e-11ea-bca8-989096a6571f","retries":3,"subscriptionId":"8f43f508-d71d-479e-ad41-22bfe390debc","tenantId":"56adec43-d43a-4112-9f49-cd7c64d1d75b"}],[{"createTime":"2013-06-03T22:05:05.474+0000","dueDate":"2013-06-04T22:05:05.474+0000","elementId":"sid-207E273E-66B6-41CF-8DF5-E454FFECE413","elementName":"Sample Task","exceptionMessage":"Error creating bean with name 'scopedTarget.oauth2ClientContext': Scope 'request' is not active for the current thread; consider defining a scoped proxy for this bean if you intend to refer to it from a singleton; nested exception is java.lang.IllegalS...","executionId":"01777f39-465e-11ea-bca8-989096a6571f","id":"0177a64d-465e-11ea-bca8-989096a6571f","links":{"empty":true},"processDefinitionId":"AsyncCheck:1:113e9d4d-4652-11ea-8349-989096a6571f","processInstanceId":"01777f37-465e-11ea-bca8-989096a6571f","retries":3,"subscriptionId":"8f43f508-d71d-479e-ad41-22bfe390debc","tenantId":"56adec43-d43a-4112-9f49-cd7c64d1d75b"},{"createTime":"2013-06-03T22:05:05.474+0000","dueDate":"2013-06-04T22:05:05.474+0000","elementId":"sid-207E273E-66B6-41CF-8DF5-E454FFECE413","elementName":"Sample Task","exceptionMessage":"Error creating bean with name 'scopedTarget.oauth2ClientContext': Scope 'request' is not active for the current thread; consider defining a scoped proxy for this bean if you intend to refer to it from a singleton; nested exception is java.lang.IllegalS...","executionId":"01777f39-465e-11ea-bca8-989096a6571f","id":"0177a64d-465e-11ea-bca8-989096a6571f","links":{"empty":true},"processDefinitionId":"AsyncCheck:1:113e9d4d-4652-11ea-8349-989096a6571f","processInstanceId":"01777f37-465e-11ea-bca8-989096a6571f","retries":3,"subscriptionId":"8f43f508-d71d-479e-ad41-22bfe390debc","tenantId":"56adec43-d43a-4112-9f49-cd7c64d1d75b"}]],"links":{"empty":false}}