NewFormApprovalFlowInstance: {
    approvalsFormsAppId: number;
    formId: number;
    isLatest: boolean;
    previousFormSubmissionApprovalId?: string;
    status:
        | "PENDING"
        | "CLARIFICATION_RECEIVED"
        | "APPROVED"
        | "CLARIFICATION_REQUIRED"
        | "CLOSED";
    steps: FormApprovalFlowInstanceStep[];
    submissionId: string;
}

Type declaration

  • approvalsFormsAppId: number

    The unique identifier for the Approvals Forms App associated with the approval

  • formId: number

    The unique identifier for the form that was submitted for approval

  • isLatest: boolean

    Indicates if the instance is the latest for single submission after clarification requests

  • OptionalpreviousFormSubmissionApprovalId?: string

    The unique identifier for the previous FormSubmissionApproval that lead to this approval flow

  • status:
        | "PENDING"
        | "CLARIFICATION_RECEIVED"
        | "APPROVED"
        | "CLARIFICATION_REQUIRED"
        | "CLOSED"

    The status of the approval

  • steps: FormApprovalFlowInstanceStep[]

    An array of the FormApprovalFlowInstanceSteps

  • submissionId: string

    The unique identifier for the submission being approved