Skip to main content
Feedback

Get integration pack instance processes with their schedule

This GraphQL query retrieves the processes of an Integration Pack instance along with their run schedules. This query takes the integrationPackInstanceId object as input.

Code samples

Input syntax

query process {
integrationPackInstanceProcesses( integrationPackInstanceId:"ID"
) {
id
name
integrationPack {
integrationPackId
integrationPackInstanceId
}
processSchedules {
id
processId
atomId
envId
schedule {
minutes
hours
daysOfWeek
daysOfMonth
months
years
}
retry {
schedule {
minutes
hours
daysOfWeek
daysOfMonth
months
years
}
maxRetry
}
}
}
}
FieldTypeDescriptionRequired/Optional
integrationPackInstanceIdIDThe Integration Pack instance ID.Required
idIDThe process ID.Optional
nameStringThe process name.Optional
integrationPackIntegrationPackThe Integration Pack data.Optional
processSchedulesProcessSchedulesThe process Schedules data.Optional

integrationPack

FieldTypeDescriptionRequired/Optional
integrationPackIdIDThe Integration Pack ID.Optional
integrationPackInstanceIdStringThe Integration Instance ID.Optional

processSchedules

FieldTypeDescriptionRequired/Optional
idIDThe process schedule ID.Optional
processIdIDThe process ID.Optional
atomIdISThe basic runtime ID.Optional
scheduleScheduleThe schedule fields data.Optional
retryRetryThe retry fieldsOptional

Schedule

FieldTypeDescriptionRequired/Optional
minutesStringThe scheduled minutes.Optional
hoursStringThe scheduled hours.Optional
daysOfWeekStringThe scheduled days Of Week.Optional
daysOfMonthStringThe scheduled days Of Month.Optional
monthsStringThe scheduled months.Optional
yearsStringThe scheduled years.Optional

Retry

FieldTypeDescriptionRequired/Optional
scheduleScheduleThe schedule fields.Optional
maxRetryIntThe maximum number of retries allowed for this request.Optional

Return syntax

{
"data": {
"integrationPackInstanceProcesses": [
{
"id": "ID",
"name": "String",
"integrationPack": [
{
"integrationPackId": "ID",
"integrationPackInstanceId": "ID"
}
],
"processSchedules": {
"id": "ID",
"processId": "ID",
"atomId": "ID",
"envId": "ID",
"schedule": [],
"retry": {
"schedule": [Schedule],
"maxRetry": Int
}
}
}
]
}
}

Platform API objects

This GraphQL query uses the following Boomi Enterprise Platform API objects to retrieve the data:

Platform API ObjectOperationURL
ProcessScheduleStatusQUERYhttps://api.boomi.com/api/rest/v1/accountId/ProcessScheduleStatus/query
ProcessSchedulesQUERYhttps://api.boomi.com/api/rest/v1/accountId/ProcessSchedules/query
ProcessQUERYhttps://api.boomi.com/api/rest/v1/accountId/Process/query
EnvironmentAtomAttachmentQUERYhttps://api.boomi.com/api/rest/v1/accountId/EnvironmentAtomAttachment/query

Implementation

To get the processes of an Integration Pack instance along with their run schedules, send the query to platform.boomi.com/graphqlwith the following headers:

KeyValue
SPACE_GUID<The Space guid\>
AuthorizationBearer<Token\>
Acceptapplication/json

Sample request

Use Get all Integration Pack instances for an account query to get the id of the installed Integration Pack Instance.

query process {
integrationPackInstanceProcesses( integrationPackInstanceId:"ID"
) {
id
name
integrationPack {
integrationPackId
integrationPackInstanceId
}
processSchedules {
id
processId
atomId
envId
schedule {
minutes
hours
daysOfWeek
daysOfMonth
months
years
}
retry {
schedule {
minutes
hours
daysOfWeek
daysOfMonth
months
years
}
maxRetry
}
}
}
}

Sample response

{
"data": {
"integrationPackInstanceProcesses":
{
"id": "70d36151-4070-4a92-8d00-d7c832e4caf5",
"name": "test1",
"integrationPack": [
{
"integrationPackId": "2e659fc6-2202-4da5-9f88-ceda49303885",
"integrationPackInstanceId": "SW50ZWdyYXRpb25QYWNrSW5zdGFuY2UyNzk3Mg"
}
],
"processSchedules": {
"id": "Q1BTNGJjYjgzMTItMmY0NS00ZjI5LWFiMmQtZmEyMDU5OGMwYTc2OjcwZDM2MTUxLTQwNzAtNGE5Mi04ZDAwLWQ3YzgzMmU0Y2FmNQ",
"processId": "70d36151-4070-4a92-8d00-d7c832e4caf5",
"atomId": "4bcb8312-2f45-4f29-ab2d-fa20598c0a76",
"envId": "4c9d031e-408b-4903-a44e-5a4219e62b25",
"schedule": [],
"retry": {
"schedule": [],
"maxRetry": 5
}
}
},
{
"id": "3260ddbc-1675-4a18-9a91-ae57f3f1acaa",
"name": "test2",
"integrationPack": [
{
"integrationPackId":
"2e659fc6-2202-4da5-9f88-ceda49303885",
"integrationPackInstanceId": "SW50ZWdyYXRpb25QYWNrSW5zdGFuY2UyNzk3Mg"
}
],
"processSchedules": {
"id": "Q1BTNGJjYjgzMTItMmY0NS00ZjI5LWFiMmQtZmEyMDU5OGMwYTc2OjMyNjBkZGJjLTE2NzUtNGExOC05YTkxLWFlNTdmM2YxYWNhYQ",
"processId": "3260ddbc-1675-4a18-9a91-ae57f3f1acaa",
"atomId": "4bcb8312-2f45-4f29-ab2d-fa20598c0a76",
"envId": "4c9d031e-408b-4903-a44e-5a4219e62b25",
"schedule": [],
"retry": {
"schedule": [],
"maxRetry": 5
}
}
}
}
}
On this Page