diff --git a/src/tasks/flow-registry.ts b/src/tasks/flow-registry.ts index 74647959b38..76c49efc764 100644 --- a/src/tasks/flow-registry.ts +++ b/src/tasks/flow-registry.ts @@ -39,16 +39,19 @@ function resolveFlowBlockedSummary( } type FlowRecordPatch = Partial< - Pick< - FlowRecord, - | "status" - | "notifyPolicy" - | "goal" - | "currentStep" - | "blockedTaskId" - | "blockedSummary" - | "updatedAt" - | "endedAt" + Omit< + Pick< + FlowRecord, + | "status" + | "notifyPolicy" + | "goal" + | "currentStep" + | "blockedTaskId" + | "blockedSummary" + | "updatedAt" + | "endedAt" + >, + "currentStep" | "blockedTaskId" | "blockedSummary" | "endedAt" > > & { currentStep?: string | null;