diff --git a/src/pages/account/process-creation.ts b/src/pages/account/process-creation.ts index 3efa382..586a108 100644 --- a/src/pages/account/process-creation.ts +++ b/src/pages/account/process-creation.ts @@ -70,6 +70,9 @@ export async function getProcessCreation(container: HTMLElement) { setTimeout(() => URL.revokeObjectURL(link.href), 1000); } + + await service.generateProcessPdf(processId, newState); + // Add processId to the state we export newState['process_id'] = processId; const blob = new Blob([JSON.stringify(newState, null, 2)], { type: 'application/json' });