Raw export of a durable workflow job, returned by handle.export().

Contains five sections (filterable via ExportOptions):

Section Type Description
data object Workflow input arguments passed to workflow.start()
state object Current state: done flag, response, $error, jc/ju timestamps
status number Semaphore: 0 = idle/complete, > 0 = pending activities, < 0 = error
timeline array Ordered idempotent markers for each operation (proxy, child, sleep, signal)
transitions array Activity start/stop timestamps organized by dimension
interface DurableJobExport {
    data?: StringAnyType;
    state?: StringAnyType;
    status?: number;
    timeline?: TimelineType[];
    transitions?: TransitionType[];
}

Properties

status?: number
timeline?: TimelineType[]
transitions?: TransitionType[]