SuiteCRM workflows not running: troubleshooting

When a SuiteCRM workflow does nothing, the cause is usually a status, scheduler, cron user or record-tracking setting rather than the workflow logic. This page gives the order to check them.

On this page

Why SuiteCRM workflows not running is usually a configuration problem

A workflow was saved, it looks correct, and yet it never fires or never changes a record. In most cases the cause is a setting rather than a defect in the logic: the workflow is inactive, the scheduler job that processes workflow tasks is not running, the cron job runs under the wrong system user, or the run-on and repeated-run settings exclude the records you are testing. Those four checks resolve the large majority of silent failures, so work through them before you touch the workflow's conditions or actions. This page assumes a self-hosted SuiteCRM 8 installation, and the Workflows module (formerly called AOW) is the admin-built automation tool that the rest of the page refers to.

Scheduled workflows depend on the server, not just the application. A workflow that depends on the scheduler will look correct in the Studio while nothing happens on the server, because the scheduler job runs from the operating system's cron, and that cron entry belongs to a specific user account. If the web server user and the cron user differ, file permissions can block the job without any visible error in the browser. Confirm who owns the cron entry and whether the scheduler log shows the job starting at all before you assume the workflow logic is wrong. The exact cron setup and file ownership expectations are covered in the installation and operations sections of this page, so this section only sets the order of checks.

Bring in a partner when the checks above pass but the behavior still does not match what you designed, or when the workflow is part of a process that people depend on, such as case escalation or contract renewals. Ask the partner to test against a copy of production data, to record which records each run processed, and to explain any gap between the documented behavior and what you see. Before you hand the work over, confirm who will own the workflow after go-live, who receives its alerts, and how changes are tested on a staging instance. Those answers matter more to the outcome than the speed of the first fix.

The order to check a SuiteCRM workflow that does nothing

This sequence moves from the cheapest checks to the deepest, so you find out whether the workflow is misconfigured, never triggered, never picked up by the scheduler, or skipped because of its run settings. Each step ends with a result that tells you where to look next.

  1. Confirm the workflow is active and its trigger matches

    Open the workflow in the Workflows module and check that the active flag is set, the module is the one you expect, and the trigger (on save, on create, or scheduled) matches how you are testing. Compare the filter conditions against a record you know should qualify, because a condition that uses the wrong field or value will silently match nothing. Pass: the workflow is active and a qualifying record meets every condition. Fail: fix the flag, trigger or conditions before going further, since no later check can help a workflow that cannot match.

  2. Run a controlled test record through the trigger

    Create or edit one test record in the module the workflow watches, using values that satisfy every condition and nothing else. Use a non-production copy or a clearly labeled test account so the test does not trigger notifications to real users. Pass: the action happens immediately for on-save triggers, or the record appears in the processed records list after the next run. Fail: if an on-save workflow does nothing, the problem is in the trigger or conditions, not the scheduler, so return to step one.

  3. Check the Process Workflow Tasks scheduler job

    For scheduled workflows, open the Scheduler section in the admin area and confirm the Process Workflow Tasks job exists, is active, and shows a recent last run time. Check its interval against the time you expected the action to occur. Pass: the job is active and has run recently. Fail: a disabled or missing job means nothing scheduled will execute, so enable or recreate it before examining anything else.

  4. Verify the cron entry and the user it runs as

    On the server, confirm that a cron entry runs the SuiteCRM scheduler at the expected interval, and identify the operating system user under which it executes. Check that this user can read and write the SuiteCRM files and cache directories, and that PHP runs with the same configuration you use for the web application. Pass: the cron entry is present, runs under the intended user, and its output shows no permission or PHP errors. Fail: a cron job running as the wrong user, such as root, can leave files owned in a way that breaks later runs, while a job that never runs points to a missing crontab entry. Confirm the exact setup with your installation guide and your hosting team.

  5. Review the run-on and repeated-run settings

    Open the workflow's run-on setting and its repeated-run setting. Confirm whether the workflow is allowed to run on records it has already processed, and whether the run-on choice matches the event you are testing, such as a record being created versus updated. Pass: the settings allow a new qualifying record or change to be processed. Fail: if repeated runs are disabled and the test record was already processed, the workflow will skip it by design, so reset the test with a new record or adjust the setting deliberately.

  6. Read the processed records list for the record

    Open the processed records list for the workflow and search for your test record. Note whether it appears, when it was processed, and whether the status indicates success or a failure. Pass: the record appears with a successful status and the expected action is visible on the record. Fail: a record missing from the list means the scheduler never reached it, while a record listed with an error points to the action itself, which should be investigated with the SuiteCRM logs.

  7. Escalate with logs and a decision on next steps

    If the earlier checks passed but the workflow still does nothing, collect the SuiteCRM application logs and the cron output for the same time window as your test. Document the workflow name, trigger, settings, scheduler status, cron user and the processed records entry, so the evidence can be reviewed by the person who owns the platform. Pass: the evidence identifies a specific step where the chain breaks. Fail: if no clear break appears, record the gap and request support from the SuiteCRM vendor, your partner or your internal platform team with this evidence attached.

