/ Search

Search Epistola

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

DocsIntegrationsTourBlogPage
↑↓↵esc

Catalog Sync

Install catalogs that ship with a Valtimo application in Epistola.

Catalog sync

Use catalog sync when a Valtimo application ships Epistola catalogs with its code. When the application starts, the plugin installs them in the Epistola tenant.

When to use it

Use catalog sync for:

  • Demo processes.
  • Starter templates for a project.
  • Standard content you want to install the same way on every installation.

Do not use catalog sync as your normal way of working on templates. Authors still maintain templates in Epistola. They choose when to publish a new release.

What catalog sync does

  • At startup, the plugin reads every catalog under config/epistola/catalogs/ on the classpath. Each catalog has a catalog.json with a release version.
  • It imports each catalog into the tenant of every plugin configuration that has Template sync turned on.
  • An import installs the release next to the releases already there. Importing the same version again changes nothing.
  • A changed catalog needs a new release version. Epistola refuses the same version with other content.
  • Catalog sync does not deploy the release to an environment. If your actions use an environment, deploy the release there yourself.

Configure catalog sync

  1. Put the catalog in the application under src/main/resources/config/epistola/catalogs/<name>/: a catalog.json and the files of its resources.
  2. Raise the release version in catalog.json each time the content changes.
  3. Give the application in Epistola the Administrator (Tenant Administrator) role. Installing a catalog needs it.
  4. Turn on Template sync on the plugin configuration.
  5. Start or restart the application.
  6. Check in Epistola that the catalog release is installed.
  7. If your actions use an environment, deploy the release to that environment.
  8. Test the process that uses the template.

Install a catalog again

The Catalogs tab on the Epistola admin page lists the catalogs on the classpath and whether Epistola has them. Redeploy pushes one catalog to Epistola again, for example when the import at startup failed. It works even when Template sync is off.

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 →