SuiteCRM 8 Process API for custom actions

The SuiteCRM 8 Process API is the standard handler behind actions such as delete, mass update, PDF printing and export. This page explains when a custom Process handler fits, how authentication and ACL checks apply, and what to plan before building one.

On this page

What the SuiteCRM 8 Process API does for custom actions

When a team needs a backend action beyond standard record edits, such as a bulk status change across hundreds of records or a generated quote document, the SuiteCRM 8 Process API is the built-in handler for that kind of work, and it runs with authentication and ACL checks already in place. The Process API is the same standard handler that serves delete, mass update, PDF printing and export, so a custom action uses the path SuiteCRM already trusts for these operations rather than a side channel. A custom action adds a new named process that the frontend can call, with the server confirming the user is logged in and allowed to act on each record before any change is made.

Choose this route when the action must change or read records on the server, must respect the same role and record permissions as the standard screens, and must be triggered from the SuiteCRM 8 interface. Compare it with the other routes before committing. A workflow may be enough for rule-driven changes that need no user click. A custom API endpoint suits integrations with outside systems that authenticate separately. A front-end extension changes how the interface looks and behaves but does not replace server logic. Confirm which route fits each use case during scoping, and keep the decision recorded so the next upgrade does not surprise the team.

The 8.10.2 release, published on July 31, 2026, is the current reference point for this work. Handler class names, registration steps, request and response shapes and permission helpers are version-specific, so confirm each one against the SuiteCRM 8 developer documentation for the exact version in use before writing code. Ask the build team to show where the standard delete and mass update handlers are defined in that version, since those are the most reliable examples to copy in structure. Plan a staging test that runs the custom action as users with restricted roles, because a handler that works for an administrator can still expose records a narrower role should not see.

Which custom action approach fits each requirement

This table compares the Process API handler with logic hooks, Workflows, custom API endpoints and front-end extensions across the requirement types they serve. Read each row for the trigger, who can run the action, where access checks come from and how exposed the approach is to upgrades. It reflects typical fit, not a guarantee for every SuiteCRM 8 version, so confirm details against your release.

RequirementTypical route and triggerWho runs it and where ACL checks come fromUpgrade exposure
Logic that must run on every saveLogic hook on a module, fired by the save event, not by a user clicking a buttonRuns for any save path, so access is decided by the user's save rights; hooks do not add their own ACL checksModerate: hooks are upgrade-safe when placed in custom directories, but recursion and ordering need review at each upgrade
User-initiated action on one or more recordsProcess API handler, called from the interface for a selected record or set of recordsRuns as the signed-in user; the handler's built-in authentication and ACL checks apply before the action runsLow to moderate: depends on handler registration and frontend calls remaining stable across minor releases
Document or file generation for a userProcess API handler for PDF or export style output, triggered by a user from a record viewRuns as the signed-in user; the record and file access rules decide what can be producedLow to moderate: confirm output templates and any core file changes survive each patch and minor upgrade
Scheduled or time-based workWorkflows module job or scheduler task, not an interactive requestRuns under a system or configured user; Workflows assignment and role settings decide who the action is applied asLow: Workflows are configured in the application, but review scheduled job definitions after each release
Calls to an external system from a user actionCustom API endpoint or Process API handler that makes an outbound requestEndpoint must enforce its own authentication and authorization; external system credentials need separate handlingModerate to high: endpoint contracts and credentials change, so version them and test after each upgrade
Interface-only behavior such as buttons or panelsFront-end extension built on the SuiteCRM 8 Angular interfaceDoes not enforce access; the backend still decides, so server-side checks must exist for any actionHigh: front-end builds depend on the interface toolchain and must be rebuilt for each upgrade

How a Process API request passes authentication and ACL checks

A Process API request passes authentication first, then access checks, before any custom handler runs. The authenticated user calls the Process endpoint. The framework validates the session or token, resolves the handler registered for the requested action, applies module-level access checks and then record-level checks against the target bean, runs the handler, and returns a result or a job status. Each step is a point where a request can be refused, so a custom action is only as protected as the path it takes through these steps. Confirm the exact request format, the handler registration method and whether a given action runs synchronously or as a queued job in the SuiteCRM 8 developer documentation for the version you run, because the page does not rely on those details.

