End-to-end
Use this scenario as the target shape for a first working implementation. It shows the whole path in one view. The unit or guide that each step belongs to covers that step in more detail.
Scenario
- A shared catalog installs the starting template in the tenant that will generate from it.
- An author checks the template, its examples, and the reusable parts in the Suite.
- The author publishes a release of the catalog and deploys it to the environment the integration uses. The author shares the catalog, the template and the environment with the integration owner.
- A Valtimo case reaches the step where the document is needed.
- Valtimo sends the case information to Epistola, mapped to the fields the template expects.
- Epistola generates the PDF and reports the outcome back to the process.
- The case waits for that outcome, then makes the PDF available to the user.
- The user reviews the document from the case task, and downloads it when they need the file.
Where the path is more work than it looks
- A release holds the whole catalog. Publishing creates a release with every template and every variant in it. The integration gets what is in a published release, so changes in the next release do not reach cases yet. The exception is a test environment that follows a draft.
- The environment decides what a case gets. With an environment, Epistola uses only the releases deployed there, so deploy the release before you test. Without an environment, Epistola uses the highest published release.
- The template has to reach the tenant that generates. You do that by importing the catalog, or by installing a release from its source; the connection does not arrange it. Configuring the plugin does not let two tenants see each other’s templates.
- Getting the PDF into the case’s document store is a further step. By default, the download makes the file available as a short-lived temporary resource. Valtimo’s Documenten API component files it in the case while that resource still exists. Epistola does not file it into the case for you.
- Generation can fail after submission. A job can fail even when Epistola accepted its request. Route a failed job to a task where someone corrects the case, or to manual review.
Keep the split clear
This keeps the workflow understandable: Valtimo owns the case, Epistola owns the document. Case handling, decisions, and user access stay in Valtimo. The template, the content, and the rendering stay in Epistola.
Documentation
Exercises