Which symptom points to which cause

A workflow that never runs usually fails before any record is evaluated. The most common cause is that the workflow itself is not active, so the scheduler skips it entirely. The next layer is the scheduler: the Process Workflow Tasks job must be defined and scheduled, and the system cron entry that triggers it must be running. Confirm the exact menu labels and scheduler names in your version, since they can differ between 8.x releases.

  • Workflow status: Check that the workflow is set to active in the Workflows module, and that its module and trigger type match the records you are testing.
  • Scheduler job: Confirm the Process Workflow Tasks scheduler job exists, is active, and has a run interval.
  • Cron user: Check that the cron entry that calls the scheduler runs as the web server user that owns the SuiteCRM files, not as root or another account.
  • Trigger conditions: Re-read the workflow conditions against a test record. A condition that never evaluates true will look like a dead workflow.
  • Run logs: Check the SuiteCRM logs for errors written when the scheduler starts.

Start with the workflow status and the scheduler job, then check the cron user, because these three account for most cases where nothing happens at all.

How a workflow gets from cron to a record update

The path starts with the system cron job, which calls the SuiteCRM scheduler on a fixed interval. The scheduler runs the Process Workflow Tasks job, which picks up due workflow tasks and runs them under the web-server user, so file ownership and permissions matter here. Each task then passes the active status check, the run-on and repeated-run conditions, and the processed records list before the action updates the record. Check each hand-off in turn, because a failure at any step looks the same from the user's side: nothing happens.

Where each workflow check sits between cron and the record update.

How the cron user changes what the scheduler can do

The operating system account that owns the cron entry decides what the Process Workflow Tasks job can read, write and log. A scheduler job runs as that user, not as the web server user or the administrator who created the workflow. If the cron entry was added under root, a different service account, or a personal shell user, the job can start and still fail as soon as it touches files the web application owns. Workflow processing needs to read the application code and configuration, and it writes to the cache, the logs and the storage directories. A permissions failure at any of those points can stop a workflow without any visible error in the Studio screens.

Confirm the expected user and file ownership against the installation guide for your SuiteCRM version before you change anything. Check which account the web server runs as, which account owns the SuiteCRM directory tree, and which account the cron entry uses. Those three should be consistent with what the guide describes for your release. Where the cron user differs from the web server user, check that the job can still write to the cache and log directories it needs, and that a later permission change or redeploy has not reset ownership on those paths. Your own environment and any hardening you have applied may require adjustments, so treat the guide as the reference.

After any change to the cron user or file ownership, run the scheduler job manually as that exact user and then read the scheduler log. A clean exit code alone does not show that workflows processed. Look for permission denied errors, missing file errors or entries written to an unexpected path, which can indicate the job is logging somewhere other than the location your team monitors. Repeat the manual run after fixing each issue until the log shows the expected processing for a test record.

How run-on and repeated-run settings hide workflow activity

A workflow can look broken when it is working as configured. The settings below each decide whether a record is eligible to fire, so check them in order before changing actions or conditions. Test each one with a fresh record, not one the workflow has already touched.

Inactive workflow status