A custom handler inherits these checks only when it uses the framework's supported entry points. If the handler reads or writes records through the framework's bean and service layer, the module and record checks apply to it as they do to delete, mass update and export. If it queries the database directly, opens files from the filesystem or calls internal methods that skip the access layer, the checks no longer apply to that code path, and the action can expose or change records the user should not reach. Review each custom handler for the calls it makes, and treat any direct SQL or file access in an action as a finding to justify, not a convenience.

Plan a verification step before go-live. Create test users with narrow roles, run the custom action as each of them against records they own, records owned by others and records outside their team, and confirm that refusals happen at the expected step with no partial writes. Repeat the test with an expired session or an invalid token. Keep these cases in a regression set so they run again after each SuiteCRM minor release, since the checks belong to core code your handler depends on. Ask the implementation partner to show the test results and the list of entry points each custom handler uses.

Where authentication, ACL and the custom handler sit in the request flow

The request starts in the browser or API client, which sits outside the trust boundary. Every call first passes the API layer, where authentication must succeed before anything else runs. The Process handler resolver then selects the handler for the requested action, and the ACL check decides whether this user may run it against this record. Only after both checks does the custom handler touch the database or file storage. A rejected request stops at authentication or the ACL check and never reaches your code. Confirm the exact check order and error responses for your release.

Authentication and ACL checks gate the custom handler, and rejected requests return before it runs.

How to build and test a custom SuiteCRM 8 Process action

This sequence takes a custom backend action from version check to a recorded, staging-tested change, with authorization checked at every step. It is designed so that the same ACL rule that governs the built-in actions also governs the custom one.

  1. Confirm the target version and developer docs

    Before writing any code, record the exact SuiteCRM 8 version your production instance runs and the matching developer documentation for handler registration. Check the release notes for that version on the SuiteCRM-Core GitHub releases page, and confirm that the PHP, Apache and database versions in your environment appear in the SuiteCRM 8 compatibility matrix. The step is done when the version, documentation reference and compatibility result are written into the change record. If the version is a patch release, confirm it contains no database changes before you plan the work around it.

  2. Define inputs and the ACL rule

    Write down what the action does, which inputs it accepts (module, record IDs, parameters), and which role and ACL permission must allow it. Decide what a user without that permission should see, and whether the action may touch records they can view but not edit. Have a security or CRM owner sign off on this rule before implementation, because the handler must reuse the platform's permission checks rather than invent its own. The step is done when a one-page specification lists each input, the ACL check it requires and the expected refusal for a denied user.

  3. Implement the handler through supported extension points

    A developer registers the custom handler using the extension mechanism described in the developer docs for your version, not by editing core files that an upgrade would overwrite. The handler must call the platform's authentication and ACL checks before reading or writing any record, and it should return a clear refusal rather than a partial result when a check fails. Keep the code in a custom package under version control so it can be reviewed and redeployed. The step is done when the handler loads on a development instance and the code review confirms that every write path passes through an ACL check.

  4. Add tests for allowed, denied and unauthenticated calls

    Write automated or scripted tests that call the action three ways: as a user with permission (expected success), as a user without permission (expected refusal), and with no session or an expired token (expected rejection). Add a read-only user test, which should confirm that the action cannot trigger a write even when the user can see the record. Run the tests on a development instance and keep the output. The step is done when every test passes for the expected outcome and a denied role receives a refusal with no record changed, which you verify by checking the record afterward.

  5. Back up and deploy to a staging instance

    The SuiteCRM migration documentation advises testing on a staging instance and backing up both files and the database before any change, and that advice applies to a custom action as well. Take a verified backup of the staging instance, deploy the package, and repeat the tests from the previous step against the staging environment, which should match production as closely as possible. Also review any customizations in the public/legacy folder, since migrations can remove non-core files there. The step is done when the staging test run matches the development results and the backup restore has been confirmed on a separate copy.

  6. Record the result for the change log

    Record the release identifier, the SuiteCRM version, the ACL rule, the test cases with their expected and actual outcomes, the staging run date, and the name of the person who approved the change. Include the rollback steps and the backup reference. Attach the handler code reference so that the next upgrade reviewer can confirm the action still registers correctly. The step is done when the change log entry is complete and a reviewer who did not build the action can reproduce the tests from the record alone.

