Run

URL:
https://<root>/system/tasks/<taskID>/runs/<runID>
Methods:
GET
Required Capability:
Access allowed only with the default administrator role
Version Introduced:
10.9

Description

The resource for an individual run of a task, returning information on the run.

Request parameters

ParameterDetails

f

The response format. The default format is html.

Values: html | json | pjson

Example usage

The following is a sample request URL used to access an individual run resource:

Use dark colors for code blocksCopy
1
https://organization.domain.com/context/admin/system/tasks/fdbbc58261544b2f82b61c8111a08f16/runs/a277d60ee7864ab7bd2287c30590f9d1?f=pjson

JSON Response example

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
  "result": "GP Jobs have been cleaned.",
  "task": {
    "generation": 6,
    "created": "Apr 21, 2021, 10:42:17 PM",
    "active": true,
    "ownerId": "c076e404cec9497488f008fc5b83e6fa",
    "type": "GP_JOBS_CLEANER_TASK_TYPE",
    "orgId": "0123456789ABCDEF",
    "cronSchedule": {
      "dayOfWeek": "?",
      "hour": "*",
      "month": "*",
      "dayOfMonth": "*",
      "minute": "0"
    },
    "cronExpression": "0 0 * * * ?",
    "itemId": "0a78247d-0d0d-4b69-a658-03104e15bd66",
    "runIntervalSeconds": 3600,
    "taskType": "CleanGPJobs",
    "taskState": "active",
    "taskTitle": "gpCleanerTask",
    "maxOccurrences": -1,
    "id": "2a1ba86743414f929c0c1f38b32f1c9c",
    "lastStart": "Apr 22, 2021, 3:00:00 AM",
    "updated": "Apr 22, 2021, 3:04:29 AM",
    "taskId": "2a1ba86743414f929c0c1f38b32f1c9c"
  },
  "created": "Apr 22, 2021, 3:00:31 AM",
  "modified": "Apr 22, 2021, 3:00:31 AM",
  "runId": "dae1bfa5d6ec44349790ebb3f27dd4e1",
  "url": "",
  "status": "succeeded"
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.