Skip to main content
Version: 3.0.0

Using the plugin

After deploying the document management plugin in your infrastructure, you can start creating various document templates. After choosing a document template, start creating a process definition by including kafka nodes and custom document-related actions in your process flow definitions.

Possible actions:

  • Generating docs based on templates
  • Uploading documents
  • Converting documents
  • Splitting documents
  • Updating / deleting documents
  • Getting URLs to documents
  • Listing stored documents

Before adding the corresponding actions in your process definition, you will need to follow a few steps:

  • make sure all custom info is configured in the plugin database, for example, the document templates to be used
  • for each event type, you will need a corresponding Kafka topic
info

The topic names configured for the plugin should match the ones used when configuring the engine and when adding plugin related process actions:

  • the Engine is listening for messages on topics with names of a certain pattern, make sure to use an outgoing topic name that matches the pattern configured in the Engine, the value can be found and overwritten at the KAFKA_TOPIC_PATTERN variable, click here for more details about Kafka topics configuration
  • to make a request to the plugin, the process definition needs to have an action of type Kafka send defined on a Message event send node that has an action parameter with key topicName and the needed topic name as a value
  • to receive the reply from the plugin, the process definition needs to have a Message event receive node with a node value with key topicName and the topic name as the value

After the setup is finished, you can start adding custom actions to the processes.

Let's go through a few examples. These cover both the configuration part and the integration with the engine for all the use cases covered by the plugin.

ยปGenerating docs based on templatesยปUploading a new documentยปConverting documents to different formatsยปSplitting a documentยปUpdating / deleting document filesยปGetting URLs to documentsยปListing stored documents

Was this page helpful?