Skip to main content

Introducing Formengine - The New Formbuilder, try for FREE formengine.io.

Version: 6.1.0

Multitenancy

Overview

Multitenancy is a type of architecture that enables several clients or multiple customer applications to share the same computational resources. These clients are known as tenants, and they have some measure of customization for the shared resource.

This form of sharing applies to software resources as well as hosting on servers to achieve efficiency and reducing cost. It allows multiple instances of the given application to operate in a shared environment.

There is only one set of infrastructure to deploy and maintain, and all tenants use it. Workflow Server supports multitenancy in two different ways, as illustrated in the diagram below: Multitenancy model

Multitenancy Support in Workflow Server

A Tenant Id can be passed to the process and used. The Tenant Id is a string. An empty or whitespace Tenant Id is set to null. A Tenant Id is passed with each request to the Workflow API. When creating a process, the Tenant Id is recorded to it. Afterward, the Tenant Id must be passed with each request; the system will check the correspondence of the passed Tenant Id to the one recorded in the process.

Tenant Id

Tags of Schemes

Each process scheme can be assigned a set of tags. Further, the schemes can be searched with the given tags. For instance, if you want to allow access to a scheme for selected tenants only, you can use the tags of this scheme.

Tags of Schemes in Workflow Server

In Workflow Server, tags can be specified in the list of schemes directly.

Tags

Should be used the getschemelist method from the Workflow API to search for schemes by tags.

Tags search