It is recommended to add query tenantIds or `or` queries for all functional

Author: think-gemCreated Mar 27, 2025Updated Feb 11, 2026

Is your feature request related to a problem? Please describe.

  1. The conditions of all tenants, it is recommended to add tenantId or query
  2. My purpose: 'TENANT_ID_' is' 0 ', which represents the process shared by the tenant, and other values are their own process.

Describe the solution you'd like

Such as Task query:

query.or().taskTenantId("0").taskTenantId("1").endOr();

or use in:

query.taskTenantIds("0", "1");

other:

processDefinitionTenantId add processDefinitionTenantIds

processInstanceTenantId add processInstanceTenantIds

more...

batch, actiity, delopyment, execution, historic, job...

Source: flowable/flowable-engine