Enabling and Disabling the Modeler

CIB seven Modeler can be fully enabled or disabled using a single configuration property. When disabled, no database connection is required and the modeler is hidden from the UI.

Configuration

Set the following property in cibseven-webclient’s application.yaml:

cibseven:
  webclient:
    modeler:
      enabled: false

Or via environment variable:

CIBSEVEN_WEBCLIENT_MODELER_ENABLED=false

Default is disabled

The property defaults to false. It must be set explicitly to true to activate the modeler.

What Happens When Disabled

When enabled: false:

  • All modeler REST endpoints are removed from the application context
  • JPA entities and repositories are not activated
  • No database connection is required — DataSource and Hibernate/JPA auto-configurations are excluded automatically
  • The modeler card is hidden on the start page
  • The modeler menu item is removed from the navigation

No additional frontend configuration is needed — disabling the backend property is sufficient to fully remove the modeler from both the server and the UI.

Frontend Permissions

In addition to the backend property, you can also control modeler visibility through the frontend config.json permissions. This allows hiding the modeler UI while keeping the backend active (e.g., for API-only access):

"permissions": {
  "modeler": {}
}

With an empty permissions object:

  • The modeler card is hidden on the start page
  • The modeler menu item is removed from the navigation
  • Navigating to the /modeler route redirects to the no-permission page
  • The backend REST endpoints remain active

This hides the modeler for everyone, administrators too, but only while the engine checks authorizations (authorizationEnabled). Without authorization checks the webclient does not evaluate permissions at all, and the modeler stays visible. To switch it off in that case, use cibseven.webclient.modeler.enabled: false.

Chat Feature (Enterprise Edition)

The real-time chat inside the modeler is controlled by a separate property:

cibseven:
  webclient:
    modeler:
      chat:
        enabled: false
        transport: longpolling  # longpolling (default) | websocket

Or via environment variables:

CIBSEVEN_WEBCLIENT_MODELER_CHAT_ENABLED=false
CIBSEVEN_WEBCLIENT_MODELER_CHAT_TRANSPORT=longpolling

Default is disabled

chat.enabled defaults to false. It must be set explicitly to true to activate chat.

Requires modeler.enabled: true

Chat is currently used only inside the modeler. Setting chat.enabled: true while modeler.enabled: false has no effect on the UI.

Transport (available from 3.0.0)

The chat.transport property selects the delivery mechanism used to push events to connected clients:

Value Default Description
longpolling Yes Events are sourced from the shared database. Works in single-instance and multi-pod deployments — no sticky routing or message broker required.
websocket No Events are pushed over STOMP WebSocket (/ws/chat). Suitable for single-instance deployments only.

Multi-pod deployments

Use transport: longpolling (the default) in multi-pod environments. The websocket transport uses an in-memory broker that is per-pod: messages sent on one pod will not reach clients connected to a different pod.

What Happens When Chat Is Disabled

When chat.enabled: false:

  • The WebSocket endpoint (/ws/chat) is not registered (regardless of transport)
  • Chat JPA entities and repositories are not activated — the chat_messages and chat_presence tables are not required
  • The Properties/Chat tab bar is hidden in the modeler UI — the properties panel shows in full single-panel mode

What Happens When Chat Is Enabled

When chat.enabled: true:

  • Chat REST endpoints become active
  • The chat_messages and chat_presence tables must exist in the database (created by the SQL schema scripts)
  • The modeler UI shows a Properties / Chat tab bar in the properties panel
  • The Chat tab is disabled (greyed out with a tooltip) on unsaved diagrams — it becomes active once the diagram is saved
  • If transport: websocket, the STOMP WebSocket endpoint (/ws/chat) is additionally registered

Engine Switch (available from 3.0.0)

The modeler, the chat and the notifications keep their data in the webclient tables, which are an optional part of the engine schema. The engine creates them only when its webclientExtensionsEnabled property is true; it defaults to false.

The engine reports whether the webclient tables are there, and the webclient takes that as given:

Engine reports Modeler, chat and notifications
The webclient tables are not there Off, whatever cibseven.webclient.modeler.enabled, cibseven.webclient.modeler.chat.enabled and cibseven.webclient.notifications.enabled say
The webclient tables are there Up to these webclient properties, as described above
Nothing (engines before 3.0.0) Up to these webclient properties, as described above

The webclient properties can still switch a single feature off, but they cannot switch on what the engine does not have.

Without the webclient tables:

  • The modeler, the chat, the notifications and the AI chat are hidden in the UI
  • Their REST endpoints answer with 404 and the error type FeatureDisabledException, without touching the database
  • The webclient does not wait for the webclient tables at startup and logs no error about them; it loads no element templates and runs no cleanup jobs on these tables

Where the Webclient Reads It

  • From the default engine of the main engine REST API (cibseven.webclient.engineRest), as the webclient tables share its database, also with several engines. Engines of additional engine REST APIs are not asked.
  • With the REST engine provider, from the engine’s configuration endpoint, which reports the version of the webclient tables in webclientExtensionsVersion (null when they are not there).
  • With the direct engine provider, from the same version in the engine configuration.
  • What the engine reports is what is in its database, not what it was configured to create: tables created earlier, or by the SQL scripts, count as there.
  • The answer is kept for a minute. While the engine cannot be reached, the last answer stays; before the first one, the webclient properties decide.
  • A webclient whose tables have a database of their own (a DataSource bean named cibsevenDataSource) does not ask the engine: the webclient properties decide.

Switching It On

The CIB seven distributions (Run, Tomcat, WildFly) switch it on. An engine set up in any other way, such as an embedded engine or a container image with its own configuration, has to switch it on to use the modeler, the chat or the notifications. In the bpm-platform.xml or standalone.xml of the engine:

<property name="webclientExtensionsEnabled">true</property>

In CIB seven Run and Spring Boot:

camunda:
  bpm:
    generic-properties.properties:
      webclientExtensionsEnabled: true

Summary

Configuration Effect
Engine without the webclient tables (webclientExtensionsEnabled: false) Modeler, chat and notifications off, whatever the webclient properties say
cibseven.webclient.modeler.enabled: false Disables backend (REST, JPA) and hides the UI — no database required
cibseven.webclient.modeler.chat.enabled: false (default) Chat JPA inactive; modeler shows single-panel properties — chat_messages / chat_presence tables not required
cibseven.webclient.modeler.chat.enabled: true Chat fully active; Properties/Chat tab bar shown in modeler UI
cibseven.webclient.modeler.chat.transport: longpolling (default) DB-sourced events; no WebSocket broker; multi-pod safe
cibseven.webclient.modeler.chat.transport: websocket STOMP WebSocket broker active (/ws/chat); single-instance only
permissions.modeler: {} in config.json Hides the UI only, and only with authorization checks on — backend remains active

On this Page: