From 7ed6216d0c442158021886901af933f7eb8bbf31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20D=C3=A9nari=C3=A9?= Date: Tue, 10 Feb 2026 12:02:20 +0100 Subject: [PATCH] fix: IDM Process queue job do not use correct cron expression - MEED-10233 - meeds-io/meeds#4044 Before this fix, the processQueue job use the incorrect cron expression : it use the cron expression of synchro job This commit ensure to use the correct property Resolves meeds-io/meeds#4044 --- .../externalstore/IDMExternalStoreImportService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exo.core.component.organization.api/src/main/java/org/exoplatform/services/organization/externalstore/IDMExternalStoreImportService.java b/exo.core.component.organization.api/src/main/java/org/exoplatform/services/organization/externalstore/IDMExternalStoreImportService.java index 50fc7c7cf..51f3fdb89 100644 --- a/exo.core.component.organization.api/src/main/java/org/exoplatform/services/organization/externalstore/IDMExternalStoreImportService.java +++ b/exo.core.component.organization.api/src/main/java/org/exoplatform/services/organization/externalstore/IDMExternalStoreImportService.java @@ -1040,7 +1040,7 @@ private void initializeDataDeleteScheduledJob() throws Exception { } private void initializeQueueProcessingScheduledJob() throws Exception { - if (StringUtils.isBlank(scheduledDataImportJobCronExpression)) { + if (StringUtils.isBlank(scheduledQueueProcessingJobCronExpression)) { LOG.warn("Can't initialize Cron Job for IDM Queue Processing, the cron expression is empty"); return; } @@ -1050,7 +1050,7 @@ private void initializeQueueProcessingScheduledJob() throws Exception { properties.setProperty("jobName", "IDM.QUEUE"); properties.setProperty("groupName", "PORTAL.IDM"); properties.setProperty("job", IDMQueueProcessorJob.class.getName()); - properties.setProperty("expression", scheduledDataImportJobCronExpression); + properties.setProperty("expression", scheduledQueueProcessingJobCronExpression); params.addParam(properties); jobSchedulerService.addCronJob(new CronJob(params)); }