Type alias NewFormSubmissionWorkflowEvent
New
FormSubmissionWorkflowEvent: {
error?: string;
event: FormWorkflowEvent | FormSchedulingEvent;
finishedAt?: string;
formId: number;
startedAt?: string;
status: "QUEUED" | "STARTED" | "FAILED" | "SUCCEEDED";
} & ({
stage: "SCHEDULING" | "SUBMISSION" | "APPROVAL" | "REPLAY" | "RETRY";
submissionId: string;
} | {
draftId: string;
stage: "DRAFT";
})