Security checks a custom Process handler must keep

A custom Process handler runs server-side with the permissions of the code behind it, so SuiteCRM does not automatically make it safe. The six checks below connect authentication, record access, file output, credentials, audit trails and bulk volume, and each one fails in a different way if it is left out.

Authentication on every call

Every request to a custom handler must carry a valid SuiteCRM 8 session or token, and the handler must reject anonymous or expired calls before any work starts. Check that the route is not registered in a way that skips the framework's authentication layer, and test it with a request that has no token. If the check is missing, anyone who can reach the endpoint can trigger the action without signing in. Login protection and role design for the instance are covered in the SuiteCRM security controls topic.

LDAP configuration reference

Record-level ACL inside the handler

Authenticating a user does not mean they may act on every record. The handler must load each target record and check the user's permission for that module and action, the same way the standard delete and mass update handlers do, before it changes or exports anything. Watch for handlers that take a list of IDs and act on all of them without checking each one. The failure mode is cross-account data change, where a user with access to one team's records alters another team's data by submitting IDs they found elsewhere.

Input validation and output filtering

Treat every parameter as untrusted, including IDs, field names, filter strings and template choices. Whitelist allowed field names rather than passing request keys into queries, and validate types and lengths before use. For generated PDFs and exports, filter the fields included in the output so that restricted fields the user cannot view do not appear in the file. The failure mode is injected query logic or a generated document that leaks data the requester was never shown on screen.

Secrets for external calls

Handlers that call an external service need credentials, and those credentials belong in server-side configuration or a secrets store, never in the handler's source code or in a value the browser can read. Restrict which accounts the handler uses, scope the credential to the minimum the action needs, and plan rotation with the team that owns the external system. The failure mode is a key committed to a repository or echoed in an error message, which gives anyone with repository access the external system's permissions.

Audit logging of who ran what

Record the user, the action name, the target record IDs, the time and the result for each handler call, and write the entry even when the action fails. Store the log outside the handler's own success path so an exception does not skip it. Ask the team how long these logs are kept and who can read them. The failure mode is an unexplained change to records with no way to tell which user triggered the action, which weakens incident response and any review of access to sensitive records.

Limits on bulk and repeated runs

A handler that accepts many IDs or runs on a schedule can overload the database or flood records in one request, whether the cause is a mistake or abuse by a compromised account. Set a maximum batch size, reject or split oversized requests, and rate limit repeated calls per user. Confirm the limits with a load test on a staging instance before release. The failure mode is a single mass action that locks tables for other users or changes thousands of records before anyone notices.

How SuiteCRM 8 release cadence affects custom actions

SuiteCRM 8 minor releases arrive roughly every eight weeks, so a custom Process API handler written against one minor release will meet a new core version several times a year. Retest every custom handler on each minor upgrade, not only when something visibly fails. Patch releases carry only security and bug fixes, with no new features and no database changes, so they are lower risk, but a security fix can still change the behavior of the core code your handler calls. The SuiteCRM 8.10.2 release was published on GitHub on July 31, 2026, alongside SuiteCRM 7.15.2 on the same day, which is a useful reference point when you record which minor version your handlers were tested against.

Handlers placed outside the supported extension points are the ones most likely to break. A handler that is registered through the documented extension mechanism and only calls public core services is far more likely to survive an upgrade than one that edits files in the core tree or copies and modifies core Process API classes. Before you build, confirm with your team which extension points SuiteCRM documents for the version you run, and keep a short inventory of every core file or class your handlers touch. That inventory tells you what to diff and what to retest after each upgrade. Ask whether any handler depends on behavior that is undocumented, since those dependencies are the ones a minor release is most likely to change without notice.

