Waiting for engine...
Skip to main content

useFetchExecutionRecords()

useFetchExecutionRecords(

id: string
,
searchTerm: string
):
{ records, isLoading, error, +4 more }

Fetches execution records for all processes under a given integration pack instance ID (id). Optionally filters by a search term (case-insensitive) against the record message field. Records are sorted (oldest → newest) when no search term is provided, and paginated with a fixed page size.

Throws

Sets error state if Boomi client is missing or if required parameters are not provided.

Parameters

id

Integration pack instance ID whose processes' execution records are fetched.

searchTerm

Optional case-insensitive filter applied to record messages. Default

Default: \'\'.

Returns

Hook API with current page of records, loading/error state, pagination helpers, and a refetch method.

goToPage()

Moves to a specific page within the currently-filtered result set, if the target page is within valid bounds.

goToPage: (page: number) => void

Parameters

page
number 1-indexed page number to navigate to.

Returns

void

refetch()

refetch: () => Promise<void>

Returns

Promise<void>
On this Page