Waiting for engine...
Skip to main content

useFetchProcessSchedules()

useFetchProcessSchedules():

{ schedule, processes, isLoading, +2 more }

Provides a method to fetch process schedules for a given environment and integration pack instance. Looks up atom attachments, queries processes, and then queries schedules per (atomId, processId) pair until one is found.

Throws

If required params are missing or queries fail.

Returns

Hook state and API.

fetchSchedules()

fetchSchedules: (environmentId: string, integrationPackInstanceId: string) => Promise<void>

Parameters

environmentId
string The environment ID to search within.

integrationPackInstanceId
string The integration pack instance ID.

Returns

Promise<void>
On this Page