Plan the upgrade test as part of the handler's lifecycle, not as an afterthought. Keep a staging instance on the same minor version as production, run the handler's acceptance cases (including ACL denial cases, which often regress quietly), and record the result against the release tag. Check the version-specific notes before each move, and use the SuiteCRM upgrades group on this site for the notes that apply to each minor release. Confirm with the SuiteCRM release notes and your own test results whether a given minor upgrade changes any call your handler makes, rather than assuming it does not.

Limits to confirm before you commit to a custom action

A custom Process API action inherits the limits of the handler it extends, the SuiteCRM version you run and the stack under it. Confirm each item below in a staging instance that matches production before you write the action or agree a scope.

Long-running work and progress reporting

Confirm whether the handler you extend can run long or asynchronous work and how the user sees progress. A mass update or export over many records can outlast a web request. Ask whether the handler returns a status the front end can poll, whether the job can be cancelled, and what the user sees if the browser closes mid-run. Test with a realistic record count in staging, not a handful of sample records.

Payload and file size limits

Confirm the request size and file size limits that apply to the action, both in SuiteCRM and in the web server, PHP and any proxy in front of it. Large PDF output or export files can fail at a layer you did not configure. Ask the vendor or your own test where the limit is enforced and what error the user receives when it is exceeded.

Transaction and rollback on partial failure

Confirm what happens when an action fails after some records have already changed. A bulk action may commit part of its work, and a retry may then apply the change twice. Ask whether the handler wraps its work in a database transaction, whether logic hooks run inside that transaction, and how you would identify and reverse a partial result in your own records.

Supported PHP and database versions

Confirm that the PHP and database versions in your environment appear in the compatibility matrix for the SuiteCRM 8 release you run. For SuiteCRM 8.10, the matrix lists PHP 8.2, 8.3 and 8.4, Apache 2.4, MariaDB 10.6, 10.11, 11.4 and 11.8, and MySQL 8.0 and 8.4 on Linux, Unix or macOS. A custom action that works on one listed combination may still need testing on the one you deploy.

Compatibility matrix

Interaction with the Workflows module

Confirm whether a custom action can be triggered from or alongside SuiteCRM Workflows, and whether a workflow that calls the same records could run before, during or after your action. Two automations writing the same fields can produce results that neither author intended. Ask how each run is logged and whether a workflow can invoke the action without bypassing the ACL checks you rely on.

Documented handler API for your version

Confirm that the exact handler interface you plan to extend is documented for the SuiteCRM 8 version you run, including its method signatures, expected return values and error handling. Undocumented internals can change in a minor release, and SuiteCRM minor releases arrive roughly every eight weeks. Ask where the contract is published and whether the vendor commits to keeping it stable across the versions you expect to upgrade through.

SuiteCRM lifecycle

SuiteCRM 8 Process API questions buyers ask before hiring help

How much effort does a custom Process API action take to build?

Effort depends mostly on how much the action has to do, not on the Process API itself. The main drivers are the number of inputs and outputs, how complex the access rules are (which roles can run the action, on which modules, against which records), how many external systems it calls and what data it exchanges with them, and how much testing the business expects across roles and edge cases. A single-record action that reads one module and writes a PDF or status field is a small job. An action that reads several related modules, applies role-specific rules and calls a billing or ERP system is a larger one. Ask any provider to break its estimate down by these drivers so you can see which ones move the number.

Can our own team build a custom SuiteCRM 8 action in-house?

A team can build one if it has working knowledge of PHP and the SuiteCRM 8 backend, can read the core code for the existing Process handlers, and can test against a non-production instance. The work also needs someone who understands SuiteCRM's authentication and ACL model, because the Process API enforces those checks and a custom action must not bypass them. Plan for skills in Symfony-style application structure, SQL and database behavior, API authentication for testing, and your own security review process. Teams without these skills usually spend more time on ACL mistakes and upgrade surprises than on the feature itself, so it is worth a short technical review of the design before coding starts.

How long does a typical build and test cycle take?

The cycle length is set by the scope and by how quickly decisions are made, not by a fixed standard. Requirements for inputs, permitted roles and expected outputs need agreement first, because changes after coding are the most common cause of rework. Build time follows from the drivers above. Testing then covers the happy path, each permitted role, denied roles, invalid input, large record sets and any external system failures, and it should run on a staging instance that resembles production. Repeated rounds of sign-off from business owners extend the cycle. Ask for a written timeline with named review points so you can see where delays would come from.

