@oneblink/apps-react
    Preparing search index...

    Function closeFormApprovalFlowInstance

    • As an administrator, close a submission that has been approved.

      await approvalsService.closeFormApprovalFlowInstance({
      formApprovalFlowInstanceId: 1,
      notificationEmailAddress: ['email@example.com'],
      notes: 'Great work!!!',
      internalNotes: 'It was not really that great...',
      cannedResponseKey: 'my_canned_response_key',
      })

      Parameters

      • options: {
            cannedResponseKey?: string;
            formApprovalFlowInstanceId: number;
            internalNotes?: string;
            notes?: string;
            notificationEmailAddress?: string[];
        }
      • OptionalabortSignal: AbortSignal

      Returns Promise<FormSubmissionApproval>