Boomi Platform API Reference (1.0.0) - ProcessSchedules
The Process Schedules object represents the run schedules for a deployed process.
The platform creates the Process Schedules object for every deployed process by default. Initially, the object is empty, and a run schedule is not in effect.
The fields used to specify run times conform with the Advanced (cron) syntax supported in the Scheduling dialog in the user interface at Manage > Runtime Management.
In schedule fields, an asterisk [*] indicates that the schedule runs every minute, hour, day of the week, day of the month, month, or year. Use hyphens to specify ranges of values, and use commas as delimiters between values and ranges. The time specification of a range — whether it be a range of years, months, days of the month or week, hours, or minutes — can optionally be followed by a slash and an interval of that unit of time. For example:
- In the minutes field, a value of 0-59/15 specifies 0, 15, 30, and 45 minutes after the hour.
- In the daysOfMonth field, a value of 3-30/3 specifies every third day beginning with the third day of the month.
Required Privileges
You need these privileges in the target environment:
Write access
- API — Use the Boomi Platform API to access account data.
- SCHEDULE_MAINTENANCE or ATOM_MANAGEMENT
Read access
- API — Use the Boomi Platform API to access account data.
- SCHEDULE_MAINTENANCE or ATOM_MANAGEMENT_READ_ONLY or ATOM_MANAGEMENT
Retrieves an instance of a ProcessSchedules object
Retrieves the Process Schedules object with a specific conceptual ID.
The ordinary GET operation retrieves the Process Schedules object with a specific conceptual ID. The bulk GET operation retrieves the Process Schedules objects with specific conceptual IDs to a maximum of 100. In addition, you can obtain conceptual IDs from the QUERY operation.
Authorizations:
path Parameters
| id required | string The object’s conceptual ID, which is synthesized from the process and Runtime IDs. |
Responses
Response Schema:
object (ScheduleRetry) | |
Array of objects (Schedule) | |
| atomId | string A unique ID assigned by the system to the Runtime. |
| id | string The object’s conceptual ID, which is synthesized from the process and Runtime IDs. |
| processId | string A unique ID assigned by the system to the process. Must not be a listener process. |
Response samples
- 200
- 403
- 410
- 503
{- "@type": "ProcessSchedules",
- "Schedule": [
- {
- "@type": "Schedule",
- "minutes": "0-59/15",
- "hours": "8-18",
- "daysOfWeek": "2,3,4,5,6",
- "daysOfMonth": "*",
- "months": "*",
- "years": "*"
}, - {
- "@type": "Schedule",
- "minutes": "0-59/15",
- "hours": "19-23",
- "daysOfWeek": "1",
- "daysOfMonth": "*",
- "months": "*",
- "years": "*"
}
], - "Retry": {
- "@type": "ScheduleRetry",
- "Schedule": [
- {
- "@type": "Schedule",
- "minutes": "0-10/5",
- "hours": "19-23",
- "daysOfWeek": "7",
- "daysOfMonth": "*",
- "months": "*",
- "years": "*"
}, - {
- "@type": "Schedule",
- "minutes": "0-59/20",
- "hours": "8-18",
- "daysOfWeek": "2,3,4,5,6",
- "daysOfMonth": "*",
- "months": "*",
- "years": "*"
}
], - "maxRetry": 2
}, - "processId": "789abcde-f012-3456-789a-bcdef0123456",
- "atomId": "3456789a-bcde-f0123-4567-89abcdef012",
- "id": "Ab0Cd1Ef1Gh3Ij4Kl5Mn6Op7Qr8St9Uv0Wx9Yz8Zy7Xw6Vu5Ts4Rq3Po2Nm1Lk0Ji1Hg"
}Modifies or updates a ProcessSchedules object
Clears and updates the process run schedules specified in the Process Schedules object with a specific ID. The body of the request must specify not only the conceptual object ID but also the Runtime and process IDs. You can obtain the object ID from a QUERY operation.
A Process Schedules object exists for every deployed process. If you do not update the schedule, the object is empty and a run schedule is not in effect.
Note: Listener processes cannot be scheduled. If a listener process is referenced, the call will fail with a 400 status code.
You must have the Runtime Management privilege and the Scheduling privilege to perform the UPDATE operation. If you have the Runtime Management Read Access privilege, you cannot update process run schedules.
Note: After you update run schedules for a process on a Runtime, those schedules appear in the Scheduling dialog using the Advanced (cron) syntax.
You can additionally employ a Bulk UPDATE operation for the Process Schedules object. Refer to the related links for more information about performing a Bulk UPDATE operation.
Authorizations:
path Parameters
| id required | string The object’s conceptual ID, which is synthesized from the process and Runtime IDs. |
Request Body schema: optional
object (ScheduleRetry) | |
Array of objects (Schedule) | |
| atomId | string A unique ID assigned by the system to the Runtime. |
| id | string The object’s conceptual ID, which is synthesized from the process and Runtime IDs. |
| processId | string A unique ID assigned by the system to the process. Must not be a listener process. |
Responses
Response Schema:
object (ScheduleRetry) | |
Array of objects (Schedule) | |
| atomId | string A unique ID assigned by the system to the Runtime. |
| id | string The object’s conceptual ID, which is synthesized from the process and Runtime IDs. |
| processId | string A unique ID assigned by the system to the process. Must not be a listener process. |
Request samples
- Payload
{- "Schedule": [
- {
- "minutes": "0-59/15",
- "hours": "8-18",
- "daysOfWeek": "2,3,4,5,6",
- "daysOfMonth": "*",
- "months": "*",
- "years": "*"
}, - {
- "minutes": "0-59/15",
- "hours": "19-23",
- "daysOfWeek": "1",
- "daysOfMonth": "*",
- "months": "*",
- "years": "*"
}
], - "Retry": {
- "Schedule": [
- {
- "minutes": "0-10/5",
- "hours": "19-23",
- "daysOfWeek": "7",
- "daysOfMonth": "*",
- "months": "*",
- "years": "*"
}, - {
- "minutes": "0-59/20",
- "hours": "8-18",
- "daysOfWeek": "2,3,4,5,6",
- "daysOfMonth": "*",
- "months": "*",
- "years": "*"
}
], - "maxRetry": 2
}, - "processId": "789abcde-f012-3456-789a-bcdef0123456",
- "atomId": "3456789a-bcde-f0123-4567-89abcdef012",
- "id": "Ab0Cd1Ef1Gh3Ij4Kl5Mn6Op7Qr8St9Uv0Wx9Yz8Zy7Xw6Vu5Ts4Rq3Po2Nm1Lk0Ji1Hg"
}Response samples
- 200
- 403
- 410
- 503
{- "@type": "ProcessSchedules",
- "Schedule": [
- {
- "@type": "Schedule",
- "minutes": "0-59/15",
- "hours": "8-18",
- "daysOfWeek": "2,3,4,5,6",
- "daysOfMonth": "*",
- "months": "*",
- "years": "*"
}, - {
- "@type": "Schedule",
- "minutes": "0-59/15",
- "hours": "19-23",
- "daysOfWeek": "1",
- "daysOfMonth": "*",
- "months": "*",
- "years": "*"
}
], - "Retry": {
- "@type": "ScheduleRetry",
- "Schedule": [
- {
- "@type": "Schedule",
- "minutes": "0-10/5",
- "hours": "19-23",
- "daysOfWeek": "7",
- "daysOfMonth": "*",
- "months": "*",
- "years": "*"
}, - {
- "@type": "Schedule",
- "minutes": "0-59/20",
- "hours": "8-18",
- "daysOfWeek": "2,3,4,5,6",
- "daysOfMonth": "*",
- "months": "*",
- "years": "*"
}
], - "maxRetry": 2
}, - "processId": "789abcde-f012-3456-789a-bcdef0123456",
- "atomId": "3456789a-bcde-f0123-4567-89abcdef012",
- "id": "Ab0Cd1Ef1Gh3Ij4Kl5Mn6Op7Qr8St9Uv0Wx9Yz8Zy7Xw6Vu5Ts4Rq3Po2Nm1Lk0Ji1Hg"
}Retrieves multiple ProcessSchedules objects by identifier
To learn more about bulk, refer to the topic Bulk GET operations.
Authorizations:
Request Body schema: optional
Array of objects (BulkId) | |
| type | string Enum: "GET" "DELETE" "UPDATE" "CREATE" |
Responses
Response Schema:
Array of objects | |||||||||||
Array
| |||||||||||
Request samples
- Payload
{- "request": [
- {
- "id": "56789abc-def0-1234-5678-9abcdef01234"
}
], - "type": "GET"
}Response samples
- 200
- 403
- 410
- 503
{- "response": [
- {
- "Result": {
- "Retry": {
- "Schedule": [
- {
- "daysOfMonth": "string",
- "daysOfWeek": "string",
- "hours": "string",
- "minutes": "string",
- "months": "string",
- "years": "string"
}
], - "maxRetry": 0
}, - "Schedule": [
- {
- "years": "*",
- "months": "*",
- "daysOfMonth": "*",
- "daysOfWeek": "2,3,4,5,6",
- "hours": "8-18",
- "minutes": "0-59/15"
}, - {
- "years": "*"
}
], - "atomId": "3456789a-bcde-f0123-4567-89abcdef012",
- "id": "Ab0Cd1Ef1Gh3Ij4Kl5Mn6Op7Qr8St9Uv0Wx9Yz8Zy7Xw6Vu5Ts4Rq3Po2Nm1Lk0Ji1Hg",
- "processId": "789abcde-f012-3456-789a-bcdef0123456"
}, - "index": 0,
- "id": "string",
- "statusCode": 0,
- "errorMessage": "string"
}
]
}Queries for a ProcessSchedules 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: processId, atomId
required | 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 (ProcessSchedules) |
Request samples
- Payload
{- "QueryFilter": {
- "expression": {
- "operator": "and",
- "nestedExpression": [
- {
- "argument": [
- "3456789a-bcde-f0123-4567-89abcdef012"
], - "operator": "EQUALS",
- "property": "atomId"
}, - {
- "argument": [
- "789abcde-f012-3456-789a-bcdef0123456"
], - "operator": "EQUALS",
- "property": "processId"
}
]
}
}
}Response samples
- 200
- 403
- 410
- 503
{- "numberOfResults": 1,
- "@type": "QueryResult",
- "result": [
- {
- "@type": "ProcessSchedules",
- "Schedule": [
- {
- "@type": "Schedule",
- "minutes": "0-59/15",
- "hours": "8-18",
- "daysOfWeek": "2,3,4,5,6",
- "daysOfMonth": "*",
- "months": "*",
- "years": "*"
}, - {
- "@type": "Schedule",
- "minutes": "0-59/15",
- "hours": "19-23",
- "daysOfWeek": "1",
- "daysOfMonth": "*",
- "months": "*",
- "years": "*"
}
], - "Retry": {
- "@type": "ScheduleRetry",
- "Schedule": [
- {
- "@type": "Schedule",
- "minutes": "0-10/5",
- "hours": "19-23",
- "daysOfWeek": "7",
- "daysOfMonth": "*",
- "months": "*",
- "years": "*"
}, - {
- "@type": "Schedule",
- "minutes": "0-59/20",
- "hours": "8-18",
- "daysOfWeek": "2,3,4,5,6",
- "daysOfMonth": "*",
- "months": "*",
- "years": "*"
}
], - "maxRetry": 2
}, - "processId": "789abcde-f012-3456-789a-bcdef0123456",
- "atomId": "3456789a-bcde-f0123-4567-89abcdef012",
- "id": "Ab0Cd1Ef1Gh3Ij4Kl5Mn6Op7Qr8St9Uv0Wx9Yz8Zy7Xw6Vu5Ts4Rq3Po2Nm1Lk0Ji1Hg"
}
]
}Retrieves additional results for a ProcessSchedules 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 (ProcessSchedules) |
Response samples
- 200
- 403
- 410
- 503
{- "numberOfResults": 1,
- "@type": "QueryResult",
- "result": [
- {
- "@type": "ProcessSchedules",
- "Schedule": [
- {
- "@type": "Schedule",
- "minutes": "0-59/15",
- "hours": "8-18",
- "daysOfWeek": "2,3,4,5,6",
- "daysOfMonth": "*",
- "months": "*",
- "years": "*"
}, - {
- "@type": "Schedule",
- "minutes": "0-59/15",
- "hours": "19-23",
- "daysOfWeek": "1",
- "daysOfMonth": "*",
- "months": "*",
- "years": "*"
}
], - "Retry": {
- "@type": "ScheduleRetry",
- "Schedule": [
- {
- "@type": "Schedule",
- "minutes": "0-10/5",
- "hours": "19-23",
- "daysOfWeek": "7",
- "daysOfMonth": "*",
- "months": "*",
- "years": "*"
}, - {
- "@type": "Schedule",
- "minutes": "0-59/20",
- "hours": "8-18",
- "daysOfWeek": "2,3,4,5,6",
- "daysOfMonth": "*",
- "months": "*",
- "years": "*"
}
], - "maxRetry": 2
}, - "processId": "789abcde-f012-3456-789a-bcdef0123456",
- "atomId": "3456789a-bcde-f0123-4567-89abcdef012",
- "id": "Ab0Cd1Ef1Gh3Ij4Kl5Mn6Op7Qr8St9Uv0Wx9Yz8Zy7Xw6Vu5Ts4Rq3Po2Nm1Lk0Ji1Hg"
}
]
}