6.1.25 to 6.1.26
Deployment of limit-process-expiry.bpmn
If you restrict where Activiti loads processes from
(spring.activiti.process-definition-location-prefix), or do not deploy the processes/*.bpmn
files of limits-starter, also deploy limit-process-expiry.bpmn. Otherwise, limits using a
workflow of the workflow service never expire.
Expiry of limits moved out of LimitsAsOfDateLoader.loadAsOfDate
LimitsAsOfDateLoader.loadAsOfDate(boolean) no longer expires the limits past their end date.
Expiry now runs in the new public method LimitsAsOfDateLoader.expireLimitsPastEndDate(), which
AutoConfigRestService.loadLimitsData calls once the limits of the server are loaded. A failed
expiry is logged and does not fail the data load.
Action is needed only if your project:
- constructs
LimitsAsOfDateLoaderitself: pass the new last argument,ILimitsWorkflowService newLimitsWorkflowService. - calls
loadAsOfDatedirectly and relies on it to expire limits: also callexpireLimitsPastEndDate()once the limits are loaded. - overrides
AutoConfigRestService.loadLimitsDatawithout callingsuper.loadLimitsData: calllimitsAsOfDateLoader.expireLimitsPastEndDate()once the limits are loaded.
New method ILimitsWorkflowService.expireLimits
ILimitsWorkflowService has a new method, void expireLimits(List<String> limitIds, LocalDate asOfDate).
It expires, without approval, the limits whose end date is before both asOfDate and the
current as-of date. If you provide your own ILimitsWorkflowService bean that does not extend
DefaultLimitsWorkflowService, implement this method.
Four-eyes requester check moved to isCurrentUserTheRequester
In the default four-eyes workflow (limit-process-instance.four-eyes), LimitsProcessInstanceWorkflowService#roleValidation now calls the new protected method isCurrentUserTheRequester(LimitsProcessInstance) instead of isCurrentUserTheSameAsPreviousActor. The user who opened the pending request can no longer approve it, even after a rejection, and the rejecting approver can approve it later. See limit-process-four-eyes.bpmn.
Action is needed only if your project:
- overrides
isCurrentUserTheSameAsPreviousActorto change who counts as the creator: move that logic to an override ofisCurrentUserTheRequester. Other workflows still use the former. - relied on a creator approving their own limit after a rejection: another approver must now approve it, or set
limits.workflow.workflow-rules.can-approver-be-same-as-creatortotrue, which disables the four-eyes rule.
Widening the mdx column of the incident table
This change affects persistent data mode only. You need to act on it only if saving incidents has failed
because of the size of the mdx column. Widening the column is recommended if your limit structures are
large enough to reach that size.
Atoti Limits now maps the mdx column of the incident table with a length of 1,000,000
characters. Atoti Limits 6.1.26 starts against an existing incident table without any database
change, including with Hibernate schema validation (hbm2ddl.auto: validate). Until you widen the
column in the database, it keeps its VARCHAR(1000) type, and incidents whose evaluation MDX
exceeds 1,000 characters still fail to be saved or updated.
The evaluation MDX grows with every limit of a structure: about 16 single-level limits, or 5 to 7
limits scoped on several levels, are enough to exceed 1,000 characters. If your structures reach this
size, widen the column.
Schema managed with Liquibase
The new Liquibase changeset limits-6-1-26-changelog-1.yaml widens the column to
VARCHAR(1000000). Liquibase creates it as MEDIUMTEXT on MySQL and MariaDB, and as
varchar(max) on SQL Server.
- Shipped
master-changelog.yaml: it already includes the changeset. - Custom
master-changelog.yaml: addlimits-6-1-26-changelog-1.yamlto it, afterlimits-4-2-0-changelog-2.yaml.
spring.liquibase.enabled is
false in application.yml), so apply the changeset to the database explicitly, for example with
mvn liquibase:update. See
Migrate your schema.
Schema not managed with Liquibase
Change the type of the mdx column of the incident table to a character type that holds at
least 1,000,000 characters, such as the long text type of the database. Apply this change with
the schema migration process already in place for the database. To derive the SQL from the
Atoti Limits changeset instead, see
Case 3: Default schema without Liquibase.
LimitsProcessInstanceWorkflowService saves limits without the permission check
LimitsProcessInstanceWorkflowService now saves limits to the database through
ILimitJpaDatabaseCrudService instead of ILimitsAppJpaDatabaseCrudService. The constructor
parameter and the protected field, with its getter, are renamed to limitJpaDatabaseCrudService.
The workflow actions still check permissions. Only the save that follows no longer checks them
again.
Action is needed only if your project constructs or extends LimitsProcessInstanceWorkflowService:
pass the ILimitJpaDatabaseCrudService bean and use the new field name.
6.1.24 to 6.1.25
Support for 6.0.x and 6.0.x-sb3 Atoti Servers removed
Atoti Limits has removed support for connecting to Atoti Server 6.0.x and 6.0.x-sb3, which have
reached end of support. This affects anyone using
limits-auto-config-60 or limits-auto-config-60-sb3. The connected Atoti Server instance must be
upgraded to 6.1.x or 6.2.x. For that upgrade, see the
Atoti Server migration notes.
After upgrading the connected server, switch the Maven dependency to the matching artifact:
- For Atoti Server 6.1.x, use
limits-auto-config-61. - For Atoti Server 6.2.x, use
limits-auto-config-62.
limits-common module removed
The limits-common Maven module no longer exists. Its classes keep their packages
(com.activeviam.limits.core.shared.*) and now ship with the module that uses them:
limits-activeviamon the Atoti Limits server,limits-integration-commonon a connected Atoti Server (pulled in bylimits-auto-config-<version>).
limits-common directly, as it was already a transitive
dependency of both. If your pom.xml declares it anyway, remove the dependency: the classes are
available through limits-activeviam or limits-auto-config-<version>. Classes you override keep
their fully qualified names, so no import changes are needed.
6.1.23 to 6.1.24
This release only shipped bug fixes and performance improvements. It does not require any migration.6.1.22 to 6.1.23
This release only shipped bug fixes and performance improvements. It does not require any migration.6.1.21 to 6.1.22
This release only shipped bug fixes and performance improvements. It does not require any migration.6.1.20 to 6.1.21
This release only shipped bug fixes and performance improvements. It does not require any migration.4.2.2 to 6.1.20
Maven dependencies have changed: update the following group IDs in yourpom.xml:
com.activeviam.solutions→com.activeviam.modulescom.activeviam.solutions.limits→com.activeviam.modules.limitscom.activeviam.solutions.services→com.activeviam.modules.services
4.2.1 to 4.2.2
Scheduled evaluation properties
The properties used to configure the scheduled INTRADAY limit evaluation have been replaced. The old properties are deprecated and will be removed in a future release, but still function as a fallback if the new properties are not set.You do not have to migrate these properties now, but we recommend doing so to reduce future upgrade efforts.
To migrate, replace the old properties in your
application.yml:
limits.evaluation.scheduler.*) takes
precedence.
Limit repository change
The Atoti Limits codebase now lives within the Atoti Server codebase, which streamlines dependency management. This means that the Atoti Limits pom now inherits from6.1.19.
Please update your pom parent to this artifact.
The pom file no longer requires the common-parent-pom, common-dependencies-bom or common-spring-services-bom, so you can remove these.
4.2.0 to 4.2.1
Connected server configuration
Server name property for connected servers with default catalog name
Previously, if-and-only-if thelimits.autoconfiguration.server-name property was not defined and
the connected Atoti Server used the default catalog name (Catalog), Atoti Limits would use
this default catalog name as the primary way to identify the connected server. This usually led to
issues when connecting to Atoti Limits and creating limits.
Now, if the connected Atoti Server uses the default catalog name (Catalog) then you must define the
limits.autoconfiguration.server-name property, or else the connection will fail with an exception.
To resolve this, set the limits.autoconfiguration.server-name property in your connected Atoti
Server’s configuration file (e.g. application.yml):
4.1.1 to 4.2.0
This guide explains how to migrate Atoti Limits from versions 4.1.1 to 4.2.0. This migration guide focuses on breaking changes. Consult the Atoti Limits 4.2.0 release notes and changelog for a complete view of changes.What is the recommended migration process?
- Back up your project.
- Automatically migrate your code and/or data using the Atoti Limits migration tool.
- Perform a diff between older Atoti Limits release builds and newer release builds.
- Update your dependencies.
- Update your code.
- Confirm successful build and startup.
How do I use the Atoti Limits migration tool?
The migration tool doesn’t account for customizations nor does it account for all required changes.
It is used as a helper to automate part of the migration process.
limits-migrations folder. It is a script written in Java that automates part of the migration process
by updating your code and/or data to be compatible with the latest version of Atoti Limits.
How does the Atoti Limits migration tool work?
In general, the tool is installed and run as follows:cd limits-migrations- Run
mvn clean install - Run
java -jar path/to/limits-migrator-tool-exec.jar <target-version> <other-args>
<target-version> with the version you are migrating to (e.g. 4.2.0),
and <other-args> with the version specific arguments accepted by the migration tool for the target
version. See the following section for more details.
4.2.0 migration script
This migration script updates the following files from Atoti Limits 4.1.x to 4.2.x:limit_structures*.csv: Adds new columnsLimit Workflow VariablesandIncident Workflow Variables.limits_approve*.csv: Renames theLimitValuescolumn toLimit Value. Adds a new columnLimit Changes Workflow Variables.incident*.csv: Adds a new columnLimit Type.
- The target version of Atoti Limits, which should be
4.2.0 - The glob pattern of the structure files to be migrated, for example
*.csvor**/*structures*.csv. - The glob pattern of the limit files to be migrated, for example
*.csvor**/*limits_approve*.csv. - The glob pattern of the incident files to be migrated, for example
*.csv,**/*incidents*.csvor**/2025-12-09/incidents/*.csv. - The root folder of the files, for example
./dataor/path/to/data.
What dependencies have changed?
The following dependency changes are required for migrating Atoti Limits 4.1.1 to Atoti Limits 4.2.0.Updated
| Dependency | Atoti Limits 4.1.1 | Atoti Limits 4.2.0 |
|---|---|---|
| workflow-service | - | 2.0.0 |
How do I migrate my project?
The following information is applicable for migrating Atoti Limits 4.1.1 to Atoti Limits 4.2.0.Low-Code/No-Code
If you are using Atoti Limits 4.1.1 in a low code/no-code setup and migrating to Atoti Limits 4.2.0, you’ll need to know high-level changes. This section focuses on the high-level changes when migrating, such as configuration/property, data model, cube, and dashboard changes.Loading data
Moving from the DLC to the new file loading service
In order to migrate your initial load configuration from the DLC to the new file loading service, you need to update the following properties in yourapplication.yml file:
| Old (DLC) Property Name | New Property Name | Comment |
|---|---|---|
| limits.dlc.root-dir | limits.initial-load.root-dir | The path to the directory containing the CSV files to load. |
| limits.dlc.path-matchers.limits | limits.initial-load.file-path-matchers.limits | The pattern to identify the CSV files containing limits. |
| limits.dlc.path-matchers.limitstructures | limits.initial-load.file-path-matchers.limit-structures | The pattern to identify the CSV files containing limit structures. |
| limits.dlc.path-matchers.incidents | limits.initial-load.file-path-matchers.incidents | The pattern to identify the CSV files containing incidents. |
| limits.dlc.path-matchers.asofdate | limits.initial-load.file-path-matchers.as-of-date | The pattern to identify the CSV files containing AsOfDates. |
| Service/Configuration Class |
|---|
com.activeviam.limits.cache.cube.cfg.source.IDataLoadControllerConfig |
com.activeviam.limits.cache.cube.cfg.source.ICSVSourceConfig |
ILimitsFileLoadingService interface.
See How to customize the file loading service
for more details on how to
override the default service.
Once you have created your custom ILimitsFileLoadingService implementation that mirrors the
behavior of your previous
DLC configuration, you can safely remove all DLC-related configurations from your project.