Model catalogTimers offScripts in a sandboxRead-only: you can start cases and complete tasks, not change the processes

Settings: All settings

← Settings

Every setting of this environment (.env) on one page, under the area it belongs to. Saved as on each area's page; a change applies when the server restarts.

Environment

SettingNowChange
Environment
APP_ENV
The environment: development, test or production. The pages show it as a band (Development blue, Test amber), and API v3's /me says it. test also makes the sample applications use their test services (delegates/testServices.ts: the same names, nothing sent or recorded); /llms.txt says which. Unset: not declared, as before 3.7.2 (no band; the real services). See Environments
production .envadministrators
Label shown on every page
APP_ENV_LABEL
What the environment's band says instead of its name, in any environment: Staging, Public demo. Shown in production too
Model catalog .envadministrators
Site address
SITE_URL
This server's address as people reach it (https://...): the links it sends begin with it, and a handoff link is made on it
https://catalog.omniworkflow.com .envadministrators
Port
PORT
The web server's port. Default 3000
3110 .envadministrators
HTTPS
HTTPS · SSL_CERT_PATH · SSL_KEY_PATH
off (default): a proxy in front serves HTTPS, or noneset outside .env, or administrators only
What is served: both, api or ui
SERVE
both, api (the REST APIs only) or ui (the web pages only)
both .envadministrators
Site name in emails
SITE_NAME
The site's name in the emails it sends (sign-up, password). Default bpmn-server
OWF Model Catalog .envadministrators
Node environment (production refuses unsafe settings)
NODE_ENV
production stops the server from starting with unsafe settings: see Security
production set outside .envset outside .env: change it there
Host (bpmn-mcp)
HOST
Where the server is. HOST defaults to localhost for bpmn-mcp
not setadministrators

Database

SettingNowChange
Database
DATABASE · MONGO_DB_URL · MONGO_DB_NAME
SQLite · data/bpmn.sqlite .envset outside .env, or administrators only

Sign-in and security

SettingNowChange
Session secret
SESSION_SECRET
A secret, required in production. Secures sessions and CSRF tokens
set .envadministrators
Cookies only over HTTPS
SECURE_COOKIES
Cookies only over HTTPS, when something in front of the server handles it
true .envadministrators
Sign-in attempts a minute per address
AUTH_RATE_LIMIT
Sign-in attempts allowed in the rate window. Default 50
50 (default)administrators
The first administrator's password
ADMIN_PASSWORD
A secret. Set, a server with no users creates the user admin with it. Unset, it creates admin with a password it makes up and prints once where the server runs: The first start. A server that has users already is not changed
not setadministrators
What an AI agent may do
AI_ACCESS
The levels of AI links (/ai/key) this server offers: off, or some of work, design, administer, comma separated. Unset: all. A person is offered only the levels their rights allow. See Chatting with your server
not setadministrators
How long an AI link lasts, by group
AI_KEY_TTL_GROUPS
How long a user's link for an AI agent (/ai/key) lasts, in minutes, by group: {"ADMIN":10,"staff":60}. A user in several of the groups gets the shortest; in none, 30 minutes. See Chatting with your server
not setadministrators
Sign-in required
REQUIRE_AUTHENTICATION
On unless set to false (init writes true). false: no sign-in on the pages, whoever reaches them is an administrator: for development only
false .envadministrators
Browser origin allowed to call (CORS)
ITSM_HOST
The origin allowed to call the server from a browser (CORS)
not setadministrators
Security policies
SECURITY_POLICY · ENFORCE_SECURITY
Off: the security rules are off on the pages (ENFORCE_SECURITY=false), for development only .envin .env only: it takes a right from everyone
Administration off
DISABLE_ADMIN
true: no administration pages or /admin APIs
true .envin .env only: it takes a right from everyone
Design off (no model editor, no test runs)
DISABLE_DESIGN
true: no model editor or test runs, and no test calls on the engine. Set it on both for production
off (default)in .env only: it takes a right from everyone
Read only: nothing can be changed
READ_ONLY
true: people use the server but can't change it. They start cases and complete tasks; the models, decision tables, policies, tests, roles, connectors, settings and users can't be changed, through a page or an API. For a public demo. See Environments
true .envin .env only: it takes a right from everyone

Keys

SettingNowChange
Service key (API v3)
API_KEY
A secret, required in production. Runs processes
set .envadministrators
Key that encrypts stored secrets (connector keys)
SECRETS_KEY
A secret. Encrypts the secrets the server stores: each connector's own key (entered on the Settings page). Not a connector's credential. Required to give a connector a key, and keep it: backups need the same one. Before 3.7.5: CONNECTORS_KEY, still read
set .envadministrators
Administration key
ADMIN_API_KEY
A secret. Also changes models
set .envadministrators
Task API key (acting for a user)
API_ACTING_USER_KEY
A secret. Turns on /api2/tasks. Must differ from API_KEY
not setadministrators
Impersonation (the frozen /api)
API_IMPERSONATION
true: /api acts as the user a call names (userName, or options.userName), with no security rules, as before 3.7. For integrations that need time to move to /api2/tasks; goes at 4.0. Default off: the name is ignored, and the answer's Warning header says so
off (default)administrators
API calls a minute per address
API_RATE_LIMIT
Calls a minute one address may make to the APIs (/api, /api2, /api/v3, the administration APIs); over it, 429. Unset, no limit
not setadministrators
Engine key (a separate engine)
ENGINE_KEY
A secret. Required for a separate engine
not setadministrators
SECRETS_KEY's name before 3.7.5
CONNECTORS_KEY
A secret. SECRETS_KEY's name before 3.7.5: still read when SECRETS_KEY is not set, with a warning to rename it
not setadministrators

