Get Active Tasks
Get tasks for all tenants.
Returns tasks for all tenants with the following statuses: SCHEDULED
,
PROCESSING
, PAUSING
, PAUSED
,
CANCELING
, WAITING_FOR_RESOURCE
.
Request
Name | Required | Details |
---|---|---|
max |
No | Positive Integer value to identify the maximum number of tasks to
return in a response. Default is 50 . |
offset |
No | Positive Integer value to identify starting what element in the
result set should be returned in a response. Can be used to organize
pagination in combination with the max parameter.
Default is 0 . |
entityTypes |
No | . String array to filter tasks by
Example:
|
type |
No |
String value to filter tasks by Example: Deprecated: Use |
createdBy |
No |
String value to filter tasks by initiator. Deprecated: Use |
createdSince |
No |
Positive Integer value to filter tasks created since this timestamp. Deprecated: Use |
createdBefore |
No |
Positive Integer value to filter tasks created before this timestamp. Deprecated: Use |
status |
No |
Enum value to filter tasks by status. Available values:
Deprecated: Use |
orderBy |
No | Enum value to sort tasks by the field. Available values:
STATUS , CREATED_BY ,
START_TIME , CREATED_TIME ,
TASK_TYPE . Default is
CREATED_TIME . |
ascending |
No | Boolean value to set sort direction. Default is
false . |
filter |
No | Enables tasks filtering by a condition. Format for filter query parameter: The Condition types are:
AND and OR conditions. |
Response
An array of active tasks.