/ Search

Search Epistola

Find documentation, integration guides, tour steps, blog posts and pages.

DocsIntegrationsTourBlogPage
↑↓↵esc

Work in progress — The Learn section is being expanded; alpha, beta, and preview capabilities are labelled where relevant.
← Back to Learn

End-to-end scenario

Follow the full path from shared template to Valtimo case, generated PDF, and user review.

end-to-endvaltimo

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

  1. A shared catalog installs the starting template in the tenant that will generate from it.
  2. An author checks the template, its examples, and the reusable parts in the Suite.
  3. 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.
  4. A Valtimo case reaches the step where the document is needed.
  5. Valtimo sends the case information to Epistola, mapped to the fields the template expects.
  6. Epistola generates the PDF and reports the outcome back to the process.
  7. The case waits for that outcome, then makes the PDF available to the user.
  8. 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.

More on this topic

Epistola is open source, not free of cost. The organisations that use it fund its development, through Epistola or an Official Partner. We are steward-owned: fair prices, no profit maximisation. How Epistola is funded →