Execute process
This GraphQL mutation executes a process of an Install Integration Pack. This mutation takes the ProcessExecuteInput object as input.
Code samples
Input syntax
mutation executeProcess {
processExecute(
input: {
atomId: "Sting!"
processId: "String!"
}
)
}
| Field | Type | Description | Required/Optional |
|---|---|---|---|
| atomId | String | The ID of the basic runtime on which to run the process. | Required |
| processId | String | The ID of the process to run. | Required |
Return syntax
{
"data": {
"processExecute": "String"
}
}
Platform API objects
This GraphQL mutation uses the following platform API object:
| Platform API Object | Operation | URL |
|---|---|---|
| ExecutionRequest. See documentation. | CREATE | https://api.boomi.com/api/rest/v1/%3CaccountID%3EExecutionRequest |
Implementation
To execute a process, send the mutation request to platformboomi.com/graphql with the following headers:
| Key | Value |
|---|---|
| SPACE_GUID | <The Space guid\> |
| Authorization | Bearer <Token\> |
| Accept | application/json |
Sample request
- You can find the atomId by navigating to Manage > Runtime Management on the Integration user interface, and viewing the Runtime Information panel for a selected basic runtime.
- You can find the processId by navigating to Manage > Runtime Management on the Integration user interface, and viewing the Runtime Information panel for a selected basic runtime.
mutation executeProcess {
processExecute(
input: {
atomId: "8fa55714-8e5e-45f1-xxxx-f57f2000f464"
processId: "6e79aead-40d4-xxxx-9037-4370a86cc2f1"
}
)
}
Sample response
{
"data": {
"processExecute": "{\"@type\":\"ExecutionRequest\",\"processId\":\"6e79aead-40d4-xxxx-9037-4370a86cc2f1\",\"atomId\":\"8fa55714-8e5e-45f1-xxxx-f57f2000f464\",\"requestId\":\"executionrecord-2802cb0d-8237-4176-85cd-41abe669cdfc\",\"recordUrl\":\"https://platform.boomi.com/api/rest/v1/<account_ID>/ExecutionRecord/async/executionrecord-2802cb0d-8237-4176-85cd-41abe669cdfc\"}"
}
}