Using multi-tenancy in the Task Generator

By activating the central multi-tenancy functionality for tasks, you can either

  • Use by default the INUBIT user groups as tenants or

  • Define the additional module properties ProcessTenant and ProcessRoles directly at the module to use tenants irrespective of the INUBIT user management.

Proceed as follows

Activating the multi-tenancy functionality (Defining tenants via user groups)

  1. To activate the "multi-tenancy" function, open the tab Administration > General Settings in the Workbench and navigate to Administration > Server.

  2. Select the Multitenancy for tasks option.

    By activation this option, you simultaneously define that tasks are always created for a specific tenant, which automatically corresponds to the user group in INUBIT Process Engine or Workbench.

    If you want to set your tenants individually, you must define a specific module property for this purpose.

Defining the tenants manually via module property ProcessTenant

  1. At the relevant Task Generator, open the mapping of variables dialog (refer to Functional Principle of the Mapping of Variables.

  2. Select Static value as the source and enter the tenant’s name required.

    ProcessTenant must be set as fixed string.

  3. Select Module Property as the target.

  4. Select ProcessTenant as Module Property.

    In case you work with an already existing Task Generator where the module property ProcessTenant is not yet available, you must first open the Task Generator by clicking Edit properties in the context menu and then close it again by clicking Finish. Thus, the module property is added and displayed.

Integrating process users by using module property ProcessUsers

In order to assign tasks statically to specific process users, these process users must be provided in XML structure by using a specific module property.

  1. In the variables mapping dialog, select Static value as the source.

  2. Select the XML structure type and enter the XML structure required for integrating the process roles manually, e.g.:

    <?xml version="1.0" encoding="UTF-8"?>
    <Property name="ProcessUsers" type="List">
        <Property name="Admin" type="String" displayName="Admin"/>
    </Property>
  3. Select Module Property as the target.

  4. Select ProcessUsers as Module Property.

Integrating process roles by using module property ProcessRoles

In order to use process roles as tenants, you need to provide these process roles using a module property.

  1. In the variables mapping dialog, select Static value as the source.

  2. Select the XML structure type and enter the XML structure required for integrating the process roles manually, e.g.:

    <?xml version="1.0" encoding="UTF-8"?>
    <Property name="ProcessRoles" type="List">
        <Property name="WorkflowOwner"/>
    </Property>
  3. Select Module Property as the target.

  4. Select ProcessRoles as Module Property.

You can, of course, also define the module property dynamically using a workflow variable.