A workflow that is not active never evaluates its triggers, so nothing runs even when the conditions match. Confirm the workflow is set to active and that its module is the one where the test record lives. Check that a recent save to the workflow did not switch it off. This is the first check because it hides every other setting.

Process Workflow Tasks scheduler job

Workflows that run on a schedule depend on the Process Workflow Tasks scheduler job being active and running. If the job is disabled, or its last run is old, date-based actions wait indefinitely while the workflow still looks correct in the admin screens. Confirm the job status and its last run time in the scheduler list before you debug conditions.

Run-on choice

The run-on setting limits which events can start a workflow, such as record creation or record update. A workflow set to run on creation will not fire when an existing record is edited, which makes a test on an old record look like a failure. Create a new record that matches the conditions and watch whether the workflow starts for that event.

Repeated runs setting

The repeated runs setting controls whether a workflow may act on the same record more than once. When it is off, a record the workflow already processed is skipped on later saves or scheduler passes, even if its fields changed again. Treat a silent workflow on a record that was tested before as expected, and retest with a brand-new record.

Processed records list

Where repeated runs are off, the workflow keeps a record of the records it has already handled. That list persists across edits, so changing the trigger fields on an old record does not make the workflow fire again. Confirm whether the record appears in the processed list before assuming the conditions are wrong, and avoid clearing the list on a production workflow without a plan.

Condition evaluation on existing records

Conditions are evaluated against the record at the moment the workflow runs, so a condition that matched last week may not match now. Date conditions such as a relative due date are especially sensitive, because the record can pass the threshold before the scheduler runs. Check the record's current field values against each condition line by line, using a fresh record whose values you control.

What buyers ask before paying someone to fix workflows

How long does a workflow diagnosis usually take?

The length depends on how many workflows are affected, whether the fault is in configuration or in the server, and how much access the team can give. A single workflow stuck in inactive status can be checked quickly, while a set of workflows that fail intermittently across scheduler runs needs logs from several days and a controlled test. Ask any partner to state what they need before they start, including access to a staging copy, so the diagnosis is not stalled waiting for files. No duration is fixed here, so ask for an estimate tied to your written scope.

What drives the cost of fixing SuiteCRM workflows?

Cost follows the amount of investigation and the amount of change. The main drivers are the number of workflows involved, whether any workflow depends on custom logic hooks or custom code, how many environments must be inspected, and how much access the partner has to the server, cron configuration and database. A problem limited to an inactive workflow or a wrong cron user costs far less to resolve than one that needs a code change and a retest. Ask a quote to separate the diagnosis, the fix and any retest, and to state which items are one-time and which recur, such as scheduler monitoring.

Can the admin fix workflow problems without developer access?

Many causes sit in the admin interface and need no code. Common examples are a workflow left inactive, run-on or repeated-run settings that stop it from matching records, and conditions that never evaluate true. Server-side causes need someone with shell access, such as confirming that the Process Workflow Tasks scheduler entry exists and runs under the web server user that owns the SuiteCRM files. Admins should confirm which group of checks they can perform in their own environment before escalating, and record what they changed so a partner can trace it.

What should we send a partner when workflows are not running?

Send the SuiteCRM version, the exact cron entry, the name and export of each affected workflow, and the relevant log excerpts from the period when the workflow should have run. Include the processed records list for a sample record, the run-on and repeated-run settings, and a note of any recent changes to the server or to workflow conditions. Remove passwords, tokens and personal data before sharing anything. A clear before and after description of the expected behavior saves time in the first meeting.

Does fixing a workflow always require code?

No. Most workflow faults are configuration or scheduling problems, and the fix is a setting, a schedule entry or a correction to conditions. Code becomes relevant when the required logic cannot be expressed in the Workflows module, when a logic hook already interferes with the record save, or when the workflow must act on data the module cannot reach. Ask the partner to state up front which items they expect to change in configuration and which, if any, would touch custom PHP, because custom code brings upgrade and maintenance obligations.

What does a fixed-scope engagement cover?

