Skip to content

fetchExecutionForOverlay

function fetchExecutionForOverlay(params): Promise<
| OverlayExecution
| undefined>;

Defined in: src/ci/execution.ts:62

Resolves the execution to overlay for a state machine: lists the newest execution (optionally filtered to FAILED) and paginates its full history via fetchExecutionHistory. Returns undefined when no matching execution exists. ListExecutions returns results newest-first, so maxResults: 1 is the most recent.

FetchExecutionForOverlayParams

Promise< | OverlayExecution | undefined>