How to Configure Workflow Processor in iDempiere

The Workflow Processor window in iDempiere schedules and runs the background engine that drives approval workflows, alerts, and reminders. Each cycle checks pending workflow activity, escalates overdue items to a supervisor, and logs the run so store and back-office teams can confirm approvals are processed on time.

Process Flow

TenthPlanet iDempiere GeneralRules WorkflowProcessor

Business Rules

  • Only Active Workflow Processor records are executed on their schedule.
  • The Schedule interval controls how often pending workflow activities are checked.
  • Supervisor is alerted when items exceed Reminder Days or Inactivity Alert Days.
  • Days to keep Log determines how long execution history is retained.
  • Every run creates a Log record showing duration, summary, and error status.
  • Alert over Priority escalates only workflow items above the set priority.
  • Date Next Run is recalculated automatically after each processor cycle.

Prerequisites

  • Tenant and System-level access configured for the processor record.
  • Supervisor user (e.g., SuperUser) created and set to Active.
  • Workflow definitions for retail documents (PO, SO approvals) already configured.
  • Mail/Notification server configured if reminder emails are required.

Navigation

Menu → System Admin → General Rules → Workflow → Workflow Processor

Configuration Steps

Step 1: Name the Processor and Set Organization

Open a new record, enter a descriptive Name, keep Tenant as System for global processors, and leave Organization as “*” unless scoping to one store.

FieldSample ValueDescription
TenantSystemScope of the workflow engine instance.
Organization*Organization the processor applies to.
NameSuperUserWorkFlowProcessIdentifies the processor job.
Description(optional)Free-text note on job purpose.
TenthPlanet iDempiere GeneralRules WorkFlowProcesor 1

Step 2: Set the Run Schedule

Set Schedule to a practical interval (e.g., 1 Minute for high-volume PO approvals). Shorter intervals increase responsiveness but add server load.

FieldSample ValueDescription
Schedule1 MinutesFrequency of the background check.
Date Last Run07/31/2026 2:09:45 PMTimestamp of the previous cycle.
Date Next Run07/31/2026 2:10:45 PMAuto-calculated next execution time.

Step 3: Assign Supervisor and Alert Thresholds

Select a Supervisor user, set Reminder Days for first notice, Inactivity Alert Days for stalled items, and Alert over Priority to escalate urgent documents only.

FieldSample ValueDescription
SupervisorSuperUserUser notified of workflow alerts.
Reminder Days7Days before a reminder is sent.
Inactivity Alert Days0Days of inactivity before alert.
Alert over Priority0Minimum priority level to escalate.

Step 4: Set Log Retention

Set Days to keep Log to a value matching audit needs (e.g., 7 days). Older log entries are purged automatically on each run.

FieldSample ValueDescription
Days to keep Log7Retention period for Log tab entries.

Step 5: Activate the Processor

Check the Active checkbox, save the record, and confirm Date Next Run updates to reflect the configured schedule.

FieldSample ValueDescription
ActiveCheckedEnables the processor to run.

Step 6: Monitor the Log Tab

Review each Log row’s Summary and Reference columns; check the Error box for failed cycles and investigate the Text Message for details.

FieldSample ValueDescription
Created07/31/2026 1:58:45 PMTimestamp of the logged run.
SummaryWakeup #0 – DynPriority #0 – EndWaitTime #0Run statistics for the cycle.
ErrorUncheckedIndicates whether the run failed.
Reference#0 – 0’00:00:00.35Run sequence and execution time.
TenthPlanet iDempiere GeneralRules WorkFlowProcesor 2

Common Issues and Resolutions

IssueCauseResolution
Processor never runsActive checkbox left uncheckedEnable Active and save the record.
Date Next Run not updatingServer process not restarted after changeRestart the application server instance.
No alerts reaching supervisorSupervisor blank or mail server unsetAssign Supervisor; configure mail server settings.
Log table growing too largeDays to keep Log set too highLower retention days to control table size.
Error flagged in LogReferenced workflow document invalid or deletedCheck the referenced document and workflow setup.
Approvals stuck despite active processorSchedule interval set too long for volumeReduce the Schedule interval for faster checks.

Next Steps

  • Configure the Workflow window to define approval nodes and routing.
  • Assign the workflow to the relevant Document Type (e.g., Purchase Order).
  • Set up Mail Server / Mail Template for email-based notifications.
  • Confirm Role and User setup for all approval participants.