Your application's account

SettingNowChange
Name shown on what your application does
API_SERVICE_USER_NAME
The name your application's calls are recorded under, when it calls with the service key and not for one of its users. Default integration
not setadministrators
Groups: what your application may do
API_SERVICE_USER_GROUPS
The groups of that account, comma separated: what your application may do. Default SYSTEM (everything)
not setadministrators

What runs here

SettingNowChange
Timers run
TIMERS
false stops timers from firing: for a test server
false .envadministrators
Service tasks run
SERVICE_TASKS
false stops service tasks from running: for a test server
on (default)administrators
Scripts run in a sandbox
SCRIPT_SANDBOX
true runs the models' scripts in a sandbox: for a server others put models on
true .envadministrators
Sandboxed scripts may call appServices
SCRIPT_SANDBOX_SERVICES
With SCRIPT_SANDBOX=true: true lets sandboxed scripts call the application's services
true .envadministrators
Public demo: sandboxed scripts, no timers, no service tasks
DEMO_MODE
true gives TIMERS, SERVICE_TASKS, SCRIPT_SANDBOX and SCRIPT_SANDBOX_SERVICES their public demo values, unless they are set
off (default)administrators
Engine address (a separate engine)
ENGINE_AT
The engine's address. Unset or local: in this process. none: no engine
not setadministrators
Command that runs Python scripts
PYTHON_CMD
The command that runs Python scripts. Default python
/bin/false .envadministrators

Email

SettingNowChange
Email sent
EMAIL_ENABLE
true: this server sends email. Otherwise none is sent (EMAIL_LOG can still write them to a file)
false .envadministrators
From address
EMAIL_FROM
The address emails come from
not setadministrators
Mail server (empty: Gmail)
SMTP_HOST
The mail server, such as smtp.office365.com. Unset: Gmail, with SMTP_USER and SMTP_PASSWORD
not setadministrators
Port (587 or 465)
SMTP_PORT
The mail server's port: 587 (STARTTLS) or 465 (TLS). Default 587
not setadministrators
Account
SMTP_USER
The mail account's user name
not setadministrators
Password
SMTP_PASSWORD
The mail account's password. A secret
not setadministrators
TLS from the start (port 465)
SMTP_SECURE
TLS from the start (port 465). Unset: on for port 465, else STARTTLS
off (default)administrators
Also write each email to this file
EMAIL_LOG
A file that also gets each message
off (default)administrators
The administrator's email
ADMIN_EMAIL
The email address of the admin user a server with no users creates. Unset, admin@example.com. A server that has users already is not changed
not setadministrators

Models and connectors here

SettingNowChange
Form rules checked
FORM_RULES · designers too
false: a form's rules (a field's type, its constraints, a list's choices) are not checked when a task is completed
on (default)
Models checked when saved through the APIs
VERIFY_MODELS_ON_IMPORT · designers too
warn, enforce or off, for models saved through the APIs
not set
Model catalog
CATALOG_URL
The model catalog to browse
not setadministrators
Connector catalog
CONNECTOR_CATALOG_URL
The connector catalog to offer
not setadministrators
Hosts connectors may call
CONNECTORS_ALLOW_HOSTS
A comma list of the hosts connectors may call
not setadministrators

Add-ons here › Policies

SettingNowChange
Policy timers checked every (seconds)
RULES_POLL_SECONDS
How often the policies' timers are checked, in seconds (docs/design/work-rules-syntax.md): a rule's time (2 days after it was created, before due, month end) fires at most this late
60 (default)administrators
A step is hung after (minutes)
HUNG_AFTER_MINUTES
A step started and not finished (status start) this many minutes ago is hung: the policies' When the case is hung rules are told, once, and its Rationale says so
10 (default)administrators
Notifications: record means kept, not sent
NOTIFICATIONS
Notification policies (docs/design/notification-policies.md): record keeps every notification in wf_notifications without delivering it (the application's notify is not called), for a test or staging server; unset, they are delivered (a test run's are only kept)
not setadministrators

Add-ons here › Model Options

