Skip to main content
Version: 3.4.x

Using the plugin

Once you have deployed the Documents Plugin in your infrastructure, you can start creating various document templates. After selecting a document template, proceed to create a

The fallback content to display on prerendering
by including Message Event Send/Message Event Receive (Kafka nodes) and custom document-related actions in your process flow.

The plugin offers the following actions:

  • Generating documents based on templates
  • Uploading documents
  • Converting documents
  • Splitting documents
  • Updating / deleting documents
  • Getting URLs to documents
  • Listing stored documents
  • OCR(Optical Character Recognition) Integration

Before adding these actions to your

The fallback content to display on prerendering
, follow these steps:

  1. Ensure that all custom information is properly configured in the plugin database, such as the document templates to be used.
  2. For each event type, you will need a corresponding Kafka topic.
info

The ..in topic names configured for the plugin should match the ..out topic names used when configuring the engine. Make sure to use an outgoing topic name that matches the pattern configured in the Engine. The value can be found and overwritten in the KAFKA_TOPIC_PATTERN variable.

For more details about Process Engine Kafka topic configuration, click here.

To make a request to the plugin, the process definition needs to include an action of type Kafka send defined on a Message event send node. The action parameter should have the key topicName and the corresponding topic name as its value.

To receive a reply from the plugin, the process definition needs to include a Message event receive node with a node value having the key topicName and the topic name as its value.

Once the setup is complete, you can begin adding custom actions to your processes.

Let's explore a few examples that cover both the configuration and integration with the engine for all the use cases supported by the plugin:

»Generating documents based on templates»Uploading a new document»Converting documents to different formats»Splitting a document»Deleting a file»Getting URLs to documents»Listing stored documents

Was this page helpful?