What do we need to provide before a Process action project starts?

Most projects need four things from the client. First, a staging SuiteCRM 8 environment that matches production's version, configuration and database engine, so tests mean something. Second, sample data that covers normal records and the awkward cases, such as records with missing fields or many related rows. Third, a role matrix that states which roles may run the action, which modules and fields each role can read or change, and which records are in scope. Fourth, named sign-off from the business owner and, where relevant, the security team who will approve access rules. Confirm access to any external systems the action calls, including test credentials and their rate limits, before the build begins.

Will a custom Process action survive SuiteCRM upgrades?

A custom action survives upgrades when it lives in an extension or custom location, does not edit core files, and relies only on documented interfaces. Core changes are the usual cause of breakage, because a minor release can change the code a custom action depends on. SuiteCRM minor 8.x releases arrive roughly every eight weeks and patch releases contain only security and bug fixes, so each minor release needs a regression test of the custom action on staging before production. Confirm with the vendor and in your own environment how the action is packaged and how it is removed or disabled if it conflicts with a new release. Plan the upgrade test as a recurring cost, not a one-time task.

What should a quote for a custom Process action include?

A useful quote lists the work in terms a reviewer can check. It should state the action's inputs, outputs and the roles that may run it, the external systems involved and how they are accessed, the ACL checks and who approved them, and the test scope, including which roles and edge cases are covered on staging. It should name the deliverables: source code, deployment steps, test evidence, documentation and handover. It should separate one-time build work from recurring work such as upgrade testing and support, and it should list what the client must provide and what happens if those inputs are late. A fixed-scope agreement is easier to compare, because DeployOpen agrees scope, deliverables and timelines in writing before work starts and prices follow from that scope.

How do we confirm a custom action respects existing SuiteCRM permissions?

Test the action as each role, not only as an administrator. For every role in your matrix, run the action against records the role can see, records it cannot see, and fields it can and cannot change, then compare results with what the same user can do through the normal interface. Confirm that the action rejects unauthenticated requests and that it logs who ran it and what changed, if your audit needs require that. Review the code for any direct database queries that skip the Process API's checks, since those are the most common way a custom action leaks data. Keep the test results as evidence for your security review.

How DeployOpen scopes and delivers SuiteCRM custom actions

DeployOpen plans, builds, tests and hands over custom backend actions for SuiteCRM 8 as part of a written scope. The work starts with the business action, the records it touches and the permissions that must hold, then moves through a staging build, documented handover and an optional retainer for ongoing support and upgrades.

How we scope

  • Each custom action is listed with the module, the records it reads or changes, and the users allowed to run it.
  • The written scope states which ACL checks, authentication rules and error responses each action must enforce.
  • Engagements are fixed-scope, so deliverables and timelines are agreed in writing before any build work starts.
  • Quotes follow from the written scope, so the client can see exactly which actions, tests and documents are included.

How we build

  • Actions are built as Process API handlers that run through SuiteCRM's own authentication and ACL checks, not around them.
  • Every handler is tested on a staging instance first, including denied-permission cases for each user role.
  • Changes to core files are avoided, and custom code is kept in the extension locations that SuiteCRM 8 supports.
  • Test results and known limitations are recorded against each action before it is promoted to production.

How we hand over

  • Handover includes the handler code, configuration notes, the role matrix and the test cases used to verify each action.
  • Client administrators receive a runbook covering how to deploy, roll back and disable each custom action.
  • Developers receive notes on how each handler is invoked from the SuiteCRM 8 interface and API, with any dependencies listed.
  • Clients should confirm the handover format, repository access and review steps in the written scope before work begins.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after the initial handover.
  • When SuiteCRM 8 minor or patch releases arrive, custom actions are retested against the new version on staging first.
  • Clients should ask how the retainer covers regression testing of custom actions after each SuiteCRM upgrade.
  • Support requests are handled against the terms written into the retainer, so response expectations should be confirmed in writing.

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.