/AWS1/CL_IOJJOBEXECUTION¶
Contains data about a job execution.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_jobid TYPE /AWS1/IOJJOBID /AWS1/IOJJOBID¶
The unique identifier you assigned to this job when it was created.
iv_thingname TYPE /AWS1/IOJTHINGNAME /AWS1/IOJTHINGNAME¶
The name of the thing that is executing the job.
iv_status TYPE /AWS1/IOJJOBEXECUTIONSTATUS /AWS1/IOJJOBEXECUTIONSTATUS¶
The status of the job execution. Can be one of: "QUEUED", "IN_PROGRESS", "FAILED", "SUCCESS", "CANCELED", "TIMED_OUT", "REJECTED", or "REMOVED".
it_statusdetails TYPE /AWS1/CL_IOJDETAILSMAP_W=>TT_DETAILSMAP TT_DETAILSMAP¶
A collection of name/value pairs that describe the status of the job execution.
The maximum length of the value in the name/value pair is 1,024 characters.
iv_queuedat TYPE /AWS1/IOJQUEUEDAT /AWS1/IOJQUEUEDAT¶
The time, in seconds since the epoch, when the job execution was enqueued.
iv_startedat TYPE /AWS1/IOJSTARTEDAT /AWS1/IOJSTARTEDAT¶
The time, in seconds since the epoch, when the job execution was started.
iv_lastupdatedat TYPE /AWS1/IOJLASTUPDATEDAT /AWS1/IOJLASTUPDATEDAT¶
The time, in seconds since the epoch, when the job execution was last updated.
iv_approxsecondsbeforetmout TYPE /AWS1/IOJAPPROXSECONDSBFRTMOUT /AWS1/IOJAPPROXSECONDSBFRTMOUT¶
The estimated number of seconds that remain before the job execution status will be changed to
TIMED_OUT. The actual job execution timeout can occur up to 60 seconds later than the estimated duration.
iv_versionnumber TYPE /AWS1/IOJVERSIONNUMBER /AWS1/IOJVERSIONNUMBER¶
The version of the job execution. Job execution versions are incremented each time they are updated by a device.
iv_executionnumber TYPE /AWS1/IOJEXECUTIONNUMBER /AWS1/IOJEXECUTIONNUMBER¶
A number that identifies a particular job execution on a particular device. It can be used later in commands that return or update job execution information.
iv_jobdocument TYPE /AWS1/IOJJOBDOCUMENT /AWS1/IOJJOBDOCUMENT¶
The content of the job document.
Queryable Attributes¶
jobId¶
The unique identifier you assigned to this job when it was created.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_JOBID() |
Getter for JOBID, with configurable default |
ASK_JOBID() |
Getter for JOBID w/ exceptions if field has no value |
HAS_JOBID() |
Determine if JOBID has a value |
thingName¶
The name of the thing that is executing the job.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_THINGNAME() |
Getter for THINGNAME, with configurable default |
ASK_THINGNAME() |
Getter for THINGNAME w/ exceptions if field has no value |
HAS_THINGNAME() |
Determine if THINGNAME has a value |
status¶
The status of the job execution. Can be one of: "QUEUED", "IN_PROGRESS", "FAILED", "SUCCESS", "CANCELED", "TIMED_OUT", "REJECTED", or "REMOVED".
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_STATUS() |
Getter for STATUS, with configurable default |
ASK_STATUS() |
Getter for STATUS w/ exceptions if field has no value |
HAS_STATUS() |
Determine if STATUS has a value |
statusDetails¶
A collection of name/value pairs that describe the status of the job execution.
The maximum length of the value in the name/value pair is 1,024 characters.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_STATUSDETAILS() |
Getter for STATUSDETAILS, with configurable default |
ASK_STATUSDETAILS() |
Getter for STATUSDETAILS w/ exceptions if field has no value |
HAS_STATUSDETAILS() |
Determine if STATUSDETAILS has a value |
queuedAt¶
The time, in seconds since the epoch, when the job execution was enqueued.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_QUEUEDAT() |
Getter for QUEUEDAT |
startedAt¶
The time, in seconds since the epoch, when the job execution was started.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_STARTEDAT() |
Getter for STARTEDAT, with configurable default |
ASK_STARTEDAT() |
Getter for STARTEDAT w/ exceptions if field has no value |
HAS_STARTEDAT() |
Determine if STARTEDAT has a value |
lastUpdatedAt¶
The time, in seconds since the epoch, when the job execution was last updated.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_LASTUPDATEDAT() |
Getter for LASTUPDATEDAT |
approximateSecondsBeforeTimedOut¶
The estimated number of seconds that remain before the job execution status will be changed to
TIMED_OUT. The actual job execution timeout can occur up to 60 seconds later than the estimated duration.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_APPROXSECONDSBEFORETMOUT() |
Getter for APPROXSECONDSBEFORETIMEDOUT, with configurable de |
ASK_APPROXSECONDSBEFORETMOUT() |
Getter for APPROXSECONDSBEFORETIMEDOUT w/ exceptions if fiel |
HAS_APPROXSECONDSBEFORETMOUT() |
Determine if APPROXSECONDSBEFORETIMEDOUT has a value |
versionNumber¶
The version of the job execution. Job execution versions are incremented each time they are updated by a device.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_VERSIONNUMBER() |
Getter for VERSIONNUMBER |
executionNumber¶
A number that identifies a particular job execution on a particular device. It can be used later in commands that return or update job execution information.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_EXECUTIONNUMBER() |
Getter for EXECUTIONNUMBER, with configurable default |
ASK_EXECUTIONNUMBER() |
Getter for EXECUTIONNUMBER w/ exceptions if field has no val |
HAS_EXECUTIONNUMBER() |
Determine if EXECUTIONNUMBER has a value |
jobDocument¶
The content of the job document.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_JOBDOCUMENT() |
Getter for JOBDOCUMENT, with configurable default |
ASK_JOBDOCUMENT() |
Getter for JOBDOCUMENT w/ exceptions if field has no value |
HAS_JOBDOCUMENT() |
Determine if JOBDOCUMENT has a value |