Boomi Platform API Reference (1.0.0) - ExecutionRecord
Execution records correspond to the Executions search on the Process Reporting page in the user interface. The Execution Record object contains information about a process run, including the run date, status, process information, Runtime information, and error messages along with other fields.
Required Privileges
You need these privileges in the target environment:
Write access
- N/A
Read access
- API — Use the Boomi Platform API to access account data.
- VIEW_RESULT — View and monitor process execution activity and logs.
Retrieves an instance of an ExecutionRecord object
- Use the GET operation with the Execution Request object. You use the Execution Request object to asynchronously run an integration process on a given Atom using a CREATE operation. Therefore, the
Execution RecordGET operation allows you to poll for when the run request is complete. - The Execution Request object POST response returns a requestId. Use the requestId in a subsequent call to the Execution Record object, which provides a record of the successful process run.
- Repeatedly poll the Execution Record object with requestId until the run record is available. If the
ExecutionRecordis not available, it returns an HTTP 202 status code. When theExecutionRecordis available, it returns the Execution Record object's payload.
Note: For long running processes, you may need to continue to poll
ExecutionRecorduntil it returns a completed status such as COMPLETE or ERROR.
Authorizations:
path Parameters
| id required | string |
Responses
Response Schema:
| account required | string The ID of the account in which you ran this execution. |
| atomId required | string The ID of the Runtime the on which the process ran. |
| atomName required | string The name of the Runtime on which the process ran. |
| executionId required | string The ID of the execution. |
| executionTime required | string <date-time> The start date and time this run. |
| executionType required | string Enum: "exec_manual" "exec_sched" "exec_listener" "exec_listener_bridge" "exec_remote" "retry_manual" "retry_sched" "fiber" "sub_process" "test_manual" "test_sub_process" "unknown" Indicates how initiation of the process run occurred. Possible values are: |
| launcherID required | string The API Service component that kicks off the run. |
| message required | string Any error message returned from the run. |
| nodeId required | string The ID of the Molecule node in which the run occurred for a process run in a Runtime cluster or Runtime cloud. For a run occurring in a Runtime, this field is omitted. |
| originalExecutionId required | string The original execution ID, if this execution is a retry. |
| parentExecutionId required | string The ID of the run of the parent process, if this run and the parent process’ run were both subprocesses. |
| processId required | string The ID of the run process. |
| processName required | string The name of the run process. |
| recordedDate required | string <date-time> The end time when the process execution completes. |
| reportKey required | string The web service user that authenticated to make the run request. |
| status required | string The status of the run. Possible values are: |
| topLevelExecutionId required | string The ID of the run of the top-level process, if this run is a subprocess. |
| executionDuration | integer <int64> The number of milliseconds it took to run the process. |
| inboundDocumentCount | integer <int32> The number of processed inbound documents. |
| inboundDocumentSize | integer <int64> The aggregate size in bytes of the processed inbound documents. |
| inboundErrorDocumentCount | integer <int32> The number of processed inbound documents with errors. |
| outboundDocumentCount | integer <int32> The number of processed outbound documents. |
| outboundDocumentSize | integer <int64> The aggregate size in bytes of the processed outbound documents. |
Response samples
- 200
- 403
- 410
- 503
{- "account": "account1234",
- "atomId": "3456789a-bcde-f0123-4567-89abcdef012",
- "atomName": "Boomi Atom",
- "executionDuration": "4827",
- "executionId": "execution-110b23f4-567a-8d90-1234-56789e0b123d",
- "executionTime": "2020-12-08T16:20:11Z",
- "executionType": "exec_manual",
- "inboundDocumentCount": "1",
- "inboundDocumentSize": "0",
- "inboundErrorDocumentCount": "0",
- "launcherID": "string",
- "message": "string",
- "nodeId": "172_16_22_55[execution-110b23f4-567a-8d90-1234-56789e0b123d]",
- "originalExecutionId": "string",
- "outboundDocumentCount": "0",
- "outboundDocumentSize": "0",
- "parentExecutionId": "string",
- "processId": "789abcde-f012-3456-789a-bcdef0123456",
- "processName": "My First Process",
- "recordedDate": "2019-08-24T14:15:22Z",
- "reportKey": "string",
- "status": "COMPLETE",
- "topLevelExecutionId": "string"
}Queries for an ExecutionRecord object(s)
For general information about the structure of QUERY filters, their sample payloads, and how to handle the paged results, refer to Query filters and Query paging.
Authorizations:
Request Body schema: optional
Possible properties include: executionId, originalExecutionId, account, executionTime, status, executionType, processName, processId, atomName, atomId, inboundDocumentCount, outboundDocumentCount, executionDuration, message, reportKey, launcherId, nodeId, recordedDate
required | object |
object |
Responses
Response Schema:
| numberOfResults | integer <int32> |
| queryToken | string By default, the queryToken parameter is not available in the query response. It appears only when the query response contains more than 100 results. The maximum number of results returned per query is 100. To retrieve the next set of results, use the queryToken in the queryMore request. |
Array of objects (ExecutionRecord) |
Request samples
- Payload
{- "QueryFilter": {
- "expression": {
- "argument": [
- "5c94d512-4dfe-404b-b32a-8063259436f7"
], - "operator": "EQUALS",
- "property": "processId"
}
}, - "QuerySort": {
- "sortField": [
- {
- "fieldName": "executionTime",
- "sortOrder": "DESC"
}
]
}
}Response samples
- 200
- 403
- 410
- 503
{- "@type": "QueryResult",
- "result": [
- {
- "@type": "ExecutionRecord",
- "executionId": "execution-107306ba-a299-46e8-954a-a9ec48f0f11f-2024.09.25",
- "account": "Boomi-123",
- "executionTime": "2024-09-25T15:41:54Z",
- "status": "COMPLETE",
- "executionType": "exec_manual",
- "processName": "Process Status",
- "processId": "5c94d512-4dfe-404b-b32a-8063259436f7",
- "atomName": "Biggie",
- "atomId": "05362201-cf51-4fef-95eb-ae1f0b8e7273",
- "inboundDocumentCount": 1,
- "inboundErrorDocumentCount": 0,
- "outboundDocumentCount": 0,
- "executionDuration": [
- "Long",
- 3832
], - "inboundDocumentSize": [
- "Long",
- 0
], - "outboundDocumentSize": [
- "Long",
- 0
], - "nodeId": "172_16_22_224[execution-107306ba-a299-46e8-954a-a9ec48f0f11f-2024.09.25]",
- "recordedDate": "2024-09-25T15:41:58Z"
}, - {
- "@type": "ExecutionRecord",
- "executionId": "execution-f720abfd-a695-46cd-b343-e800a89079c8-2024.09.25",
- "account": "Boomi-123",
- "executionTime": "2024-09-25T07:13:27Z",
- "status": "COMPLETE",
- "executionType": "exec_manual",
- "processName": "Process Status",
- "processId": "5c94d512-4dfe-404b-b32a-8063259436f7",
- "atomName": "Biggie",
- "atomId": "05362201-cf51-4fef-95eb-ae1f0b8e7273",
- "inboundDocumentCount": 1,
- "inboundErrorDocumentCount": 0,
- "outboundDocumentCount": 0,
- "executionDuration": [
- "Long",
- 4480
], - "inboundDocumentSize": [
- "Long",
- 0
], - "outboundDocumentSize": [
- "Long",
- 0
], - "nodeId": "172_16_22_55[execution-f720abfd-a695-46cd-b343-e800a89079c8-2024.09.25]",
- "recordedDate": "2024-09-25T07:13:31Z"
}, - {
- "@type": "ExecutionRecord",
- "executionId": "execution-f4fc62a3-57c8-49d5-bb00-2b430121e77c-2024.09.25",
- "account": "Boomi-123",
- "executionTime": "2024-09-25T06:36:03Z",
- "status": "COMPLETE",
- "executionType": "exec_manual",
- "processName": "INT-10962",
- "processId": "5c94d512-4dfe-404b-b32a-8063259436f7",
- "atomName": "Biggie",
- "atomId": "05362201-cf51-4fef-95eb-ae1f0b8e7273",
- "inboundDocumentCount": 1,
- "inboundErrorDocumentCount": 0,
- "outboundDocumentCount": 0,
- "executionDuration": [
- "Long",
- 4812
], - "inboundDocumentSize": [
- "Long",
- 0
], - "outboundDocumentSize": [
- "Long",
- 0
], - "nodeId": "172_16_22_55[execution-f4fc62a3-57c8-49d5-bb00-2b430121e77c-2024.09.25]",
- "recordedDate": "2024-09-25T06:36:08Z"
}, - {
- "@type": "ExecutionRecord",
- "executionId": "execution-dc1d980a-c2fa-46fa-9b6d-23023450f058-2024.09.25",
- "account": "Boomi-123",
- "executionTime": "2024-09-25T06:34:14Z",
- "status": "COMPLETE",
- "executionType": "exec_manual",
- "processName": "Process Status",
- "processId": "5c94d512-4dfe-404b-b32a-8063259436f7",
- "atomName": "Biggie",
- "atomId": "05362201-cf51-4fef-95eb-ae1f0b8e7273",
- "inboundDocumentCount": 1,
- "inboundErrorDocumentCount": 0,
- "outboundDocumentCount": 0,
- "executionDuration": [
- "Long",
- 3874
], - "inboundDocumentSize": [
- "Long",
- 0
], - "outboundDocumentSize": [
- "Long",
- 0
], - "nodeId": "172_16_21_144[execution-dc1d980a-c2fa-46fa-9b6d-23023450f058-2024.09.25]",
- "recordedDate": "2024-09-25T06:34:18Z"
}
], - "numberOfResults": 4
}Retrieves additional results for an ExecutionRecord query
To learn about using queryMore, refer to the topic Query paging.
Authorizations:
Request Body schema: text/plainrequired
Responses
Response Schema:
| numberOfResults | integer <int32> |
| queryToken | string By default, the queryToken parameter is not available in the query response. It appears only when the query response contains more than 100 results. The maximum number of results returned per query is 100. To retrieve the next set of results, use the queryToken in the queryMore request. |
Array of objects (ExecutionRecord) |
Response samples
- 200
- 403
- 410
- 503
{- "@type": "QueryResult",
- "result": [
- {
- "@type": "ExecutionRecord",
- "executionId": "execution-107306ba-a299-46e8-954a-a9ec48f0f11f-2024.09.25",
- "account": "Boomi-123",
- "executionTime": "2024-09-25T15:41:54Z",
- "status": "COMPLETE",
- "executionType": "exec_manual",
- "processName": "Process Status",
- "processId": "5c94d512-4dfe-404b-b32a-8063259436f7",
- "atomName": "Biggie",
- "atomId": "05362201-cf51-4fef-95eb-ae1f0b8e7273",
- "inboundDocumentCount": 1,
- "inboundErrorDocumentCount": 0,
- "outboundDocumentCount": 0,
- "executionDuration": [
- "Long",
- 3832
], - "inboundDocumentSize": [
- "Long",
- 0
], - "outboundDocumentSize": [
- "Long",
- 0
], - "nodeId": "172_16_22_224[execution-107306ba-a299-46e8-954a-a9ec48f0f11f-2024.09.25]",
- "recordedDate": "2024-09-25T15:41:58Z"
}, - {
- "@type": "ExecutionRecord",
- "executionId": "execution-f720abfd-a695-46cd-b343-e800a89079c8-2024.09.25",
- "account": "Boomi-123",
- "executionTime": "2024-09-25T07:13:27Z",
- "status": "COMPLETE",
- "executionType": "exec_manual",
- "processName": "Process Status",
- "processId": "5c94d512-4dfe-404b-b32a-8063259436f7",
- "atomName": "Biggie",
- "atomId": "05362201-cf51-4fef-95eb-ae1f0b8e7273",
- "inboundDocumentCount": 1,
- "inboundErrorDocumentCount": 0,
- "outboundDocumentCount": 0,
- "executionDuration": [
- "Long",
- 4480
], - "inboundDocumentSize": [
- "Long",
- 0
], - "outboundDocumentSize": [
- "Long",
- 0
], - "nodeId": "172_16_22_55[execution-f720abfd-a695-46cd-b343-e800a89079c8-2024.09.25]",
- "recordedDate": "2024-09-25T07:13:31Z"
}, - {
- "@type": "ExecutionRecord",
- "executionId": "execution-f4fc62a3-57c8-49d5-bb00-2b430121e77c-2024.09.25",
- "account": "Boomi-123",
- "executionTime": "2024-09-25T06:36:03Z",
- "status": "COMPLETE",
- "executionType": "exec_manual",
- "processName": "INT-10962",
- "processId": "5c94d512-4dfe-404b-b32a-8063259436f7",
- "atomName": "Biggie",
- "atomId": "05362201-cf51-4fef-95eb-ae1f0b8e7273",
- "inboundDocumentCount": 1,
- "inboundErrorDocumentCount": 0,
- "outboundDocumentCount": 0,
- "executionDuration": [
- "Long",
- 4812
], - "inboundDocumentSize": [
- "Long",
- 0
], - "outboundDocumentSize": [
- "Long",
- 0
], - "nodeId": "172_16_22_55[execution-f4fc62a3-57c8-49d5-bb00-2b430121e77c-2024.09.25]",
- "recordedDate": "2024-09-25T06:36:08Z"
}, - {
- "@type": "ExecutionRecord",
- "executionId": "execution-dc1d980a-c2fa-46fa-9b6d-23023450f058-2024.09.25",
- "account": "Boomi-123",
- "executionTime": "2024-09-25T06:34:14Z",
- "status": "COMPLETE",
- "executionType": "exec_manual",
- "processName": "Process Status",
- "processId": "5c94d512-4dfe-404b-b32a-8063259436f7",
- "atomName": "Biggie",
- "atomId": "05362201-cf51-4fef-95eb-ae1f0b8e7273",
- "inboundDocumentCount": 1,
- "inboundErrorDocumentCount": 0,
- "outboundDocumentCount": 0,
- "executionDuration": [
- "Long",
- 3874
], - "inboundDocumentSize": [
- "Long",
- 0
], - "outboundDocumentSize": [
- "Long",
- 0
], - "nodeId": "172_16_21_144[execution-dc1d980a-c2fa-46fa-9b6d-23023450f058-2024.09.25]",
- "recordedDate": "2024-09-25T06:34:18Z"
}
], - "numberOfResults": 4
}