DeployOpen agrees scope, deliverables and timelines in writing before work starts. For a workflow troubleshooting engagement, the written scope would normally name the workflows in question, the checks performed on the scheduler, cron and processed records, the changes made, the testing approach and the handover notes. Anything outside that list, such as new workflows or unrelated module work, is a separate scope. Ask for the exclusions in writing as well as the inclusions, and confirm where testing takes place.

Should we run a staging copy before changing a live SuiteCRM?

Yes. Test any change to workflows, cron or scheduler settings on a staging copy with a current backup of files and database before applying it to production. Repeated runs and run-on settings can change many records at once, so a test on a small set of sample records shows the effect before live data is touched. Confirm with your partner that staging matches production closely enough for the test to be meaningful, including PHP version and cron user.

Security and operational checks when changing scheduler access

Fixing a workflow that does nothing often means touching the scheduler, the user cron runs as, or the workflow itself in production. Each of these changes can widen access or create new runs on live records, so the checks below belong in the same change as the fix.

Confirm the cron user before changing it

Changing the user that runs the SuiteCRM scheduler can change which files the job can read and write. A job running as the wrong user may fail on permissions, or write files that the web server user then cannot read. Before editing the crontab, record the current user, the command line and the owner of the SuiteCRM files, and confirm the new user can run the Process Workflow Tasks job without changing ownership of the application tree.

Limit shell access for the web user

Giving the web server account a login shell or sudo rights so it can run the scheduler is a shortcut that expands what a compromised web application can do. Keep the web user without a shell, and run the scheduler under a dedicated account with only the rights the job needs. Ask whoever owns the host to review any sudo rule added during troubleshooting and to remove it once the job runs correctly.

Keep a staging copy of the workflows

Test workflow fixes on a staging instance that holds a copy of the production database and the same customizations. Run the workflow against a small set of test records, check the processed records list, and confirm that the actions do what the workflow says before the change goes live. Staging should use a separate mail configuration so that test runs cannot email real customers.

Avoid editing workflows live

Editing an active workflow in production can run it against live records while the conditions and actions are half-finished. Prefer to deactivate the workflow, make the change, test it, and then reactivate it in a planned window. Note which records the workflow touched during the test, because a workflow that fires on save can change data the moment it is saved.

Remove test workflows after use

Test workflows left active can keep running after the troubleshooting session ends, especially those set to run on every save or on a schedule. Inventory all workflows that were created or changed during the fix, and check each one for its status, run-on setting and repeated-run limit. Delete the test workflows or set them to inactive, and confirm the list matches the approved design.

Log each change and restrict editors

Record who changed the cron entry, the workflow, or the scheduler user, when the change was made, and why. Limit workflow editing to a named group of administrators, and review that group when staff change roles. Ask your team to confirm whether the SuiteCRM audit history and host logs capture these changes in your setup, because the answer decides where the change record must live.

How DeployOpen scopes and fixes SuiteCRM workflow faults

DeployOpen treats a SuiteCRM workflow that does nothing as a chain to check, not a guess. We start with the workflow's own settings, then the scheduler, the cron user and the processed records list, and write down what we changed. The work is planned in a written, fixed scope before any changes are made to your SuiteCRM instance.

How we scope

  • Review the affected workflows, their status, trigger conditions, run-on and repeated-run settings before quoting.
  • Confirm which SuiteCRM environment, hosting model and access you will provide for diagnosis.
  • Agree in writing which workflows, which fault classes and which deliverables the engagement covers.

How we build

  • Trace each stalled workflow through its status, scheduler job, cron user and processed records entries.
  • Reproduce the fault on a staging instance first, using a test record that matches the live trigger.
  • Apply the smallest configuration or scheduler fix, then record the before and after state for each workflow.

How we hand over

  • Deliver a written fault report listing root cause, change made and the check that confirmed each fix.
  • Document the scheduler, cron and workflow settings your administrators must keep in place.
  • Walk your administrators through a checklist for spotting a stalled workflow before users report it.

How we support

  • Offer ongoing support, upgrades and continuous testing as a retainer after the fixed-scope work ends.
  • Retest affected workflows after SuiteCRM minor releases and configuration changes you make later.
  • Confirm with us in the quote which post-handover support, response arrangements and retesting are included.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.