Skip to content

Zoho: Get scheduled jobs for a field

Zoho fields.getScheduledJobs: arguments, response, policy and SDK examples.

← Fields operations · Get started

Operation zoho.getscheduledjobs

Provider route: GET /crm/v8/settings/fields/{fieldId}/actions/scheduled_jobs. Alter supplies the connection’s credentials and routing.

Install @alter-ai/sdk @alter-ai/zoho with npm, or alter-sdk-zoho with pip. Supply your connected customer’s grant ID and the arguments described below.

import { App } from "@alter-ai/sdk";
import { ZohoIntegration } from "@alter-ai/zoho";
async function execute(input: Parameters<ZohoIntegration["fields"]["getScheduledJobs"]>[0]) {
const app = new App({ apiKey: process.env.ALTER_API_KEY! });
try {
const provider = new ZohoIntegration(app, { grantId: process.env.PROVIDER_GRANT_ID! });
const call = await provider.fields.getScheduledJobs(input);
const result = await call.wait();
return result.bodyJson();
} finally {
await app.close();
}
}
import os
from alter_sdk import App
from alter_sdk_zoho import ZohoIntegration
async def execute(arguments):
async with App(api_key=os.environ["ALTER_API_KEY"]) as app:
provider = ZohoIntegration(app, {"grant_id": os.environ["PROVIDER_GRANT_ID"]})
call = await provider.fields.get_scheduled_jobs(arguments)
result = await call.wait()
return result.body_json()
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
pathobjectRequired within parentAdditional keys: not allowed
path.fieldIdstringRequired within parentMaximum length: 255
queryobjectRequired within parentAdditional keys: not allowed
query.job_idstringOptionalFormat: int64
query.modulestringRequired within parentThe API name of the module to which the field belongs.
Maximum length: 30
query.pageintegerOptionalFormat: int32
query.per_pageintegerOptionalFormat: int32

Response media type: application/json. The table describes the pinned successful response. Referenced models link to their complete fields.

FieldTypePresenceDescription and constraints
$JSONRoot
$ (anyOf 1)ModelAlternativeExpand Get scheduled jobs for a field — response body — info, scheduled jobs
$ (anyOf 2)nullAlternative

Referenced models: Get scheduled jobs for a field — response body — info, scheduled jobs

2 more schemas are linked from the tables above, on the schema pages.

Get scheduled jobs for a field — response body — info, scheduled jobs
FieldTypePresenceDescription and constraints
$objectRootRepresents the response body for the scheduled jobs request, containing the list of scheduled picklist field action jobs and pagination details.
Additional keys: not allowed
infoModelRequired within parentExpand Get scheduled jobs for a field — response body — info, scheduled jobs info
scheduled_jobsarrayRequired within parentRepresents the list of scheduled picklist field action jobs retrieved for the specified field.
Maximum items: 200
scheduled_jobs[]ModelEach itemExpand Get scheduled jobs for a field — response body — info, scheduled jobs scheduled jobs item

Referenced models: Get scheduled jobs for a field — response body — info, scheduled jobs scheduled jobs item, Get scheduled jobs for a field — response body — info, scheduled jobs info

Get scheduled jobs for a field — response body — info, scheduled jobs scheduled jobs item
FieldTypePresenceDescription and constraints
$objectRootRepresents a scheduled job for a picklist field action (delete, replace, or delete-and-replace), including the job ID, target module, impact details, status, and message.
Additional keys: not allowed
actionstringRequired within parentRepresents the scheduler detail action.
Known values: DELETE_PICKLIST_OPTION, REPLACE_PICKLIST_OPTION, DELETE_AND_REPLACE_PICKLIST_OPTION
Maximum length: 255
detailsModelRequired within parentExpand Get scheduled jobs for a field — response body — info, scheduled jobs scheduled jobs item details
job_idstringRequired within parentRepresents the job id of the scheduler.
Format: int64
messagestringRequired within parentRepresents the message of the scheduler response.
Known values: Job completed, Job scheduled, Job failed, Job inprogress
Maximum length: 255
moduleModelRequired within parentExpand Get scheduled jobs for a field — response body — info, scheduled jobs scheduled jobs item module
statusstringRequired within parentRepresents the status of the scheduler.
Known values: SCHEDULED, FAILED, COMPLETED, INPROGRESS
Maximum length: 255
$ (allOf 1)JSONAll variants applyRepresents the description for allOf nested.
$ (allOf 2)JSONAll variants applyRepresents the description for allOf nested.
$ (allOf 3)JSONAll variants applyRepresents the description for allOf nested.
$ (allOf 4)JSONAll variants applyRepresents the description for allOf nested.
$ (allOf 5)JSONAll variants applyRepresents the description for allOf nested.
$ (allOf 6)JSONAll variants applyRepresents the description for allOf nested.
$ (allOf 7)JSONAll variants applyRepresents the description for allOf nested.
$ (allOf 8)JSONAll variants applyRepresents the description for allOf nested.
$ (allOf 9)JSONAll variants applyRepresents the description for allOf nested.
$ (allOf 10)JSONAll variants applyRepresents the description for allOf nested.
$ (allOf 11)JSONAll variants applyRepresents the description for allOf nested.
$ (allOf 12)JSONAll variants applyRepresents the description for allOf nested.

