Wait for Documents
Model the workflow so the case waits for the generated PDF and handles success or failure clearly.
Wait for documents
Document generation is not instant. Model the process so the case waits until the PDF is ready.
Recommended flow
- Start document generation.
- Add the generated-document wait step.
- Route successful documents to download, storage, or review.
- Route failed documents to retry or manual review.
- Add a timeout path only when the business process needs one.
Parallel documents
If a case generates more than one document at the same time, give each document its own wait and review path. This avoids mixing up results.
Timeouts
Use the supported timeout pattern when a case must continue after a certain time. Do not model a timeout that loses the generated document if it finishes later.
Troubleshooting
If a case appears stuck, check the pending document jobs in the Valtimo administration view before changing the process model.