SettingNowChange
Test tab in model editor
MODEL_TESTS · designers too
false: the model editor has no Test tab (a model's scenarios, run in the engine)
on (default)
Track model history
MODEL_HISTORY · designers too
false keeps no saved versions of models
on (default)
Offer element templates (configured tasks) in model editor
ELEMENT_TEMPLATES · designers too
on offers the application's element templates (configured tasks) in the model editor and lists them on the Design page. Off by default in 3.7.1: a preview, to be finished (docs/design/roadmap.md)
not set
Extended forms: field choices from a list or a lookup
EXTENDED_FORMS · designers too
false: a form field's choices from a source (owf:list, owf:lookup) are not offered; the fields are plain ones
on (default)

Add-ons here › AI Agents

SettingNowChange
Guide for AI agents
AI_GUIDE
A Markdown file: this site's own guide for AI agents, in its /llms.txt. Default settings/ai-guide.md
settings/ai-guide.md (default)administrators

Add-ons here › Messaging

SettingNowChange
Attempts before a message is given up
OUTBOX_MAX_ATTEMPTS
The messaging add-on: how many times a message is delivered before it is given up (dead, kept with its error). Default 8
8 (default)administrators
How often the outbox looks for work (seconds)
OUTBOX_POLL_SECONDS
The messaging add-on: how often the outbox and the inbox look for work, in seconds. Default 5
5 (default)administrators
How long a message waits for its receiver (minutes)
INBOX_RACE_MINUTES
The messaging add-on: how long a message that arrives before its receiver is waiting is tried again, in minutes. Default 10
10 (default)administrators
Secret that signs webhooks (a secret)
OUTBOX_WEBHOOK_SECRET
The messaging add-on: the secret that signs the webhooks it sends (X-OWF-Signature, an HMAC-SHA256 of the body). A secret; a route's own <NAME>_SECRET is read first
not setadministrators
SettingNowChange
Days a link to a person lasts
ENDPOINT_LINK_DAYS
The endpoints add-on: how many days a link to a person (a start, a completion) lasts unless asked otherwise. Default 14
14 (default)administrators
Largest request an endpoint takes (KB)
ENDPOINT_BODY_KB
The endpoints add-on: the largest request an endpoint takes, in KB. Default 256
256 (default)administrators

Advanced

SettingNowChange
How long to wait for the engine
ENGINE_TIMEOUT_MS
How long to wait for an answer. Default and most 300000, five minutes. The call isn't tried again: the engine may still be running it
300000 (default)administrators
How long executions get to finish on shutdown
ENGINE_SHUTDOWN_TIMEOUT_MS
How long running executions get to finish on shutdown. Default 10000
10000 (default)administrators
Engine listening address (a separate engine)
ENGINE_LISTEN
A separate engine: the address it listens on. Default 127.0.0.1
not setadministrators
Engine port (a separate engine)
ENGINE_PORT
A separate engine: the port it listens on. Default 3001
not setadministrators
This process's name in its locks
SERVER_ID
This process's name in the locks it takes
not setadministrators
Locks: time between tries
LOCK_RETRY_DELAY_MS
Instance locks: the time between tries to take a lock, in milliseconds
not setadministrators
Locks: tries before giving up
LOCK_MAX_TRIES
Instance locks: how many tries before giving up
not setadministrators
Locks: age at which one is taken over
LOCK_STALE_AFTER_MS
Instance locks: the age, in milliseconds, at which a lock is taken over (its holder presumed gone)
not setadministrators
API trace file
API_TRACE
A file: every API call (/api, /api2) and its answer, one JSON line each (when, how long, method, path, status, the kind of credential, the bodies cut at API_TRACE_MAX characters, default 4000, with passwords, keys and tokens masked). To see what a client, an AI agent, did. Off by default
not setadministrators
API trace: most characters of a body
API_TRACE_MAX
With API_TRACE: the most characters of a request or answer body kept. Default 4000
4000 (default)administrators
Database profiler
ENABLE_PROFILER
true turns on the database profiler for queries
off (default)administrators
Largest request
BODY_LIMIT
The largest request. Default 50mb
50mb (default)administrators
Groups who see Performance
PERFORMANCE_GROUPS
Groups, comma separated, who see Performance besides administrators and designers (the page and API v3 /performance)
not setadministrators
Performance shows each person's figures
PERFORMANCE_BY_PERSON
Performance (Dashboard ▸ Performance, API v3 /performance/people) shows each person's figures (tasks done, working time, open) and each group's (tasks offered, how long they waited): true to turn on. Default off
off (default)administrators
Models folder
DEFINITIONS_PATH
The models folder, in place of the one in settings/config.ts. Used for tests and separate deployments
not setadministrators
Docs folder
DOCS_PATH
The folder of the docs pages the server shows
not setadministrators
The application's contract file
APP_CONTRACT
The application's contract file: its roles, variables, functions and pages. Unset, app-contract.json in the application's folder
not setadministrators
Model editor (classic: the old one)
MODELER
classic uses the old model editor
not setadministrators
Something restarts the server when it exits
RESTART_ON_EXIT
true: something restarts this process when it exits
off (default)administrators
bpmn-mcp: the file it reads in place of .env
BPMN_ENV_FILE
bpmn-mcp only: another file to read in place of .env
not setadministrators

Applies when the server restarts.