Referenced models: Get scheduled jobs for a field — response body — info, scheduled jobs scheduled jobs item module, Get scheduled jobs for a field — response body — info, scheduled jobs scheduled jobs item details

Get scheduled jobs for a field — response body — info, scheduled jobs info
FieldTypePresenceDescription and constraints
$objectRootRepresents the pagination metadata for the scheduled jobs list, including per-page size, current page, item count, and whether more records are available.
Additional keys: not allowed
countJSONRequired within parent
count (anyOf 1)integerAlternativeRepresents the count of the jobids.
Format: int32
count (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
more_recordsbooleanRequired within parentRepresents the more records available.
pageJSONRequired within parent
page (anyOf 1)integerAlternativeRepresents the page number.
Format: int32
page (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
per_pageJSONRequired within parent
per_page (anyOf 1)integerAlternativeRepresents the per page count.
Format: int32
per_page (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
Get scheduled jobs for a field — response body — info, scheduled jobs scheduled jobs item module
FieldTypePresenceDescription and constraints
$objectRootRepresents the lightweight reference to the CRM module targeted by the scheduled job, including the module API name and unique identifier.
Additional keys: not allowed
api_namestringRequired within parentRepresents the API name of the module.
Maximum length: 255
idstringRequired within parentRepresents the module Id.
Maximum length: 20
Minimum length: 13
Get scheduled jobs for a field — response body — info, scheduled jobs scheduled jobs item details
FieldTypePresenceDescription and constraints
$objectRootRepresents the aggregated impact metrics for the scheduled job across records, workflow rules, field dependencies, and dashboard criteria affected by the picklist option change.
Additional keys: not allowed
dashboard_criteriaModelOptionalExpand Get scheduled jobs for a field — response body — info, scheduled jobs scheduled jobs item details dashboard criteria
field_dependencyModelOptionalExpand Get scheduled jobs for a field — response body — info, scheduled jobs scheduled jobs item details field dependency
recordsModelRequired within parentExpand Get scheduled jobs for a field — response body — info, scheduled jobs scheduled jobs item details records
workflow_rulesModelOptionalExpand Get scheduled jobs for a field — response body — info, scheduled jobs scheduled jobs item details workflow rules

Referenced models: Get scheduled jobs for a field — response body — info, scheduled jobs scheduled jobs item details dashboard criteria, Get scheduled jobs for a field — response body — info, scheduled jobs scheduled jobs item details field dependency, Get scheduled jobs for a field — response body — info, scheduled jobs scheduled jobs item details records, Get scheduled jobs for a field — response body — info, scheduled jobs scheduled jobs item details workflow rules

Get scheduled jobs for a field — response body — info, scheduled jobs scheduled jobs item details dashboard criteria
FieldTypePresenceDescription and constraints
$objectRootRepresents the summary of dashboard criteria impact for the job, including counts of total evaluated, processed, and failed criteria.
Additional keys: not allowed
failedJSONRequired within parent
failed (anyOf 1)integerAlternativeIndicates the total number of records that failed to process during the dashboard criteria evaluation.
Format: int32
failed (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
processedJSONRequired within parent
processed (anyOf 1)integerAlternativeRepresents the processed records.
Format: int32
processed (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
totalJSONRequired within parent
total (anyOf 1)integerAlternativeRepresents the total number of records submitted for processing in the dashboard criteria evaluation, encompassing both successful and failed records.
Format: int32
total (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
Get scheduled jobs for a field — response body — info, scheduled jobs scheduled jobs item details field dependency
FieldTypePresenceDescription and constraints
$objectRootRepresents the summary of field dependency impact for the job, including counts of total evaluated, processed, and failed dependencies.
Additional keys: not allowed
failedJSONRequired within parent
failed (anyOf 1)integerAlternativeRepresents the failed field dependencies.
Format: int32
failed (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
processedJSONRequired within parent
processed (anyOf 1)integerAlternativeRepresents the processed field dependencies.
Format: int32
processed (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
totalJSONRequired within parent
total (anyOf 1)integerAlternativeRepresents the total field dependencies.
Format: int32
total (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

SDK function policy ID: zoho.getscheduledjobs. Catalog operation: getScheduledJobs. Rules can name either ID; function rules distinguish managed calls and conservatively cover raw calls sharing the route. Existing grant permissions and policy rules apply. wait() returns an immediate result or waits for a required approval; it never approves the request itself. Persist the approval ID to resume after a restart.

Provider errors retain their response; JSON decoding raises ProviderAPIError for provider failures. ManagedOperationError identifies contract/input/retention errors. See error handling and provider-specific behavior. Sensitive input may be refused before approval storage. A decoding error never resubmits a write.

No-content response statuses: [204]

Official provider source

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.