When SuiteCRM workflows should create related records automatically
A sales, service or marketing team that makes the same follow-up records by hand is a good candidate for automation. Every time an opportunity moves to a certain stage, someone opens a call task. Every time a case is logged under a certain category, someone opens a linked case for a specialist queue. Each step is simple, but the work is repetitive, easy to forget and inconsistent between people. The Create Record action in SuiteCRM Workflows, formerly known as AOW, creates a new record when the workflow's conditions are met, and it can link that record to the record that triggered the workflow. Teams typically use it to open tasks, cases or follow-up calls tied to the triggering record.
Before you build one, decide whether the rule is stable enough to automate. Write down the trigger, the conditions, the record type to create, the fields that must be copied or calculated, and the relationship that must be set. If the team cannot agree on those points, the workflow will only encode the disagreement. Also decide who owns the result. A task created with the wrong assignee is still a task, so confirm the assignment logic with the people who work the queue. Check which record types the workflow's users can already create and view, because the new record should be visible to the people expected to act on it.
Test the workflow on a staging instance before it goes live, using records that reflect real edge cases such as missing fields and records already linked to an earlier follow-up. Confirm the exact Workflows settings for your SuiteCRM 8 version in the admin documentation, since behavior around run-on choices and repeated runs affects whether one trigger creates one record or many. Read the SuiteCRM home page for current product information and confirm with your own environment how the workflow behaves under your configured roles and security groups before relying on it.
What the Create Record action sets on the new record
The target module decides which record type is created and which fields, layouts, validation rules and assignment behavior apply to it. A follow-up call, a case and a task are different modules with different required fields, so choosing the module is the first decision and it shapes every other tab. Confirm in your own instance which modules the action offers and which of them your teams actually use day to day, since a record created in a module nobody monitors will not get worked.
- Module choice: Pick the module that matches how the team works the item, such as Tasks for short follow-ups and Cases for customer issues that need an owner and status.
- Required fields: Check which fields the target module marks as required, because the action may create a record that fails validation or is saved incomplete.
- Dropdown and default values: Review the default values the module applies when the workflow does not set them.
- Visibility: Confirm that the new record falls under the same role and security group rules as the trigger.
- Duplicate creation: Decide what happens when the trigger fires more than once, so the same task is not opened repeatedly.
Before go-live, create a test record in staging and confirm the target module, its required fields and its visibility match what the team expects.
Field values copied from the trigger or from related records give the new record the context a user needs without retyping it. Copying is a direct mapping: a source field on the triggering record or a related record is written to a target field on the new record. The mapping is simple to define, but it is easy to copy the wrong field, copy a value that is blank, or copy a value that later changes without the copy following it.
- Trigger fields: Map fields such as account name, contact name or subject from the record that fired the workflow.
- Related record fields: Map values from a linked record, such as an assigned owner or an opportunity amount, when the relationship is in place before the action runs.
- Blank source values: Decide what should happen when the source field is empty, since the target may stay blank or receive a placeholder.
- Copy timing: A copy reflects the value at the moment the action runs, so later edits on the trigger are not carried over.
- Field types: Confirm that the source and target field types are compatible, especially for dropdowns, dates and currency.
Ask the implementation team to list every copied field in a mapping table, then test each mapping with a record where the source field is populated and one where it is empty.
Calculated values set a target field from a computed result rather than a direct copy. In SuiteCRM workflows this is handled through the Calculated Fields logic covered on the sibling page on workflow calculated fields, which uses record and related-record parameters and deals with raw versus formatted dropdown values. Use calculations for simple derived values, such as a due date offset or a priority label, and check that each formula returns the type the target field expects.
- Simple derivations: Calculate values that depend on one or two parameters, such as a date or a status label taken from a source field.
- Dropdown values: Check whether the formula needs the raw stored key or the formatted label, because the two differ.
- Related parameters: Confirm that the related record exists when the action runs, or the formula will read empty data.
- Growing logic: When the formula needs several branches, lookups across many records or repeated maintenance, move it into code, such as a logic hook or extension, so it is versioned and reviewed.
- Upgrade impact: Record each formula in a register so an upgrade reviewer knows which values depend on it.
For each calculated field, write down the expected output for three sample inputs, including an empty input, and compare the results in staging.
The relationship links the new record back to the triggering record, so users can navigate between them and reports can count follow-up work per account, contact or case. The Create Record action has to set this link explicitly, and an unlinked record appears in the module list but not on the trigger's subpanel or in relationship-based reports. Confirm the relationship name and direction the action uses in your instance, since a relationship defined only one way may not show up where teams look for it.
- Relationship field: Identify the relationship between the trigger module and the target module that the action writes to.
- Subpanel visibility: Check that the new record appears on the trigger's subpanel after the action runs.
- Parent or child role: Decide whether the trigger is the parent of the new record, which affects deletion and reporting behavior.
- Multiple links: Avoid creating links to several unrelated records when one link is enough, since clutter makes the trigger record harder to read.
- Reporting: Confirm that reports which group work by account or contact pick up the new record.
In staging, open the trigger record after the workflow runs and confirm the new record appears on the expected subpanel and in a report.
Creating records automatically adds volume, so each element should be reviewed together with the others before the workflow is turned on for production users. A correct module with a broken mapping, or a correct mapping with no link to the trigger, still produces records that teams will not trust. Use a short checklist that covers all four elements and record the results, since the same review is useful when someone later changes the workflow or upgrades SuiteCRM.
- Sample run: Trigger the workflow on a set of test records covering populated, partly empty and edge-case data.
- Field audit: Compare target values to source values for each mapping and each calculation.
- Link audit: Confirm each created record links to the correct trigger and nothing else.
- Volume check: Estimate how many records the workflow creates per day from real trigger volume, and confirm the team can work that queue.
- Change control: Store the workflow definition and the test results together so future edits can be compared.
Ask your implementation partner or internal admin to provide the signed-off checklist and the staging results before production activation.
Configuration choices for related record creation
This table compares the settings an admin chooses when a workflow's Create Record action opens a related record. Read each row as a decision: when the option fits, and what breaks if it is set wrong. The main takeaway is that the target module, relationship and run-on settings matter more than cosmetic field choices, because a wrong relationship or loop setting creates records that are hard to find or that multiply.
| Choice | When it fits | What breaks if it is wrong |
|---|---|---|
| Target module (Tasks, Cases, Calls or other supported module) | Tasks for simple follow-ups, Calls for scheduled outreach, Cases when the work needs its own queue and SLA tracking. Confirm each module is offered by the Create Record action in your version. | Work lands in a module nobody watches, so follow-ups are missed. Reports and list views built on the wrong module show nothing. |
| Field mapping from the trigger | Copy the name, account and owner fields the new record needs so users can act on it without opening the parent. | Blank or stale fields make the record hard to act on. Copying a field that is cleared later leaves orphaned values. |
| Fixed value versus calculated value | Fixed values suit stable settings such as a status or category. Calculated values suit due dates or priorities derived from the trigger. Confirm formula support with your version's Calculated Fields documentation. | A fixed due date that never changes makes every follow-up overdue. A calculated value built on a raw dropdown key may show the wrong label or fail silently. |
| Relationship setting | Link the new record to the triggering record so it appears in the parent's subpanel and in relationship-based reports. | Without the link, the record exists but is invisible from the parent. Linking to the wrong related record puts the task on the wrong account or contact. |
| Run-on setting (create, update or both) | Run on create when the trigger should fire once per new record. Run on update only when a specific field change is the real trigger. | Running on every update creates duplicate follow-ups each time the parent is saved. Running on create only misses cases where the condition becomes true later. |
| Repeated runs setting | Limit repeats when the action's own changes could satisfy the trigger again, so the workflow stops after the first successful creation. | Without a limit, a created record can re-trigger the workflow and generate records endlessly. Check the processed records list to confirm the condition is not undone by the action. |
| Assigned user | Assign to the trigger's owner for account follow-up, to a fixed queue user for shared work, or use a round robin rule for even spread (see the lead assignment topic). | Tasks assigned to a departed or inactive user are never worked. Assigning to the wrong role or team sends cases outside the intended queue. |
How to configure a Create Record workflow step by step
This sequence takes a Create Record workflow from a tested idea in staging to a live rule that opens linked tasks, cases or calls on the right records. Each step ends with a check so the team knows the workflow did what it was built to do.
Confirm the trigger module in staging
An admin confirms which module and event should start the workflow, such as a case moving to a status or an opportunity reaching a stage, and does this on a staging instance rather than production. Build the workflow on staging first so that a misfire does not create records for real customers. Check that the trigger fires on a test record and that the record shows the expected field values before you go further.
Define the conditions that gate the action
The admin adds conditions so the workflow runs only for records that need a follow-up, for example a case priority or a stage value, and confirms the run-on setting matches the trigger. Keep conditions narrow at this stage so the number of created records stays predictable. Test with one record that meets the conditions and one that does not, and confirm only the first qualifies.
Add the Create Record action
The admin adds a Create Record action to the workflow and selects the target module, such as Tasks, Cases or Calls. Confirm the target module is the one the team will work from, since the new records appear in that module's list views and reports. Save the workflow and check that the action appears in the workflow's action list in the order you intended.
Map field values and calculated fields
The admin maps each field on the new record to a value copied from the trigger, such as the account name, subject or due date, and uses calculated fields where a value must be derived. Review raw and formatted dropdown values so the stored values match what users see in the record. Check the test run: open the created record and confirm each mapped field holds the expected value.
Set the relationship back to the trigger
The admin sets the relationship so the new record links to the record that triggered the workflow, for example a task related to a case or a call related to an opportunity. Relationship fields must point to the correct module and relationship name, so confirm the choice against the module's documented relationships in your version. Open the trigger record after the test run and confirm the new record appears in its related list, which is the main check for this step.
Assign the new record to the right user
The admin sets the assigned user for the created record, either to a fixed user, to the owner of the trigger record, or to a value copied from a field, and confirms the choice matches the team's ownership rules. If assignment must spread work across a team, plan that as a separate rule so the two behaviors do not conflict. Test with records owned by different users and confirm each new record lands with the expected owner.
Activate the workflow and monitor the first runs
The admin activates the workflow only after the staging tests pass, then repeats the same trigger in a controlled production check with a single known record. The admin confirms the created record matches the staging result and watches the first real runs for duplicates or unexpected records. Keep a note of the workflow version and the test records so a later change can be compared against a known-good state.
Test with a sample record end to end
The team runs a complete sample record through the trigger, the conditions, the action, the field mapping, the relationship and the assignment, then checks each output in one pass. Confirm that re-saving the trigger record does not create a second related record, since repeated runs are a common fault. The step closes when the sample record passes every check and the result is written down for the operations team.
How the trigger, conditions and new record fit together
A Create Record action runs only after a workflow has been triggered and its conditions have passed. The trigger is either a record save on the module the workflow is attached to, such as a case or opportunity, or a scheduler run of the Process Workflow Tasks job for workflows set to run on a schedule. On each run, SuiteCRM checks the workflow's conditions against the triggering record, and only when every condition is met does the workflow move on to its actions. The Create Record action then builds a new record in the target module and sets its relationship to the triggering record, so the task, case or call appears linked to the original. Before go-live, confirm which trigger each workflow uses, and write down the exact condition that must be true for the new record to be created.
Field values on the new record can be copied from the trigger, typed in as fixed values, or filled in by a Calculated Fields action placed earlier in the same workflow. The new record is created with its own save, so any workflow attached to the target module may also fire from that save. The more important risk is an action that changes a field the workflow's own conditions read. If a Create Record action sets or updates a value on the triggering record, for example a status that the condition is testing, the record can satisfy the condition again on the next save and create another related record. Review every action for writes back to the trigger, and check each condition against the fields those actions change. The workflow loops and repeated runs sibling page covers the Repeated Runs setting, run-on choices and how to spot these self-undoing workflows in detail.
When a related record is not created, the cause is usually in the chain described above, so troubleshoot in order: confirm the workflow is active, confirm the trigger and run-on setting, then test the conditions against a real record. Check the processed records list to see whether the record was already handled. If the workflow is scheduled, confirm that the Process Workflow Tasks job runs under the intended user, as described in the workflows not running troubleshooting page. Plan a test case for each path, including a record that should not create anything, and retest after any change to the conditions or the fields the actions write to.
A workflow creates the linked record only when conditions match
The workflow starts when a record is saved or when the scheduler runs the workflow task job for a record that fits its trigger. The condition check then tests the record's fields. When conditions match, the Create Record action opens a new task, case or call, copies or calculates field values into it, and sets the relationship back to the triggering record. When conditions do not match, nothing is created and the flow returns to the trigger, so the check runs again on the next save or scheduled run. Confirm the run-on and repeated-run settings before go-live.
Trigger, condition check and Create Record action producing a linked record.
Security and access risks when workflows create records
A workflow that creates a task, case or follow-up call runs with its own logic, not the judgment of the person who triggered it. The cards below cover where that gap can expose data or route work to the wrong people, and how to test it before go-live. Each check applies to the Create Record action on the page's topic.
Records the user could not create
A workflow can create a record in a module the triggering user has no permission to create in. An update to a case may open a task that a sales representative could never have entered by hand. Before go-live, list every Create Record action and compare the target module with the role permissions of the users who will trigger it. Confirm in your own environment whether the workflow's creation runs under the triggering user's rights or under a system context, because that determines which permission set applies.
Assignment routing to the wrong role
When the Create Record action sets Assigned To from a fixed user, a related field or a calculated value, the new record can land with a team that should not see it. A follow-up call for a regulated customer may be assigned to a general queue. Check each assignment rule against the role or security group that should own the record, and test with a user from each group to confirm that the new record appears only where intended.
Copied fields across access boundaries
Field values copied from a restricted parent record into a new record may expose data to users who could not open the parent. For example, copying a customer's account notes into a task visible to a wider team. List every copied or calculated field, and check the access model of the target module against the source. Mask or leave out sensitive fields where the new record's audience is broader.
Who can edit workflows
Anyone who can change a workflow can change which records it creates, who receives them and what they contain. Review which admin roles can open the Workflows module, and record who approved each change. Treat a workflow edit like a configuration change: keep a written record of the trigger, the actions and the owner, and require a second reviewer before any change to Create Record actions goes live.
Role design behind created records
Workflow logic is only as safe as the roles it relies on. Overlapping roles or broad group membership can let created records reach people beyond their need. Review role design alongside the workflows that depend on it, confirm which roles can view the new module, and document the intended audience for each created record type before building the workflow.
Testing as a restricted user
Testing a workflow as an administrator hides most access problems, because administrators see everything. Run each test as a user with the same role as the people who will trigger the workflow in production, then check the created record from the assigned user's account and from a user outside the intended group. Record the results and repeat the test after every workflow or role change.
Questions teams ask before building related record workflows
What drives the cost of building related record workflows in SuiteCRM?
The cost depends mainly on how many related records the workflow creates, how many field values are copied or calculated, and how many branches the logic has. A workflow that opens one follow-up task from a single trigger is a small job. A workflow that opens a case, a task and a call, sets relationships across several modules, and needs role-based conditions is a larger one. Costs fall into three parts: the discovery and design of field mappings, the build in the Workflows module, and the testing against realistic records. Ask any quote to list each workflow, its trigger, every record it creates, and the test cases it will be checked against. Recurring costs come from reviewing the workflow after each SuiteCRM minor release.
How long does it take to build and test these workflows?
Duration is set by the number of workflows, the complexity of their conditions and how quickly the business signs off on the field rules. No duration figure is given here, so ask for a schedule that shows design, build, staging tests and go-live as separate steps. Testing usually takes longer than building, because each path (new record, edited record, record that already has a follow-up) needs to be checked on a staging instance. Teams that already have clear rules for who owns a follow-up and what it should contain tend to finish sooner.
What does the work need from our admins and developers?
Admins need to supply the business rules, the module and field names in use, and the people who will own each created record. Developers are needed only when a field value depends on logic the Workflows module cannot express, or when a related record must be set in a way the module does not offer. Your team should also provide a staging instance with a copy of production data, or representative test data, so tests reflect real layouts and dropdown values. Plan for someone to sign off on each workflow before it is activated.
Can an internal SuiteCRM admin build these workflows without outside help?
Yes, for simple workflows. A trained admin can create a Create Record action that opens a task or call linked to the triggering record, copy a few fields and set a relationship, provided they test it on staging first. Outside help becomes more useful when the workflows chain together, when calculated values need careful formatting, or when several teams depend on the output. Check whether your admin has time for testing, documentation and handover, since those steps often take more effort than the first build.
How do we keep these workflows working across SuiteCRM upgrades?
Keep each workflow documented with its trigger, conditions, actions and owner, and keep a list of the fields and modules it reads and writes. SuiteCRM 8 minor releases arrive roughly every eight weeks, and patch releases contain only security and bug fixes, but a minor release can still change module or field behavior that a workflow relies on. Before each upgrade, run the workflows on a staging instance against your test cases and review any record they create. Building the workflow inside the Workflows module rather than in custom code generally makes it easier to review after an upgrade.
What can go wrong when a workflow creates related records?
The most common problems are duplicate records created on every save, follow-up tasks assigned to the wrong user, relationships set to the wrong parent record, and field values that copy as raw dropdown keys instead of labels. A workflow whose actions change the conditions that started it can also loop. Each of these is easier to catch in staging than in production. Ask your partner or internal team to show the test cases for re-saving records, editing related fields and running on records that already have a child record.
When should we bring in outside help for this work?
Bring in outside help when the workflows affect revenue, service levels or customer data, when several modules and teams depend on them, or when your admins are already committed to other SuiteCRM work. Outside help is also useful when you need a written scope, a test plan and a handover that your team can run after go-live. DeployOpen implements SuiteCRM workflows as fixed-scope engagements, with scope, deliverables and timelines agreed in writing before work starts, and offers retainers for ongoing support after go-live.
Limits to confirm in your SuiteCRM environment
The Create Record action depends on the module set, relationship behavior, field handling and scheduler timing of your exact SuiteCRM version. The cards below list what to test on a staging instance before any related-record workflow goes live.
Supported modules and relationships
Confirm which target modules the Create Record action can write to in your version, and whether it can set the relationship field that links a new task, case or call to the triggering record. Test each pairing you plan to use, such as an opportunity creating a follow-up call, and check that the new record appears in the subpanel of the parent. Where a pairing fails, decide whether a manual relationship step or a logic hook is the better fallback before you design the rest of the flow.
Compatibility matrixCalculated values and dropdown keys
Dropdown fields store raw keys, while screens show formatted labels. A value copied or calculated into a new record can therefore land as a key that looks wrong to users, or as an empty value when the source and target lists differ. Create a test record with each dropdown value you plan to pass, open the created record, and confirm both the stored value and the displayed label. Check this again after any change to the dropdown list.
Scheduler and cron timing
Workflows that run on a schedule only create records when the scheduler job runs under the expected system user and interval. A follow-up task due in a few days may appear late, or not at all, if cron is missing, runs as the wrong user, or runs less often than the due date logic assumes. Confirm the job interval on your host, run it manually once in staging, and record how long it takes before the new record appears.
Release that applies to your install
Behavior of the Workflows module can differ between SuiteCRM 8 minor releases, and patch releases carry only security and bug fixes. Identify your exact installed version, then check the release notes and the compatibility matrix for your PHP, Apache and database versions before you rely on a given action. Re-test related-record workflows after each minor upgrade, because a change to the Workflows module can alter field handling or relationship writes without any change to your own configuration.
SuiteCRM-Core releasesHow to test related record creation before go-live
Test every Create Record workflow on a staging instance before it touches live data, because a workflow that creates records runs silently and its mistakes multiply with each triggering save. Start with a written test matrix: list each workflow, the module it runs on, the trigger conditions, the run-on setting, and the related record it should create. Then pick sample triggering records that cover the paths that matter: a record that meets the condition, one that narrowly misses it, one with no related contact or account, and one that is edited several times after creation. For each sample, record the expected linked task, case or call, its subject, its parent and relationship fields, and any copied or calculated values. Compare the staging result against that sheet field by field rather than checking that something was created.
Check assignment and duplicates as separate tests, since they fail in different ways. For assignment, confirm the created record's assigned user matches the rule you designed, using test users in the roles that the workflow's security context will see. For duplicates, save the triggering record several times, change fields that are not in the condition, and then run the scheduler and confirm only one related record exists. Repeated runs and run-on choices are the usual cause of duplicates, so vary them in the test matrix. Also confirm that the created record does not re-trigger the same workflow. If your organization migrates from SuiteCRM 7, the SuiteCRM migration documentation advises testing on a staging instance first, with files and database backed up and customizations reviewed, so run this matrix on the migrated staging copy before any production cutover. Confirm the exact steps with the current SuiteCRM migration documentation for your version.
Agree a rollback path before go-live, not after the first problem. Decide who can deactivate the workflow, how the team will identify records created in error (for example, by a subject prefix or a created-by user set in testing), and whether those records will be bulk deleted or closed. Keep a copy of the workflow definition and its settings so the previous state can be restored. Keep the test matrix, the expected and actual results, and the sign-off in your change record so auditors and the business owner can see what was tested. Plan a short post-go-live review after the first live triggers, comparing created records with the matrix. The exact steps depend on your environment, so confirm them with your own team and your SuiteCRM hosting setup before you rely on them.
How DeployOpen works on this
DeployOpen scopes Creating related records automatically with SuiteCRM workflows as a written, fixed-scope piece of work, covering which trigger records open which related records, which fields are copied or calculated, and how relationships are set. The build is tested on a non-production SuiteCRM instance before anything runs against live customer data, and the handover includes documentation the admin team can maintain.
How we scope
- We list each Create Record action, its trigger module, and the related module it opens, such as tasks, cases or calls.
- We map every copied or calculated field, including which values come from the triggering record and which come from related records.
- We agree in writing which conditions, run-on settings and repeated-run limits apply, so the scope names what must not fire.
How we build
- We configure the workflows in SuiteCRM 8 on a staging instance, following the layout and roles your teams already use.
- We set the relationship links so each created record appears under the triggering record in the expected subpanel.
- We test each path with sample records, including records that should not trigger, and check for duplicate records created on repeated saves.
How we hand over
- We document each workflow with its trigger, conditions, field mappings and relationship settings, so admins can read it later.
- We walk your administrators through the workflow list, the scheduler checks and the test records used during verification.
- We record which settings depend on your SuiteCRM version, so later upgrades include a retest of these workflows.
How we support
- Ongoing support, upgrades and continuous testing are available as a retainer, and the retainer scope is agreed in writing.
- Support can cover retesting created-record workflows after each SuiteCRM minor release, before the change reaches production.
- We can review new workflow requests against the existing set, so new actions do not create duplicate or looping records.

