# Data Sync Pro > Data Sync Pro (DSP) is a Salesforce-native, rules-driven engine for business-process automation, data transformation and data quality. This documentation covers recipes, the user manual, transformation formulas, and FAQs. # Recipes ## Bulk Field Transformations https://www.datasyncpro.io/recipes/batch/bulk-field-transformations A #Batch Executable reads each Account's Description and derives a standardized Industry using MAP_VALUE_CONTAINS_IGNORE_CASE, which matches by case-insensitive substring and returns the value of the first match. Use #Batch to apply field transformations across a large volume of records in a single run. ## Mass Recalculation with Batch Blank Updates https://www.datasyncpro.io/recipes/batch/mass-recalculation-with-batch-blank-updates A #Batch Executable is configured to perform blank updates on Account records, which triggers a recalculation of rollup summary fields defined in a Self-Adaptive #Trigger. Bulk API is enabled with a batch size of 2000 to process large volumes efficiently and improve throughput. Use #Batch to run mass blank updates that force a recalculation of in-memory transformations defined in Self-Adaptive #Triggers. Enable Bulk API and set a large batch size (for example, 2000) to significantly boost throughput and complete millions of recalculations quickly. ## Bulk Merge Records from Duplicate Job Results https://www.datasyncpro.io/recipes/batch/bulk-merge-records-from-duplicate-job-results A #Batch is configured to bulk deduplicate Contacts from a Salesforce Duplicate Job run. DSP retrieves Duplicate Record Sets by Duplicate Job Id as input and uses the related Duplicate Record Items as the target. It automatically selects the principal Contact by a specified rule, then merges and fills missing fields on the principal from the merged records. Use #Batch to bulk deduplicate records from a Salesforce Duplicate Job run by processing the resulting Duplicate Record Sets and merging matched records at scale based on predefined rules. ## Scheduled Retention Cleanup https://www.datasyncpro.io/recipes/batch/scheduled-retention-cleanup A #Batch is scheduled to run every weekend and delete Cases that are closed and more than two years old. Use the Delete action to clean up unnecessary records and free up data storage. Use a Schedule to run batch jobs on a recurring cadence. ## Cross Org Data Migration https://www.datasyncpro.io/recipes/batch/cross-org-data-migration A Pipeline is configured as a sequentially ordered list of #Batch Executables that migrates data from one org to another while preserving all parent–child relationships. The execution order ensures parent records are processed before their dependent child records, with each Executable’s field mappings easily configured to maintain the relationships. Use a Pipeline to orchestrate multi-step, cross-org data migrations—running sequential #Batch Executables that preserve parent–child relationships by leveraging External IDs, VLOOKUPs, and Record Type developer names in field mappings. For large volume data (e.g., more than 1 million records), enable Bulk API and tune batch size to achieve faster, more efficient execution. ## Migrate Salesforce Files Between Orgs https://www.datasyncpro.io/recipes/batch/migrate-salesforce-files-between-orgs A pipeline of multiple Batch Executables is built to migrate Salesforce Files (for a particular object identified by the FirstPublishLocationId field) and their associated links to a remote org. The process begins by migrating ContentVersion data while storing the source identifiers in custom fields, followed by migrating ContentDocumentLink to re-establish the links. Additional batches apply the same pattern to other linked objects. Use a Pipeline with sequential #Batch Executables to migrate Salesforce Files and rebuild their links in a target org, using VLOOKUP and External IDs to maintain data relationships when re-establishing ContentDocumentLink associations. ## Snapshot Backups with Incremental Backup to File https://www.datasyncpro.io/recipes/batch/snapshot-backups-with-incremental-backup-to-file Incremental Backup to File turns a Pipeline into a scheduled, file-based backup. The Create Backup Executables quick action builds it for you — one #Batch Executable per selected object, logging each object's data to file without writing changes. Snapshots download as CSV or JSON, and records restore straight from the logs. Enable Incremental Backup to File on a Pipeline, run the Create Backup Executables quick action to generate one #Batch Executable per object, schedule it for recurring snapshots, and restore records from the logs when needed. ## Incremental Data Backup to Big Objects https://www.datasyncpro.io/recipes/batch/incremental-data-backup-to-big-objects A big object is created as a backup store for Cases. A scheduled #Batch Executable inserts Case records into the big object on a recurring basis using Incremental Retrieve, so each run only processes Cases changed since the last execution and keeps the backup up to date. Salesforce Big Object provides a cost-effective way to store large volume data with strong performance without moving data off-platform. Use #Batch to load data into Big Objects for structured backup/archive, record-based change history, long-term compliance retention, high-volume transactional storage, and more. ## Restore Records from Recycle Bin https://www.datasyncpro.io/recipes/batch/restore-records-from-recycle-bin A #Batch is configured to restore deleted Contacts in bulk from the Salesforce Recycle Bin. The Executable retrieves soft-deleted Contact records (e.g., based on deletion date, owner, or other filters) and runs an Undelete action to bring them back as active records. Use the Undelete action in DSP to restore soft-deleted records either in bulk with a #Batch or selectively through an interactive #Data List, so accidental deletions can be safely and easily reversed. ## Mask Sensitive Data in Sandboxes https://www.datasyncpro.io/recipes/batch/mask-sensitive-data-in-sandboxes A #Batch Executable is configured to update Contacts in a sandbox, using DSP masking functions to obfuscate sensitive fields. Use #Batch and masking functions to bulk obfuscate sensitive data in non-production environments, so realistic data stays protected. ## Schedule Job Management https://www.datasyncpro.io/recipes/batch/schedule-job-management ## Self-Adaptive Trigger for Rollup Summary Calculations https://www.datasyncpro.io/recipes/trigger/self-adaptive-trigger-for-rollup-summary-calculations A Self-Adaptive #Trigger is configured on Account (before update) to perform in-memory rollup calculations on save using AGG functions. When Accounts are blank-updated, or related child records are inserted, updated, deleted, or undeleted, the rollups recompute and stay current automatically. Use a Self-Adaptive #Trigger (before insert, before update) to perform in-memory field calculations with DSP’s bulk-safe transformations—including roll-up summaries and other logic such as conditional assignment rules, derived fields, normalization, and defaulting—so values are computed automatically on record save. ## Centralized Validation Rules with Self-Adaptive Trigger https://www.datasyncpro.io/recipes/trigger/centralized-validation-rules-with-self-adaptive-trigger A Self-Adaptive #Trigger is configured on Opportunity to enforce Owner and Stage assignment policies on save. It validates: 1. Renewal Opportunities are owned by the Account Owner and high-value Opportunities (≥ $500,000) are owned by a Sales Manager (Owner Profile). 2. Opportunities cannot progress to later stages without an Amount. Use a Self-Adaptive #Trigger to centralize an object’s validation rules, and use ERROR() to conditionally block saves with specific messages. ## Auto-Copy Child Records from a Source Reference https://www.datasyncpro.io/recipes/trigger/auto-copy-child-records-from-a-source-reference A #Trigger Executable is configured on Opportunity (after insert). When a new Opportunity is created with an Original Opportunity specified, it automatically clones all Opportunity Line Items from the original Opportunity, copying key fields such as Product, Price, Quantity, Discount, and other required attributes. Use #Trigger with a Joiner to automatically create and initialize child records based on existing data referenced by a source field—for example, copying line items when generating new Opportunities, Quotes, or Orders from an existing record. ## Maintain Child Records from Parent Field Changes https://www.datasyncpro.io/recipes/trigger/maintain-child-records-from-parent-field-changes #Triggers are configured to manage territory-based sharing on Account. When the Territory Manager field is set or changes, DSP creates an AccountShare for the current manager and removes the previous AccountShare, keeping access aligned with the latest Territory Manager. Use #Trigger to automatically create, update, or delete child records in response to key parent field changes, keeping related data consistent. ## Auto-Create a Child Record on Parent Change https://www.datasyncpro.io/recipes/trigger/auto-create-a-child-record-on-parent-change A #Trigger Executable is configured on Case update so that when a Case is closed, it automatically creates a follow-up Task assigned to the Case Owner with a due date 7 days out to verify customer satisfaction. Use #Trigger to configure an automation that runs during save when a record meets specific criteria, automatically executing actions such as creating or updating related child records. ## Record Snapshot History with a Big Object https://www.datasyncpro.io/recipes/trigger/record-snapshot-history-with-a-big-object A Big Object is created to store record-level Quote change history, indexed by RecordID__c and LastModifiedDate__c. A #Trigger on Quote (after insert, after update) writes a new history record whenever a Quote is created or modified. Use a #Trigger to automatically capture and store record snapshots in a Big Object each time a record is saved. ## Joiner + Scope Filter (Post Join) https://www.datasyncpro.io/recipes/trigger/joiner-scope-filter-post-join A #Trigger Executable is configured to run on Opportunity update so that when the Owner changes, it automatically reassigns related open Quotes owned by the previous Opportunity Owner to the new Owner. Use Joiner + Scope Filter (Post Join) to left-join source records with their child records, then filter the joined dataset for downstream actions. ## The Trigger Flipper Pattern https://www.datasyncpro.io/recipes/trigger/the-trigger-flipper-pattern A custom checkbox flipper field is created on the Case object and paired with a before-save Self-Adaptive #Trigger Executable that always resets it to false while tracking an in-memory flag indicating whether it was flipped. Another #Trigger is configured to send an email notification whenever the field is flipped. Use a flipper field with TRIGGER_FLIPPER and TRIGGER_IS_FLIPPED in #Trigger Executables to run repeatable automations—automatically or on demand—decoupling the automation logic from the condition that triggers it. ## Bulk Add Records to a Data List https://www.datasyncpro.io/recipes/data-list/bulk-add-records-to-a-data-list An Action Button is added to the Quote Line Items list to add or update Line Items. When clicked, it opens the Quote Pricebook’s related Pricebook Entry Data List for selection. Users select the entries, then proceed to the Pre-Action Line Editor to review, validate, and adjust values before running the Upsert action. Use Chained Data List(s) in #Action Button to guide users through selecting input records across one or more data lists, review and adjust selections in a pre-action editor when needed, then execute the configured action on the target records. ## Dynamic Filters https://www.datasyncpro.io/recipes/data-list/dynamic-filters Configure Dynamic Filters in the Query component to create context-aware WHERE clauses that resolve at runtime. Reference page record fields with :fieldName (supporting up to 5 parent relationship levels), or use user-context tokens—such as :$User.Id, :$User.Queues, :$User.DirectReports, :$User.Team, and :$UserRole.Team—to filter by the current user’s scope. Use Dynamic Filters to build reusable, context-aware queries that automatically adjust to the current record and user—so the same query surfaces the right data on any page, for any user, without hardcoding IDs. ## List Action with Line Editor https://www.datasyncpro.io/recipes/data-list/list-action-with-line-editor An #Action Button is added to the Opportunity data list to close selected Opportunities, with a Pre-Action configured (Template Record Editor disabled). When clicked, it opens a line editor for all target records so users can remove unneeded lines, edit rows individually, or mass-edit multiple rows—then proceed to execute the action. Use an #Action Button on a #Data List with a line-editor pre-action to review and make changes—remove rows, edit individually, or mass-edit multiple selections—then run the action. ## List Action with Template Record Editor https://www.datasyncpro.io/recipes/data-list/list-action-with-template-record-editor An #Action Button is added to the Case data list to close selected Cases, with Pre-Action (Template Record Editor) enabled. When clicked, it opens the editor using the first transformed target record; any field changes are applied to all target records. Users then proceed to execute the action on the full target set. Use an #Action Button on a #Data List with a Template Record Editor pre-action to review a single template and apply the same changes to all target records before executing the bulk update. ## Pinned Column Filters https://www.datasyncpro.io/recipes/data-list/pinned-column-filters ## Restore a Record From Snapshot History https://www.datasyncpro.io/recipes/data-list/restore-a-record-from-snapshot-history A #Data List on the Quote record page queries Quote history stored in a Big Object using a dynamic filter, and provides an action to restore the Quote from a selected version. Use a #Data List to surface Big Object–based change history on a record page so users can review prior versions and optionally restore a selected snapshot. ## Add Multiple Actions to a Data List https://www.datasyncpro.io/recipes/data-list/add-multiple-actions-to-a-data-list A #Data List is configured to show an Account’s open Opportunities as a related list. A Pipeline with multiple #Action Buttons is attached to the Data List so users can add new records or use selected rows as input to run configured processes. Use a shared #Data List to present a focused set of records and add multiple actions so users can create new records or use selected rows as input to run tailored processes in one place. ## Row Related Lists https://www.datasyncpro.io/recipes/data-list/row-related-lists A Pipeline of #Data List Executables is configured to dynamically surface related data for any Opportunity. A #Data List that shows Opportunities is linked to the Pipeline via Q: Row Related Lists. Once configured, each row in the Opportunity data list automatically includes a row action that opens a pop-up with the related Data Lists defined in the Pipeline. Use Q: Row Related Lists to add dynamic, context-aware related lists to any #Data List—so each row can open a pop-up of configured Data Lists (via a Pipeline) for quick drill-in and action without leaving the current list. ## Summarize Records in a Data List https://www.datasyncpro.io/recipes/data-list/summarize-records-in-a-data-list A #Data List is configured to display open Opportunities with Q: Summary Fields calculating the opportunity count alongside the total, average, minimum, and maximum amounts. The summary reflects selected rows, or the current page when no rows are selected. Use Q: Summary Fields in a #Data List to summarize the overall characteristics of a set of records through aggregate functions, including SUM, AVG, MIN, MAX, and COUNT. ## One-File-Per-Record File Management https://www.datasyncpro.io/recipes/data-list/one-file-per-record-file-management The Source Object ContentDocument ID Field is configured on a Data List to let users upload, preview, and update the related file directly from each row in the list. Use the Source Object ContentDocument ID Field to let users manage files from #Data List and maintain a single record-level file with full version history. ## Mashup Related Data from a Remote Org https://www.datasyncpro.io/recipes/data-list/mashup-related-data-from-a-remote-org A #Data List is configured on the Account Lightning record page to display related Opportunities from a remote Salesforce org using a dynamic filter. Use #Data List with dynamic filters to surface related data from an authorized connected org and let users take action or synchronize records when needed. This mashup pattern avoids migrating data across orgs and accesses remote data as if it were in the current org. ## Record Action with Pre-Action Review https://www.datasyncpro.io/recipes/action-button/record-action-with-pre-action-review An #Action Button is configured and placed on the Case record page to close the Case, with the Pre-Action defined. When users click the button, a screen opens with transformed/existing target field values, allowing them to review and edit those values before proceeding with the update. Use an #Action Button on a record page to run a guided, rules-driven action—optionally showing a pre-action review screen so users can confirm or edit transformed values before execution. ## Merge Duplicate Records https://www.datasyncpro.io/recipes/action-button/merge-duplicate-records An #Action Button is configured to let business users trigger automated deduplication with a single click. The Executable uses the Merge action with Apply Duplicate Matching enabled, applies configurable sorting to identify the principal record, and auto-fills missing fields with values from the merged records. Use the Merge action to simplify deduplication with predefined rules—such as applying duplicate matching defined in Salesforce Duplicate Management, automatically selecting the principal record, and filling in missing fields. ## Transformable, Record-Based Data Loader https://www.datasyncpro.io/recipes/data-loader/transformable-record-based-data-loader A #Data Loader is configured to upsert Leads from a CSV file using the Email field as the match key. Records with an existing Email are updated; otherwise, new Leads are inserted. Use #Data Loader to ingest CSV data, apply scoping, matching, and field transformations, then action target records—reusable, native in Salesforce, and generating online execution logs for troubleshooting and compliance. ## Context-Aware Data Loader from Lightning Record Page https://www.datasyncpro.io/recipes/data-loader/context-aware-data-loader-from-lightning-record-page A #Data Loader is added to Account’s related Data List and configured to use $CONTEXT_RECORD_ID to reference the current Account record. After upload, the loaded records are automatically related to that $CONTEXT_RECORD_ID. Use #Data Loader with $CONTEXT_RECORD_ID in field mappings to enable context-aware uploads from a #Data List on any Lightning Record Page, so imported records automatically relate to the current record. ## Build and Run a Query https://www.datasyncpro.io/recipes/query/build-and-run-a-query A complex SOQL query is built in the Query component using schema-aware UI prompts, without requiring users to know SOQL syntax. After running, results display with pagination, mapped labels (instead of API names), column filters, mass edit/delete, inline edit, download, new record, and row-level view/update/clone/delete actions. Designed for every Salesforce user, DSP’s Query component lets you build SOQL queries with schema-aware suggestions—no syntax required—and work with finely polished, action-ready results directly in Lightning Experience. It runs natively as an LWC, keeping data in Salesforce while meeting enterprise-grade security standards. ## Column Filter https://www.datasyncpro.io/recipes/query/column-filter Use Column Filter to quickly narrow down the query results by applying a condition to the selected column. ## Inline Edit https://www.datasyncpro.io/recipes/query/inline-edit After running a query, double-click a cell to edit it inline—including picklist and reference fields. If multiple rows are selected, the change can be applied to all selected records in one action, then saved. Use Inline Edit to quickly update query results right in the grid—including picklist and reference fields—and apply the same change to multiple selected records for fast, in-place bulk edits. ## Manage Saved Queries https://www.datasyncpro.io/recipes/query/manage-saved-queries Click Save Query to store your SOQL for reuse. Later, use Select Query to pick a saved query (most-recent first); DSP parses it into the visual SOQL Builder so you can review, refine, and run it again. In Saved Queries, you can relabel, update, delete, or download entries anytime. Use the Query component to build and manage your frequently used SOQL queries—so you can quickly reuse, refine, and rerun them. ## Mass Edit https://www.datasyncpro.io/recipes/query/mass-edit After running a query, select multiple rows and open Mass Edit to update fields in a layout-style form. Enter values once, apply them to all selected rows, and save—supporting blank updates even when no field values change. Use Mass Edit to make consistent changes across many query results at once—set field values in a single form, apply them to all selected records, and optionally perform a blank update when you need to trigger downstream logic without changing data. ## Skip No-Op Updates https://www.datasyncpro.io/recipes/general/skip-no-op-updates A Skip Update If No Changes setting is enabled on a #Batch job that updates Contacts. During execution, DSP compares computed mapped values to what’s already in Salesforce and skips the update when nothing changed—reducing downstream automation/validation churn and avoiding unnecessary updates. Use Skip Update If No Changes to prevent no-op updates when computed target values already match what’s stored—so validations, automations, and audit fields aren’t needlessly triggered. ## Variables for Named Expressions https://www.datasyncpro.io/recipes/general/variables-for-named-expressions A reusable Variable named TaxConfiguration uses VLOOKUP_RECORD to retrieve a single TaxConfiguration__c record based on the source record’s BillingAddress. Field mappings then reference #TaxConfiguration fields (TaxRate, TaxCode, ReportingRegion) without repeating VLOOKUPs, keeping mappings concise and maintainable. Use Variables to define reusable, named expressions that can be referenced across Executables. Use VLOOKUP_RECORD in a Variable to fetch a single record once and reference multiple target fields from it, avoiding repeated VLOOKUPs and keeping mappings concise and consistent. ## Export & Import Pipelines as Templates https://www.datasyncpro.io/recipes/general/export-import-pipelines-as-templates A Pipeline is created with a collection of #Batch Executables to move DSP configurations between orgs. Use Export to download the Pipeline setup as a JSON file, then Import that JSON into another Pipeline (with a Template Direction specified) to recreate the same process. Use Pipeline Export to package DSP configurations into reusable deployment templates—either to share data-driven, standardized setups for industry solutions (e.g., Data Sync Pro, Revenue Cloud or nCino) or to manually migrate DSP configurations between environments (e.g., DEV to QA) for lightweight, small-team deployments. # User Manual ## Data Model https://www.datasyncpro.io/user-manual/data-model Data Sync Pro employs a sophisticated set of custom objects designed to support its core functionalities and log activities throughout the data management process. This structured approach facilitates the app's operation by segregating metadata and logging information into distinct categories for enhanced clarity and efficiency. The metadata that governs the operational aspects of Data Sync Pro includes: On the logging side, Data Sync Pro maintains detailed records of its operations through objects like Pipeline Execution , Execution , and Batch Execution . These logs are crucial for monitoring the app's performance, debugging issues, and understanding the data flow's effectiveness and efficiency during execution. By carefully organizing this information, Data Sync Pro ensures a high level of data integrity, operational transparency, and the ability to fine-tune processes for optimal performance in the complex Salesforce data management landscape. Data Sync Pro offers two primary types of Executables, tailored to address diverse data management needs within the Salesforce ecosystem: Direction-Based Executables and Connection-Based Executables . Direction-Based Executable Direction-Based Executables are structured for operations that involve data flow between two different connections, typically a source and a target. These Executables are adept at handling complex data synchronization tasks, including data retrieval from the source, applying necessary transformations and mappings, and performing various Data Manipulation Language (DML) operations such as insert , update , upsert , delete , undelete , and merge on the target connection. Connection-Based Executable Connection-Based Executables, while focused on actions within a singular connection, complement the functionality provided by Direction-Based Executables by offering precise control over data queries and DML operations such as insert , update , upsert , and delete within the same system. These Executables are adept at handling specific, targeted data management tasks, providing advanced capabilities for filtering, matching, and transforming data. Additionally, they enable the creation of sophisticated query-based data lists, further enhancing data access and manipulation directly within Salesforce Lightning pages. ## Objects & Relationships https://www.datasyncpro.io/user-manual/data-model/objects-relationships The table below provides an overview of the core DSP configuration and log objects, including each object’s API name, parent relationships, and a brief description. ## Direction-Based Executable https://www.datasyncpro.io/user-manual/data-model/direction-based-executable A Direction-Based Executable, integral to managed Salesforce data management, operates within a predefined Direction, establishing source and target connections for data synchronization. Upon creation, users select specific source and target objects, setting the stage for a wide range of Data Manipulation Language (DML) operations—insert, update, upsert, delete, undelete, and merge—toward the target object. Designed for versatility, this Executable functions as a batch job, adept at fetching data from the source, conducting matching and transformation processes, and executing actions on the target object, with the capability to run both on-demand and as scheduled, asynchronous batch jobs. Designed for sophisticated data flow operations, Direction-Based Executables excel when used in scenarios requiring data synchronization within a single Salesforce org. This capability is particularly noteworthy, as it positions Direction-Based Executables not just for cross-org data transfers but as powerful tools for internal data management and optimization. When configured for intra-org operations, they facilitate comprehensive data tasks, including but not limited to, data cleansing, deduplication, and the enrichment of existing records. This use case underscores their utility in enhancing data quality and integrity without the necessity for external data movement, making them invaluable for organizations aiming to maintain a high standard of data within their Salesforce environment.By leveraging these Executables as batch jobs, businesses can automate complex data transformation and integration tasks, streamlining their internal processes and significantly reducing manual effort. Incorporating Query Builder, the Executable enhances user interaction by facilitating the construction of SOQL queries for data retrieval, directly through a user-friendly interface. This allows for selective record execution based on predetermined transformations and actions, offering synchronous operations. Query Builder, notable for features like inline and mass editing, downloading, and sorting, integrates smoothly into the Salesforce Lightning Experience via the Lightning App Builder. Furthermore, when utilized within the current org as the source connection, the Direction-Based Executable transcends its primary function, acting as a streamlined rules engine for trigger automations. By simplifying and bulkifying complex transformations and actions into user-configurable formulas, it presents a potent alternative to traditional triggers or flows, minimizing the need for extensive coding. Additionally, its adaptability extends to quick actions, enabling users to perform predefined operations with the simple click of a button, further demonstrating its utility and efficiency within the Salesforce platform. Standalone Direction-Based Executable Pipeline Direction-Based Executable ## Connection-Based Executable https://www.datasyncpro.io/user-manual/data-model/connection-based-executable A Connection-Based Executable is tailored for operations that involve a singular connection rather than spanning directions. This type of Executable can perform a variety of Data Manipulation Language (DML) operations, including Insert, Update, Upsert, Delete, and Query actions. When configured for DML operations, it leverages a source data profile, transforming it into a highly efficient data loader. This enables advanced functionalities such as filtering, matching, and data transformation, thereby enhancing data handling capabilities beyond basic loading tasks. Additionally, when set to perform Query actions, the Connection-Based Executable serves as a sophisticated tool for generating advanced query data lists via Query Builder. These lists can be seamlessly integrated into Lightning pages, providing users with dynamic and customizable data views. This capability not only simplifies the creation of detailed, actionable data lists but also enriches the user interface with tailored data insights, directly within the Salesforce Lightning Experience. Overall, Connection-Based Executables offer a versatile and powerful toolset for managing data within a single connection context, combining advanced data manipulation with user-friendly interface integration. image/connection-based/connection-based-executable.png ## Package Installation https://www.datasyncpro.io/user-manual/install-package Install Data Sync Pro from the [Salesforce AppExchange](https://appexchange.salesforce.com/appxListingDetail?listingId=a0N4V00000Gk6NRUAZ). On the installation screen, select "Install for Admins Only" . After the installation completes, assign the appropriate permission set(s) to different users. See [[permissions|Permission Sets]] for details. image/install-package/install-package.png ## Permissions https://www.datasyncpro.io/user-manual/permissions Data Sync Pro primarily utilizes Permission Sets as a fundamental mechanism for security control. This approach is supplemented with Custom Permissions, allowing for granular and flexible management of access rights within the system. Permission Sets Custom Permissions ## Connection https://www.datasyncpro.io/user-manual/connection A Connection (pushtopics__Connection__c) defines the authentication configuration used to connect to a Salesforce org. A Connection can act as: Authentication Flow Data Sync Pro handles authentication through two paths, decided at runtime based on the Is Current Org flag on the Connection record. image/connection/connection.png ## Current Org https://www.datasyncpro.io/user-manual/connection/current-org A Current Org Connection runs as the currently logged-in user and requires no additional credentials. All queries and DML operations execute using that user's permissions. ## OAuth 2.0 (Client Credentials Flow) https://www.datasyncpro.io/user-manual/connection/client-credentials-flow Configure OAuth 2.0 authentication using the Client Credentials Flow with: Configuration Complete the steps below to configure authentication between the Connected Org and the DSP App Org. 1. Create External Client App in Connected Org 2. Create External Credential in DSP App Org 3. Grant External Credential Principal Access 4. Create Named Credential in DSP App Org 5. Create and Test DSP Connection in DSP App Org ## OAuth 2.0 (Refresh Token Flow) https://www.datasyncpro.io/user-manual/connection/refresh-token-flow Configure OAuth 2.0 authentication using the Refresh Token Flow with: Configuration Complete the steps below to configure authentication between the Connected Org and the DSP App Org. 1. Create External Client App in Connected Org 2. Create Auth. Provider in DSP App Org 3. Update Callback URL in Connected Org 4. Create Named Credential in DSP App Org 5. Create and Test DSP Connection in DSP App Org ## New Direction https://www.datasyncpro.io/user-manual/new-direction 1. Navigate to Directions tab and click New. 2. Fill in Direction Details ## New Pipeline https://www.datasyncpro.io/user-manual/new-pipeline 1. Navigate to Pipelines tab and click New. 2. Enter a Pipeline Name and click Save. ## Pipeline Settings https://www.datasyncpro.io/user-manual/pipeline-settings ## New Executable https://www.datasyncpro.io/user-manual/new-executable Executables can be created from a Pipeline, Direction, or Connection. This guide uses a Pipeline with a configured Template Direction as an example. ## Executable Settings https://www.datasyncpro.io/user-manual/executable-settings ## #Batch Settings https://www.datasyncpro.io/user-manual/batch-settings ## #Data List Settings https://www.datasyncpro.io/user-manual/data-list-settings ## Apex Trigger Hookup https://www.datasyncpro.io/user-manual/apex-trigger-hookup Include pushtopics.TriggerService.execute() in the triggers of both the source object and any objects involved in aggregations when AGG functions are used in field mappings. trigger TriggerName on SourceObjectApiName (before insert, after insert, before update, after update, before delete, after delete, after undelete) { pushtopics.TriggerService.execute(); } For users to access the trigger(s) of this Executable, they must have at least Read access to the Executable record: Example: Hook the Account Trigger with Data Sync Pro image/trigger/trigger-example.png ## #Trigger Settings https://www.datasyncpro.io/user-manual/trigger-settings ## #Action Button Settings https://www.datasyncpro.io/user-manual/action-button-settings ## #Data Loader Settings https://www.datasyncpro.io/user-manual/data-loader-settings ## Retrieve https://www.datasyncpro.io/user-manual/process-retrieve The Retrieve step defines the source query for an Executable. For #Batch , it selects the records to process. For #Data List , it selects the records displayed in the UI. DSP automatically includes fields required by downstream steps, such as Scoping, Match, and Mapping. Fields selected in Retrieve are mainly used for preview and display. image/process/retrieve.png ## Preview https://www.datasyncpro.io/user-manual/process-preview The Preview step allow users view source records and inspect transformed values before execution. It does not influence which records are processed. For #Trigger , input data comes from the trigger context (records being inserted, updated, or deleted). For #Action Button , input data comes from the loaded record in the Lightning Record Page. image/process/preview.png ## Input https://www.datasyncpro.io/user-manual/process-input Input defines the data profile of an uploaded CSV file — how its columns map to fields in DSP. Scoping and Field Mappings use this structure to prepare the data for processing. The Input step ensures the data is correctly interpreted and aligned before transformation and execution. image/process/input.png ## Scoping https://www.datasyncpro.io/user-manual/process-scoping Scoping refines source data in-memory — using filters and joins — to define the exact dataset that flows into downstream processing. It's available in every DSP rules engine: #Batch , #Data List , #Trigger , #Action Button , and #Data Loader . Key functions: Scoping is intended for advanced data shaping that can't be expressed in the initial SOQL query (Retrieve). It runs after data is retrieved or uploaded — but before Match, Mapping, and Actions. image/process/scoping.png ## Match https://www.datasyncpro.io/user-manual/process-match Match links source records with their corresponding target records and determines how each action is applied. It underlies the Insert, Update, Upsert, Merge, Delete, and Undelete operations, ensuring records are routed and processed correctly. image/process/match.png ## Mapping https://www.datasyncpro.io/user-manual/process-mapping Mapping defines, field-by-field, how each target field's value is calculated before the action runs. For every field on the target, the designer specifies a formula or expression that produces the value to be written — a direct source-field reference, an operator-based expression, a function call, or any combination — and DSP evaluates it for each record at runtime. Key Capabilities: image/process/mapping.png ## Action https://www.datasyncpro.io/user-manual/process-action Action defines what operation runs against the target object once Scoping, Match, and Mapping have produced the records to be processed. Action Settings include: image/process/action.png ## Verify https://www.datasyncpro.io/user-manual/process-verify Verify (available only in #Batch ) defines a query on the target object. After each Batch Execution, the batch log includes a Verify tab where DSP automatically queries and displays target records with the fields defined in the Executable's Verify step. Verify is a built-in inspection step in #Batch that lets you query and review records on the target object — without leaving DSP. It runs at two levels: Together, these views make it easy to validate logic during build, troubleshoot after a run, and audit results for compliance — all using familiar SOQL, directly inside DSP. image/process/verify.png ## New Schedule https://www.datasyncpro.io/user-manual/new-schedule 1. Navigate to Schedules tab and click New. 2. Fill in Schedule Details and click Save. ## Lightning Web Components https://www.datasyncpro.io/user-manual/add-dsp-components-to-lightning-app-builder This section shows how to add Data Sync Pro managed Lightning Components to a Lightning Page in Lightning App Builder. ## Pipeline Data Lists https://www.datasyncpro.io/user-manual/add-dsp-components-to-lightning-app-builder/data-lists Drag the Pipeline Data Lists component from the left panel onto the Lightning Page , then enter the Pipeline API Name in the component properties on the right. image/lightning-page/data_lists.png ## Pipeline Data List Quick Links https://www.datasyncpro.io/user-manual/add-dsp-components-to-lightning-app-builder/quick-links Drag the Pipeline Data List Quick Links component from the left panel onto the Lightning Page , then enter the Pipeline API Name in the component properties on the right. image/lightning-page/quick_links.png ## Pipeline Batch Execution Button https://www.datasyncpro.io/user-manual/add-dsp-components-to-lightning-app-builder/batch-execution-button Drag the Pipeline Batch Execution Button component from the left panel onto the Lightning Page , then enter the Pipeline API Name in the component properties on the right. image/lightning-page/batch_execution_button.png ## Pipeline Action Buttons https://www.datasyncpro.io/user-manual/add-dsp-components-to-lightning-app-builder/action-buttons Drag the Pipeline Action buttons component from the left panel onto the Lightning Page , then enter the Pipeline API Name in the component properties on the right. image/lightning-page/action_buttons.png ## Executable Data List https://www.datasyncpro.io/user-manual/add-dsp-components-to-lightning-app-builder/data-list Drag the Executable Data List component from the left panel onto the Lightning Page , then enter the Executable API Name in the component properties on the right. image/lightning-page/data_list.png ## Executable Action Button https://www.datasyncpro.io/user-manual/add-dsp-components-to-lightning-app-builder/action-button Drag the Executable Action Button component from the left panel onto the Lightning Page , then enter the Executable API Name in the component properties on the right. image/lightning-page/action_button.png ## Salesforce Data Transformer https://www.datasyncpro.io/user-manual/salesforce-data-transformer An Apex extension point that lets you embed custom transformation logic in a DSP formula when the built-in functions are not enough. Interface Definition global interface pushtopics.SalesforceDataTransformer { /** * Specifies an array of field API names to retrieve from the source records. * This ensures DSP includes all required fields during the Retrieve step, * making them available for the Scoping, Match, and Mapping steps. */ String[] retrieveSourceFields(); Object transform(List > contextSourceRecords, Map currentSourceRecord, String assignedToFieldName); } How to Use Implement pushtopics.SalesforceDataTransformer , then reference the class in a target field's mapping with #ApexClassName . image/apex/salesforce-data-transformer.png ## Execution Finalizer https://www.datasyncpro.io/user-manual/execution-finalizer An Apex extension point that runs custom logic immediately after an Execution completes — for both #Batch and #Data Loader . Implement it when you need to react to a completed run: send notifications, write audit or summary records, or trigger downstream processes. The execute() method receives the completed Execution__c record, so you can inspect its status, counts, and errors. Interface Definition global interface pushtopics.ExecutionFinalizer { void execute(pushtopics__Execution__c execution); } How to Use Implement pushtopics.ExecutionFinalizer , then reference the class on the Executable: image/apex/execution-finalizer.png ## Action Result Processor https://www.datasyncpro.io/user-manual/action-result-processor An Apex extension point that runs after the Action in each transaction. Implement it to react to action outcomes — custom logging, follow-up processes, or branching logic based on per-record success or failure. The process() method receives a List<pushtopics.ActionResult> , one entry per record processed in that transaction, so you can iterate and act on each row's status, errors, and resulting IDs. Interface Definition global interface pushtopics.ActionResultProcessor { void process(List actionResults); } How to Use Implement pushtopics.ActionResultProcessor , then reference the class on the Executable: image/apex/action-result-processor.png ## Bulk Job Status Syncer https://www.datasyncpro.io/user-manual/bulk-job-status-syncer A built-in Apex class that polls Salesforce Bulk API and updates the corresponding Execution records as their asynchronous jobs complete. Why It's Needed When a #Batch or #Data Loader run uses the Bulk API, the actual record processing is offloaded to a separate Salesforce Bulk job. DSP submits the work and finishes its own run, but the Bulk job continues independently — its final status, counts, and errors aren't yet on the Execution record. BulkJobStatusSyncer fills this gap by polling the Bulk API for job status and writing the results back to the Execution record, keeping its status and statistics accurate. How to Use Schedule BulkJobStatusSyncer from DSP Schedule management: The more often it runs, the sooner completed Bulk jobs are reflected on their Execution records. image/apex/bulk-job-status-syncer.png ## Overview https://www.datasyncpro.io/user-manual/rest-api Use the Data Sync Pro REST API to run Pipelines and Executables outside the DSP user interface. Any tool or system that can send an HTTP request can call these endpoints. **Batch** requests submit the execution for asynchronous processing. **Sync** requests process the records immediately and return the results in the response. ## Run a Pipeline — Batch https://www.datasyncpro.io/user-manual/rest-api/rest-api-pipeline-batch Path Parameters Request Body Request Example Filter the retrieved records and run the configured Pipeline chain: { "additionalRetrieveParameters": "CreatedDate = TODAY", "chainNextPipeline": true } Apply a different filter to each Executable and run the configured Pipeline chain: { "additionalRetrieveParameters": { "Account_Sync": "CreatedDate = TODAY", "Contact_Sync": "LastModifiedDate = LAST_N_DAYS:7" }, "chainNextPipeline": true } Returns Returns the ID of the submitted **Pipeline Execution** record. The returned ID confirms that the execution was submitted. It does not indicate that processing has finished. ## Run an Executable — Batch https://www.datasyncpro.io/user-manual/rest-api/rest-api-executable-batch Path Parameters Request Body Request Example Run the Executable for specific source records: { "sourceRecordIds": [ "001XXXXXXXXXXXX" ] } Returns Returns the ID of the submitted **Execution** record. The returned ID confirms that the execution was submitted. It does not indicate that processing has finished. ## Run an Executable — Sync https://www.datasyncpro.io/user-manual/rest-api/rest-api-executable-sync The **Sync API** isn't available for org-to-org Apex callouts due to Salesforce's cross-org callout restrictions — use the **Batch API** instead. If synchronous execution is required, route the call through a proxy web service hosted outside Salesforce that relays the request and response to the DSP hosting service. Path Parameters Request Body Request Example { "sourceRecordIds": [ "001XXXXXXXXXXXX" ] } Returns Returns the processing result for each source record directly in the response body. Sync executions do not create Execution records. [ [ { "targetId": "001XXXXXXXXXXXX", "success": true, "sourceId": "001XXXXXXXXXXXX", "skipped": false, "action": "insert" } ] ] ## Postman https://www.datasyncpro.io/user-manual/rest-api/rest-api-examples-postman **Prerequisite —** An **External Client App** in the target Salesforce org with **OAuth enabled** and **Postman's callback URL** added to the allowed callback URLs. ## Apex Callout https://www.datasyncpro.io/user-manual/rest-api/rest-api-examples-apex **Prerequisite —** Configure a **Named Credential** in the calling org that points to the org where DSP is installed. public with sharing class DspApiClient { private static final String NAMED_CREDENTIAL_API_NAME = 'TO BE FILLED'; public static String runPipelineBatch(String pipelineApiName, String additionalRetrieveParameters, Boolean chainNextPipeline) { Map payload = new Map { 'additionalRetrieveParameters' => additionalRetrieveParameters, 'chainNextPipeline' => chainNextPipeline }; String endpoint = 'callout:' + NAMED_CREDENTIAL_API_NAME + '/services/apexrest/pushtopics/execution/batch/pipeline/' + pipelineApiName; return doCallAPI(endpoint, payload); } public static String runPipelineBatch(String pipelineApiName, Map additionalRetrieveParameters, Boolean chainNextPipeline) { Map payload = new Map { 'additionalRetrieveParameters' => additionalRetrieveParameters, 'chainNextPipeline' => chainNextPipeline }; String endpoint = 'callout:' + NAMED_CREDENTIAL_API_NAME + '/services/apexrest/pushtopics/execution/batch/pipeline/' + pipelineApiName; return doCallAPI(endpoint, payload); } public static String runExecutableBatch(String executableApiName, List sourceRecordIds) { Map payload = new Map { 'sourceRecordIds' => sourceRecordIds }; String endpoint = 'callout:' + NAMED_CREDENTIAL_API_NAME + '/services/apexrest/pushtopics/execution/batch/executable/' + executableApiName; return doCallAPI(endpoint, payload); } private static String doCallAPI(String endpoint, Map payload){ HttpRequest request = new HttpRequest(); request.setEndpoint(endpoint); request.setMethod('POST'); request.setHeader('Content-Type', 'application/json'); request.setBody(JSON.serializePretty(payload)); HttpResponse response = new Http().send(request); if (response.getStatusCode() != 200) { throw new CustomException('Status Code: ' + response.getStatusCode() + ': ' + response.getBody()); // CustomException - a class that extends Exception. } return response.getBody(); } } ## Apex API https://www.datasyncpro.io/user-manual/apex-api Use `pushtopics.ExecutionService` to start Batch executions of Executables and Pipelines from Apex. You can run an Executable by its configured criteria or specific record IDs, and run a Pipeline with optional additional Retrieve parameters. To start executions from an external system or another org, use the [[rest-api]] instead. executeExecutableByApiName(String apiName) executeExecutableByApiName(String apiName, List recordIds) executePipelineByApiName(String pipelineApiName) executePipelineByApiName(String pipelineApiName, Object additionalRetrieveParameters) # Transformation Formulas ## ABS https://www.datasyncpro.io/transformation/number/abs Returns the absolute value of the specified number. Syntax: ABS(num) -> Decimal ## ADD_DAYS https://www.datasyncpro.io/transformation/date_time/add_days Returns a Date or Datetime adjusted by the specified number of days, either forward (positive) or backward (negative), relative to the provided Date or Datetime. Syntax: ADD_DAYS(date/datetime, num) -> Date/Datetime ## ADD_MONTHS https://www.datasyncpro.io/transformation/date_time/add_months Returns a Date or Datetime adjusted by the specified number of months, either forward (positive) or backward (negative), relative to the provided Date or Datetime. Syntax: ADD_MONTHS(date/datetime, num) -> Date/Datetime ## AND https://www.datasyncpro.io/transformation/logical/and Returns TRUE if all provided conditions are TRUE; otherwise, returns FALSE. Syntax: AND(...logical) -> Boolean ## BASE64_ENCODE https://www.datasyncpro.io/transformation/type_processing/base64_encode Returns the Base64-encoded representation of the provided string. Syntax: BASE64_ENCODE(string) -> String ## BASE64_DECODE https://www.datasyncpro.io/transformation/type_processing/base64_decode Returns the original string by decoding the provided Base64-encoded input. If the input is not valid Base64, the function returns an error. Syntax: BASE64_DECODE(encoding) -> String ## BLANK_VALUE https://www.datasyncpro.io/transformation/logical/blank_value If the value is blank, evaluates the substitute values in order and returns the first non-blank value; otherwise, returns the original value. A value is considered blank if it is NULL, empty, contains only whitespace, or evaluates to $SKIP_ASSIGNMENT. Syntax: BLANK_VALUE(value, ...substitute_value) -> Object ## BUSINESS_HOURS_ADD https://www.datasyncpro.io/transformation/date_time/business_hours_add Adds a time interval to a starting Datetime, counting only business hours. The result is returned in GMT. Syntax: BUSINESS_HOURS_ADD(start_date, interval_milliseconds, business_hours_name_optional) -> Datetime ## BUSINESS_HOURS_DIFF https://www.datasyncpro.io/transformation/date_time/business_hours_diff Calculates the difference in milliseconds between two Datetime values within business hours. Uses the default schedule if none is provided. Syntax: BUSINESS_HOURS_DIFF(start_date, end_date, business_hours_name_optional) -> Long ## BUSINESS_HOURS_IS_WITHIN https://www.datasyncpro.io/transformation/date_time/business_hours_is_within Returns TRUE if the specified Datetime is within defined business hours. Syntax: BUSINESS_HOURS_IS_WITHIN(target_date, business_hours_name_optional) -> Boolean ## BUSINESS_HOURS_NEXT_START_DATE https://www.datasyncpro.io/transformation/date_time/business_hours_next_start_date Returns the next Datetime business hours open after the specified target date; returns the target date itself if it's within business hours. The result is returned in GMT. Syntax: BUSINESS_HOURS_NEXT_START_DATE(target_date, business_hours_name_optional) -> Datetime ## CASE https://www.datasyncpro.io/transformation/advanced/case Returns the corresponding return_value for the first compare_value equal to the provided value. If no values match, returns default_return_value_optional. If default_return_value_optional is omitted and no matches occur, the function returns $SKIP_ASSIGNMENT. Syntax: CASE(value, ...[compare_value, return_value], default_return_value_optional) -> Object ## CEILING https://www.datasyncpro.io/transformation/number/ceiling Returns the smallest integer greater than or equal to the specified number. Syntax: CEILING(num) -> Decimal ## CHAR https://www.datasyncpro.io/transformation/text/char Returns the character corresponding to the specified ASCII code. Syntax: CHAR(int) -> String ## CONTAINS https://www.datasyncpro.io/transformation/logical/contains Returns TRUE if the provided string contains any of the specified compare_strings. The comparison is case-sensitive. Otherwise, returns FALSE. Syntax: CONTAINS(string, ...compare_strings) -> Boolean ## CONTAINS_IGNORE_CASE https://www.datasyncpro.io/transformation/logical/contains_ignore_case Returns TRUE if the provided string contains any of the specified compare_strings, ignoring case differences. Otherwise, returns FALSE. Syntax: CONTAINS_IGNORE_CASE(string, ...compare_strings) -> Boolean ## CONTEXT_SOURCE_RECORDS https://www.datasyncpro.io/transformation/advanced/context_source_records Returns the source records currently in scope at this stage of the execution — as retrieved during Scope Filter evaluation, and after each preceding stage that changes the set (Scope Filter, then Joiner if defined) thereafter. Syntax: CONTEXT_SOURCE_RECORDS() -> List> ## COS https://www.datasyncpro.io/transformation/number/cos Returns the trigonometric cosine of the specified angle. Syntax: COS(num) -> Decimal ## DATE https://www.datasyncpro.io/transformation/date_time/date Returns a Date constructed from the specified year, month, and day components. Syntax: DATE(year, month, day) -> Date ## DAY https://www.datasyncpro.io/transformation/date_time/day Returns the day of the month from a Date or Datetime in the context user's local time zone. Syntax: DAY(date/datetime) -> Integer ## DAYS_BETWEEN https://www.datasyncpro.io/transformation/date_time/days_between Returns the number of days between two provided Dates. The result is positive if end_date occurs after start_date, negative if it occurs before, and zero if the dates are identical. Syntax: DAYS_BETWEEN(start_date, end_date) -> Integer ## DAY_OF_YEAR https://www.datasyncpro.io/transformation/date_time/day_of_year Returns the day number within the year for a given date, ranging from 1 to 365 or 366. Syntax: DAY_OF_YEAR(date) -> Integer ## DISTANCE https://www.datasyncpro.io/transformation/number/distance Calculates the distance between two locations in kilometers. Syntax: DISTANCE(lat1, lon1, lat2, lon2) -> Double ## ENDS_WITH https://www.datasyncpro.io/transformation/logical/ends_with Returns TRUE if the provided string ends with any of the specified compare_strings. The comparison is case-sensitive. Otherwise, returns FALSE. Syntax: ENDS_WITH(string, ...compare_strings) -> Boolean ## ENDS_WITH_IGNORE_CASE https://www.datasyncpro.io/transformation/logical/ends_with_ignore_case Returns TRUE if the provided string ends with any of the specified compare_strings. The comparison is case-insensitive. Otherwise, returns FALSE. Syntax: ENDS_WITH_IGNORE_CASE(string, ...compare_strings) -> Boolean ## EQUALS https://www.datasyncpro.io/transformation/logical/equals Returns TRUE if the value matches any of the given compare_values (case-sensitive); otherwise, returns FALSE. Syntax: EQUALS(value, ...compare_values) -> Boolean ## EQUALS_IGNORE_CASE https://www.datasyncpro.io/transformation/logical/equals_ignore_case Returns TRUE if the value matches any of the given compare_values (case-insensitive); otherwise, returns FALSE. Syntax: EQUALS_IGNORE_CASE(string, ...compare_strings) -> Boolean ## ERROR https://www.datasyncpro.io/transformation/logical/error Throws an exception with a custom message, optionally based on a specified condition. If a condition is provided, an exception is thrown only if the condition evaluates to TRUE. Syntax: ERROR(…[message, condition_optional]) -> Error / $SKIP_ASSIGNMENT ## ERROR_VALUE https://www.datasyncpro.io/transformation/logical/error_value Returns the substitute value if evaluating the value results in an error; otherwise, returns the original value. Syntax: ERROR_VALUE(value, substitute_value) -> Object ## ESCAPE_HTML4 https://www.datasyncpro.io/transformation/text/escape_html4 Returns a string with characters escaped according to HTML 4 standards. Converts special HTML characters into their corresponding HTML entities to safely display as literal text in web pages. Syntax: ESCAPE_HTML4(string) -> String ## ESCAPE_XML https://www.datasyncpro.io/transformation/text/escape_xml Returns a string with special XML characters replaced by their corresponding XML entities. Useful for safely including strings within XML documents. Syntax: ESCAPE_XML(string) -> String ## EVALUATE https://www.datasyncpro.io/transformation/advanced/evaluate Returns the value of a formula stored in a custom field, evaluated at runtime. Optionally retrieves fields from related records. Syntax: EVALUATE(formula_string, retrieve_source_fields, relationship_name_optional) -> Object ## EXP https://www.datasyncpro.io/transformation/number/exp Returns the value of e raised to the specified number. Syntax: EXP(num) -> Decimal ## EVALUATED_FIELD_VALUE https://www.datasyncpro.io/transformation/advanced/evaluated_field_value Returns the evaluated value of a mapped target field that has already been processed prior to the current field’s evaluation within the Executable’s Mapping step. If the field has not yet been evaluated, the function returns NULL. Syntax: EVALUATED_FIELD_VALUE(mapped_target_field_name) -> Object ## FLOOR https://www.datasyncpro.io/transformation/number/floor Returns the largest integer less than or equal to the specified number. Syntax: FLOOR(num) -> Decimal ## FORMAT_DATETIME https://www.datasyncpro.io/transformation/date_time/format_datetime Formats a Date or Datetime as a string. Syntax: FORMAT_DATETIME(date/datetime, format_string_optional, timezone_optional) -> String ## FORMAT_DATETIME_GMT https://www.datasyncpro.io/transformation/date_time/format_datetime_gmt Formats a Datetime as a string, based on GMT. Syntax: FORMAT_DATETIME_GMT(datetime, format_string) -> String ## FORMAT_JSON_TEMPLATE https://www.datasyncpro.io/transformation/text/format_json_template Parses and formats a JSON template string by resolving embedded expressions and merge fields into JSON-formatted output. Syntax: FORMAT_JSON_TEMPLATE(template) -> String ## FORMAT_STRING_TEMPLATE https://www.datasyncpro.io/transformation/text/format_string_template Parses and formats a template string by resolving embedded expressions and merge fields into standard string output. Syntax: FORMAT_STRING_TEMPLATE(template) -> String ## GET_PICKLIST_FIELD_OPTIONS https://www.datasyncpro.io/transformation/advanced/get_picklist_field_options Returns a list of options for the specified picklist field on a given object. Syntax: GET_PICKLIST_FIELD_OPTIONS(object_name, field_name) -> String[] ## GROUPED_SOURCE_RECORDS https://www.datasyncpro.io/transformation/advanced/grouped_source_records Returns the source records in the current group, as determined by the Source Grouping Formula — evaluated after Scope Filter. Syntax: GROUPED_SOURCE_RECORDS() -> List> ## HAS_DUPLICATES https://www.datasyncpro.io/transformation/logical/has_duplicates Returns TRUE if the current source record has duplicate records identified by Matching Rules configured in Salesforce Duplicate Management. Syntax: HAS_DUPLICATES() -> Boolean ## HAS_PERMISSION https://www.datasyncpro.io/transformation/logical/has_permission Returns TRUE if the context user has any of the specified custom permissions. Otherwise, returns FALSE. Syntax: HAS_PERMISSION(...custom_permission_names)-> Boolean ## HOUR https://www.datasyncpro.io/transformation/date_time/hour Extracts the hour (0–23) from a Datetime value, based on the context user’s local time zone. Syntax: HOUR(datetime) -> Integer ## HOUR_GMT https://www.datasyncpro.io/transformation/date_time/hour_gmt Extracts the hour (0–23) from a Datetime value, based on GMT. Syntax: HOUR_GMT(datetime) -> Integer ## HTML_TABLE https://www.datasyncpro.io/transformation/advanced/html_table Generates a formatted HTML table string from records of the specified source object, filtered by matching field-value pairs and an optional query clause. Syntax: HTML_TABLE(source_object_name, display_field_names, ...[matching_field_name, matching_field_value], additional_clause_optional) -> String ## LOG https://www.datasyncpro.io/transformation/number/log Returns the natural logarithm (base e) of the specified number. Syntax: LOG(num) -> Decimal ## IF https://www.datasyncpro.io/transformation/logical/if Evaluates a logical condition. If TRUE, returns value_if_true. If FALSE, returns value_if_false_optional (if provided); otherwise returns $SKIP_ASSIGNMENT. Syntax: IF(...[logical_test, value_if_true], value_if_false_optional) -> Object ## INDEX_OF https://www.datasyncpro.io/transformation/text/index_of Returns the zero-based index of the first occurrence of substring within string (case-sensitive). Optionally starts searching from index_optional. Returns -1 if not found. Syntax: INDEX_OF(string, substring, index_optional) -> Integer ## INDEX_OF_IGNORE_CASE https://www.datasyncpro.io/transformation/text/index_of_ignore_case Returns the zero-based index of the first occurrence of substring within string(case-insensitive). Optionally starts searching from index_optional. Returns -1 if not found. Syntax: INDEX_OF_IGNORE_CASE(string, substring, index_optional) -> Integer ## IS_ALL_LOWER_CASE https://www.datasyncpro.io/transformation/logical/is_all_lower_case Returns TRUE if the string contains only lowercase letters; otherwise, returns FALSE. Syntax: IS_ALL_LOWER_CASE(string) -> Boolean ## IS_ALL_UPPER_CASE https://www.datasyncpro.io/transformation/logical/is_all_upper_case Returns TRUE if the string contains only uppercase letters; otherwise, returns FALSE. Syntax: IS_ALL_UPPER_CASE(string) -> Boolean ## IS_ALPHA https://www.datasyncpro.io/transformation/logical/is_alpha Returns TRUE if the string contains only alphabetic characters; otherwise, returns FALSE. Syntax: IS_ALPHA(string) -> Boolean ## IS_ALPHA_SPACE https://www.datasyncpro.io/transformation/logical/is_alpha_space Returns TRUE if the string contains only alphabetic characters or spaces; otherwise, returns FALSE. Syntax: IS_ALPHA_SPACE(string) -> Boolean ## IS_ALPHANUMERIC https://www.datasyncpro.io/transformation/logical/is_alphanumeric Returns TRUE if the string contains only alphabetic characters or numeric digits; otherwise, returns FALSE. Syntax: IS_ALPHANUMERIC(string) -> Boolean ## IS_ALPHANUMERIC_SPACE https://www.datasyncpro.io/transformation/logical/is_alphanumeric_space Returns TRUE if the string contains only alphabetic characters, numeric digits, or spaces; otherwise, returns FALSE. Syntax: IS_ALPHANUMERIC_SPACE(string) -> Boolean ## IS_BLANK https://www.datasyncpro.io/transformation/logical/is_blank Returns TRUE if the value is NULL, empty, contains only whitespace, or evaluates to $SKIP_ASSIGNMENT; otherwise, returns FALSE. Syntax: IS_BLANK(value) -> Boolean ## IS_CURRENT_USER_IN_OWNER_QUEUE https://www.datasyncpro.io/transformation/logical/is_current_user_in_owner_queue Returns TRUE if the current context user is a member of the record owner's queue. Otherwise, returns FALSE. Syntax: IS_CURRENT_USER_IN_OWNER_QUEUE() -> Boolean ## IS_DECIMAL https://www.datasyncpro.io/transformation/logical/is_decimal Returns TRUE if the string represents a valid decimal number; otherwise, returns FALSE. Syntax: IS_DECIMAL(string) -> Boolean ## IS_EMAIL_ADDRESS https://www.datasyncpro.io/transformation/logical/is_email_address Returns TRUE if the string is formatted as a valid email address; otherwise, returns FALSE. Syntax: IS_EMAIL_ADDRESS(string) -> Boolean ## IS_FIRST_IN_ITERATION https://www.datasyncpro.io/transformation/logical/is_first_in_iteration Returns TRUE the first time a given combination of evaluated expression values occurs in the current iteration, and FALSE for any duplicates after. Syntax: IS_FIRST_IN_ITERATION(...expressions) -> Boolean ## IS_INSERT https://www.datasyncpro.io/transformation/logical/is_insert Returns TRUE if the current action is an Insert , otherwise, returns FALSE. In an Upsert process where Use Salesforce Upsert API is unchecked, DSP performs matching based on the Target Matching Field and separates records into Insert and Update actions. Use this function to apply different transformations depending on whether a record is being inserted or updated. Syntax: IS_INSERT() -> Boolean ## IS_NUMERIC https://www.datasyncpro.io/transformation/logical/is_numeric Returns TRUE if the provided string contains only Unicode digits; otherwise, returns FALSE. Syntax: IS_NUMERIC(string) -> Boolean ## IS_PHONE_NUMBER https://www.datasyncpro.io/transformation/logical/is_phone_number Returns TRUE if the provided string matches a valid phone number format; otherwise, returns FALSE. Syntax: IS_PHONE_NUMBER(string) -> Boolean ## IS_PRODUCTION https://www.datasyncpro.io/transformation/logical/is_production Returns TRUE if the current execution is running in a Production environment, otherwise, returns FALSE. Syntax: IS_PRODUCTION() -> Boolean ## IS_TARGET_FIELD_ASSIGNED https://www.datasyncpro.io/transformation/logical/is_target_field_assigned Returns TRUE if the mapped target field has been processed and assigned a value. Returns FALSE if the field was skipped ($SKIP_ASSIGNMENT) or has not been processed. Syntax: IS_TARGET_FIELD_ASSIGNED(mapped_target_field_name) -> Boolean ## IS_UPDATE https://www.datasyncpro.io/transformation/logical/is_update Returns TRUE if the current action is an Update , otherwise, returns FALSE. In an Upsert process where Use Salesforce Upsert API is unchecked, DSP performs matching based on the Target Matching Field and separates records into Insert and Update actions. Use this function to apply different transformations depending on whether a record is being inserted or updated. Syntax: IS_UPDATE() -> Boolean ## JOIN_JSON https://www.datasyncpro.io/transformation/advanced/join_json Returns a filtered array containing objects from the provided JSON array that match the specified field name and field value criteria. Syntax: JOIN_JSON(json_array_string, ...[joining_field_name, joining_field_value]) ## JOIN_OBJECT_CONNECTION https://www.datasyncpro.io/transformation/advanced/join_object_connection Returns records from a specified object through a named connection or a related connection, filtered by joining field-value pairs, with an optional additional filtering clause. Syntax: JOIN_OBJECT_CONNECTION(connection_name, object_name, ...[joining_field_name, joining_field_value], additional_clause_optional) ## JOIN_OBJECT_SOURCE https://www.datasyncpro.io/transformation/advanced/join_object_source Returns records from the specified object via the Source connection that match the provided joining field–value pairs, with an optional additional filtering clause. Syntax: JOIN_OBJECT_SOURCE(object_name, ...[joining_field_name, joining_field_value], additional_clause_optional) ## JOIN_OBJECT_TARGET https://www.datasyncpro.io/transformation/advanced/join_object_target Returns records from a specified object via the Target connection that match the provided joining field–value pairs, with an optional additional filtering clause. Syntax: JOIN_OBJECT_TARGET(object_name, ...[joining_field_name, joining_field_value], additional_clause_optional) ## JSON_GET_FIELD_VALUES https://www.datasyncpro.io/transformation/advanced/json_get_field_values Returns a list containing the value of the specified field from each map in the provided list. Optionally excludes null values from the result. Syntax: JSON_GET_FIELD_VALUES(json_array, field_name, exclude_nulls_optional) -> List ## JSON_SERIALIZE https://www.datasyncpro.io/transformation/advanced/json_serialize Returns the provided value as a JSON string. Syntax: JSON_SERIALIZE(json) -> String ## JSON_SERIALIZE_PRETTY https://www.datasyncpro.io/transformation/advanced/json_serialize_pretty Serializes the provided object into a JSON string with pretty-printed formatting. Syntax: JSON_SERIALIZE_PRETTY(json) -> String ## LAST_EXECUTION_IN_SCOPE_SOURCE_IDS https://www.datasyncpro.io/transformation/advanced/last_execution_in_scope_source_ids Returns the source record IDs that were in scope in the last execution of an Executable. Syntax: LAST_EXECUTION_IN_SCOPE_SOURCE_IDS(executable_api_name_optional) -> List ## LAST_INDEX_OF https://www.datasyncpro.io/transformation/text/last_index_of Returns the starting position (zero-based index) of the last occurrence of substring within string. The search is case-sensitive. If end_position_optional is provided, only matches that start at or before that position are considered; a match may extend beyond it. Returns -1 if the substring is not found. Syntax: LAST_INDEX_OF(string, substring, end_position_optional) -> Integer ## LAST_INDEX_OF_IGNORE_CASE https://www.datasyncpro.io/transformation/text/last_index_of_ignore_case Returns the starting position (zero-based index) of the last occurrence of substring within string, ignoring case differences. If end_position_optional is provided, only matches that start at or before that position are considered; a match may extend beyond it. Returns -1 if the substring is not found. Syntax: LAST_INDEX_OF_IGNORE_CASE(string, substring, end_position_optional) -> Integer ## LEFT https://www.datasyncpro.io/transformation/text/left Returns a substring containing the specified number of characters from the beginning (left side) of the provided string. If num_chars exceeds the string length, the entire string is returned. Syntax: LEFT(string, num_chars) -> String ## LEN https://www.datasyncpro.io/transformation/text/len Returns the number of characters in the provided string. Syntax: LEN(string) -> Integer ## MATCHES https://www.datasyncpro.io/transformation/advanced/matches Returns TRUE if the provided string matches any of the specified regular expressions; otherwise, returns FALSE. Syntax: MATCHES(string, ...regex_expressions) -> Boolean ## MAP_VALUE_CONTAINS https://www.datasyncpro.io/transformation/advanced/map_value_contains Returns the corresponding return_value for the first compare_substring found within the provided string (case-sensitive). If no substrings match, returns default_return_value_optional. If default_return_value_optional is omitted and no matches occur, the function returns $SKIP_ASSIGNMENT. Syntax: MAP_VALUE_CONTAINS(string, ...[compare_substring, return_value], default_return_value_optional)-> Object ## MAP_VALUE_CONTAINS_IGNORE_CASE https://www.datasyncpro.io/transformation/advanced/map_value_contains_ignore_case Returns the corresponding return value for the first compare substring found within the provided string, performing case-insensitive matching. If no substrings match, returns default return value optional. If default return value optional is omitted and no match occurs, the function returns $SKIP_ASSIGNMENT. Syntax: MAP_VALUE_CONTAINS_IGNORE_CASE(string, ...[compare_substring, return_value], default_return_value_optional) -> String ## MAP_VALUE_STARTS_WITH https://www.datasyncpro.io/transformation/advanced/map_value_starts_with Returns the corresponding return_value for the first compare_substring that matches the beginning of the provided string (case-sensitive). If no substrings match, returns default_return_value_optional. If default_return_value_optional is omitted and no matches occur, the function returns $SKIP_ASSIGNMENT. Syntax: MAP_VALUE_STARTS_WITH(string, ...[compare_substring, return_value], default_return_value_optional) -> Object ## MAP_VALUE_STARTS_WITH_IGNORE_CASE https://www.datasyncpro.io/transformation/advanced/map_value_starts_with_ignore_case Returns the corresponding return_value for the first compare_substring that matches the beginning of the provided string, performing case-insensitive matching. If no substrings match, returns default_return_value_optional. If default_return_value_optional is omitted and no matches occur, the function returns $SKIP_ASSIGNMENT. Syntax: MAP_VALUE_STARTS_WITH_IGNORE_CASE(string, ...[compare_substring, return_value], default_return_value_optional)-> Object ## MAX https://www.datasyncpro.io/transformation/number/max Returns the largest number from the given set of numbers. Syntax: MAX(...num) -> Number ## MILLISECOND https://www.datasyncpro.io/transformation/date_time/millisecond Extracts the millisecond (0–999) from a Datetime value. Syntax: MILLISECOND(datetime) -> Integer ## MIN https://www.datasyncpro.io/transformation/number/min Returns the smallest number from the given set of numbers. Syntax: MIN(...num) -> Number ## MINUTE https://www.datasyncpro.io/transformation/date_time/minute Extracts the minute (0–59) from a Datetime value, based on the context user’s local time zone. Syntax: MINUTE(datetime) -> Integer ## MINUTE_GMT https://www.datasyncpro.io/transformation/date_time/minute_gmt Extracts the minute (0–59) from a Datetime value, based on GMT. Syntax: MINUTE_GMT(datetime) -> Integer ## MONTH https://www.datasyncpro.io/transformation/date_time/month Returns the month component (1=January) from a Date or Datetime, evaluated in the context user's local time zone. Syntax: MONTH(date/datetime) -> Integer ## NOT https://www.datasyncpro.io/transformation/logical/not Returns TRUE if the provided logical value evaluates to FALSE; otherwise, returns FALSE. Syntax: NOT(logical) -> Boolean ## NOW https://www.datasyncpro.io/transformation/date_time/now Returns the current Datetime based on the context user's local time zone. Syntax: NOW() -> Datetime ## OBJECT_NAME https://www.datasyncpro.io/transformation/advanced/object_name Returns the object API name for the given record ID in the current org. Syntax: OBJECT_NAME(id_value) -> String ## OR https://www.datasyncpro.io/transformation/logical/or Returns TRUE if any provided logical condition evaluates to TRUE; otherwise, returns FALSE. Syntax: OR(...logical) -> Boolean ## OPERATORS https://www.datasyncpro.io/transformation/operators/operators ## RANDOMIZE https://www.datasyncpro.io/transformation/randomization/randomize Returns a randomized value of the same data type as the provided input. Supports text, number, date, and boolean values. For text, preserves the case of each character position. For numbers, returns an integer from 0 to the input minus 1. Syntax: RANDOMIZE(text/number/date/boolean) -> same type as input ## RANDOM_ITEM https://www.datasyncpro.io/transformation/randomization/random_item Returns a random item from the given set of items. Syntax: RANDOM_ITEM(...item) -> Object ## REPLACE https://www.datasyncpro.io/transformation/text/replace Returns a new string by replacing all case-sensitive occurrences of a target substring in the original string with a specified replacement. Syntax: REPLACE(string, target, replacement) -> String ## REPLACE_ALL https://www.datasyncpro.io/transformation/text/replace_all Returns a new string in which all occurrences matching the provided regular expression (regex) within the original string are replaced by the specified replacement substring. Syntax: REPLACE_ALL(string, regex, replacement) -> String ## REPLACE_FIRST https://www.datasyncpro.io/transformation/text/replace_first Returns a new string in which only the first occurrence matching the provided regular expression (regex) within the original string is replaced by the specified replacement substring. Syntax: REPLACE_FIRST(string, regex, replacement) -> String ## RIGHT https://www.datasyncpro.io/transformation/text/right Returns a substring containing the specified number of characters from the end (right side) of the provided string. Syntax: RIGHT(string, num_chars) -> String ## ROUND https://www.datasyncpro.io/transformation/number/round Returns the value rounded to the nearest integer using half-even rounding. Syntax: ROUND(number) -> Integer ## SCRAMBLE https://www.datasyncpro.io/transformation/randomization/scramble Shuffle the items in the current batch and select one at random. Syntax: SCRAMBLE(value) -> same data type as value ## SECOND https://www.datasyncpro.io/transformation/date_time/second Extracts the second (0–59) from a Datetime value. Syntax: SECOND(datetime) -> Integer ## SET_SCALE https://www.datasyncpro.io/transformation/number/set_scale Rounds a number to the specified number of decimal places using half-even rounding. Syntax: SET_SCALE(num, num_digits) -> Decimal ## SIN https://www.datasyncpro.io/transformation/number/sin Returns the trigonometric sine of the specified angle. Syntax: SIN(num) -> Decimal ## SKIP_BLANK_VALUE https://www.datasyncpro.io/transformation/logical/skip_blank_value Returns the provided value if it is not blank. If the value is blank (null, empty, or whitespace), returns $SKIP_ASSIGNMENT. Syntax: SKIP_BLANK_VALUE(value) -> Object ## SPLIT https://www.datasyncpro.io/transformation/text/split Returns an array of substrings by splitting a string using a regular expression delimiter. Syntax: SPLIT(string, regex) -> String[] ## STARTS_WITH https://www.datasyncpro.io/transformation/logical/starts_with Returns TRUE if the provided string starts with any of the specified compare_strings (case-sensitive); otherwise, returns FALSE. Syntax: STARTS_WITH(string, ...compare_strings) -> Boolean ## STARTS_WITH_IGNORE_CASE https://www.datasyncpro.io/transformation/logical/starts_with_ignore_case Returns TRUE if the provided string starts with any of the specified compare_strings(case-insensitive); otherwise, returns FALSE. Syntax: STARTS_WITH_IGNORE_CASE(string, ...compare_strings) -> Boolean ## STRING_JOIN https://www.datasyncpro.io/transformation/text/string_join Returns a single concatenated string formed by joining multiple provided objects using the specified separator string. Each object is converted to its string representation before concatenation. Syntax: STRING_JOIN(...object, separator_string) -> String ## STRING_APPEND https://www.datasyncpro.io/transformation/text/string_append Appends an item to an existing string, with the separator placed between them. Syntax: STRING_APPEND(existing_string, item, separator) -> String ## STRING_APPEND_UNIQUE https://www.datasyncpro.io/transformation/text/string_append_unique Appends an item to an existing string using the specified separator unless the item already exists. Syntax: STRING_APPEND_UNIQUE(existing_string, item, separator) -> String ## SUBSTRING https://www.datasyncpro.io/transformation/text/substring Returns a substring extracted from the provided string, beginning at the start_index (inclusive) and ending at the end_index (exclusive). Indexing is zero-based. Syntax: SUBSTRING(string, start_index, end_index) -> String ## SUBSTRING_AFTER https://www.datasyncpro.io/transformation/text/substring_after Returns the substring that occurs after the first occurrence of the specified separator within the provided string. If the separator is not found, returns an empty string. The search is case-sensitive. Syntax: SUBSTRING_AFTER(string, separator) -> String ## SUBSTRING_AFTER_LAST https://www.datasyncpro.io/transformation/text/substring_after_last Returns the substring that occurs after the last occurrence of the specified separator within the provided string. If the separator is not found, returns an empty string. The search is case-sensitive. Syntax: SUBSTRING_AFTER_LAST(string, separator) -> String ## SUBSTRING_BEFORE https://www.datasyncpro.io/transformation/text/substring_before Returns the substring that occurs before the first occurrence of the specified separator within the provided string. If the separator is not found, returns the entire string. The search is case-sensitive. Syntax: SUBSTRING_BEFORE(string, separator) -> String ## SUBSTRING_BEFORE_LAST https://www.datasyncpro.io/transformation/text/substring_before_last Returns the substring that occurs before the last occurrence of the specified separator within the provided string. If the separator is not found, returns the entire string. The search is case-sensitive. Syntax: SUBSTRING_BEFORE_LAST(string, separator) -> String ## SUBSTRING_BETWEEN https://www.datasyncpro.io/transformation/text/substring_between Returns the substring found between the first occurrences of the specified open and close substrings within the provided string. If either the open or close substring isn't found, returns NULL. The search is case-sensitive. Syntax: SUBSTRING_BETWEEN(string, open, close) -> String ## TAN https://www.datasyncpro.io/transformation/number/tan Returns the trigonometric tangent of the specified angle. Syntax: TAN(num) -> Decimal ## TRIGGER_FLIPPER https://www.datasyncpro.io/transformation/logical/trigger_flipper This function is used within a before insert or before update trigger to track whether a specific checkbox field (defaulting to FALSE ) has been flipped from FALSE to TRUE . The "flipped" state is recorded in memory only . Immediately after tracking the flip, the function resets the checkbox field to FALSE , ensuring that the field remains unchecked in the database. This mechanism allows users to manually trigger actions by checking the field on demand—without persisting the change. If the optional parameter flip_if_evaluated_true_optional is provided and evaluates to TRUE , the function will also treat the field as flipped. This allows you to define automatic rules that simulate a flip and trigger corresponding logic. Syntax: TRIGGER_FLIPPER(flip_if_evaluated_true_optional) -> Boolean ## TRIGGER_IS_AFTER https://www.datasyncpro.io/transformation/logical/trigger_is_after Returns TRUE if the current trigger context is an "after" event (after insert, after update, after delete or after undelete); otherwise, returns FALSE. Syntax: TRIGGER_IS_AFTER() -> Boolean ## TRIGGER_IS_BEFORE https://www.datasyncpro.io/transformation/logical/trigger_is_before Returns TRUE if the current trigger context is a "before" event (before insert, before update, or before delete); otherwise, returns FALSE. Syntax: TRIGGER_IS_BEFORE() -> Boolean ## TRIGGER_IS_FLIPPED https://www.datasyncpro.io/transformation/logical/trigger_is_flipped Returns TRUE if the specified field's value has changed in the current transaction (i.e., the field was updated or flipped from its previous value). Syntax: TRIGGER_IS_FLIPPED(field_name) -> Boolean ## TRIGGER_IS_CHANGED https://www.datasyncpro.io/transformation/logical/trigger_is_changed Returns TRUE if any of the specified fields have been modified from their previous values during the update DML operation; otherwise, returns FALSE. Syntax: TRIGGER_IS_CHANGED(...field_names) -> Boolean ## TRIGGER_IS_CHANGED_FROM https://www.datasyncpro.io/transformation/logical/trigger_is_changed_from Returns TRUE if the specified field's value has changed from any of the provided old values in the current trigger context; otherwise, returns FALSE. Syntax: TRIGGER_IS_CHANGED_FROM(field_name, ...old_values) -> Boolean ## TRIGGER_IS_CHANGED_TO https://www.datasyncpro.io/transformation/logical/trigger_is_changed_to Returns TRUE if the specified field's value has changed to any of the provided new values in the current trigger context; otherwise, returns FALSE. Syntax: TRIGGER_IS_CHANGED_TO(field_name, ...new_values) -> Boolean ## TRIGGER_IS_DELETE https://www.datasyncpro.io/transformation/logical/trigger_is_delete Returns TRUE if the current trigger context involves a delete operation (before delete or after delete); otherwise, returns FALSE. Syntax: TRIGGER_IS_DELETE() -> Boolean ## TRIGGER_IS_INSERT https://www.datasyncpro.io/transformation/logical/trigger_is_insert Returns TRUE if the current trigger context involves an insert operation (before insert or after insert); otherwise, returns FALSE. Syntax: TRIGGER_IS_INSERT() -> Boolean ## TRIGGER_IS_UNDELETE https://www.datasyncpro.io/transformation/logical/trigger_is_undelete Returns TRUE if the current trigger context is an undelete operation (after undelete); otherwise, returns FALSE. Syntax: TRIGGER_IS_UNDELETE() -> Boolean ## TRIGGER_IS_UPDATE https://www.datasyncpro.io/transformation/logical/trigger_is_update Returns TRUE if the current trigger context involves an update operation (before update or after update); otherwise, returns FALSE. Syntax: TRIGGER_IS_UPDATE() -> Boolean ## TRIGGER_OLD_VALUE https://www.datasyncpro.io/transformation/trigger/trigger_old_value Returns the previous value of the specified field in an Update DML operation. Syntax: TRIGGER_OLD_VALUE(field_name) -> Object ## TODAY https://www.datasyncpro.io/transformation/date_time/today Returns the current date in the context user's local time zone. Syntax: TODAY() -> Date ## TO_BLOB https://www.datasyncpro.io/transformation/text/to_blob Converts a string (String) into an Apex Blob type. If the input cannot be converted, the function throws an error. Syntax: TO_BLOB(string) -> Blob ## TO_BOOLEAN https://www.datasyncpro.io/transformation/text/to_boolean Converts a string into a Boolean value. If the input cannot be converted, the function returns an error. Syntax: TO_BOOLEAN(string) -> Boolean ## TO_DATE https://www.datasyncpro.io/transformation/date_time/to_date Converts a String or Datetime value into a Date by extracting the calendar date from the input. If the input cannot be parsed, an error is thrown. Syntax: TO_DATE(string/datetime) -> Date ## TO_DATETIME https://www.datasyncpro.io/transformation/date_time/to_datetime Converts a string in a recognized date/time format into a Datetime value. The result is returned in GMT. If the input string cannot be parsed, an error is thrown. Syntax: TO_DATETIME(string) -> Datetime ## TO_DECIMAL https://www.datasyncpro.io/transformation/number/to_decimal Converts the input value to a Decimal. If the input cannot be converted, the function throws an error. Syntax: TO_DECIMAL(string/double/long/float/integer, scale_optional) -> Decimal ## TO_INTEGER https://www.datasyncpro.io/transformation/number/to_integer Converts a value to an Integer. If the input cannot be converted, the function throws an error. Syntax: TO_INTEGER(string/decimal/double/float/integer) -> Integer ## TO_LOWER_CASE https://www.datasyncpro.io/transformation/text/to_lower_case Converts all letters in the specified text to lowercase. Syntax: TO_LOWER_CASE(string, locale_optional) -> String ## TO_PDF https://www.datasyncpro.io/transformation/advanced/to_pdf Creates a binary object out of the given string, encoding it as a PDF file. Syntax: TO_PDF(string) -> Blob ## TO_STRING https://www.datasyncpro.io/transformation/text/to_string Converts the specified value into an unformatted text string. Syntax: TO_STRING(value) -> String ## TO_START_OF_MONTH https://www.datasyncpro.io/transformation/date_time/to_start_of_month Returns the first day of the month for a specified date. Syntax: TO_START_OF_MONTH(date) -> Date ## TO_START_OF_WEEK https://www.datasyncpro.io/transformation/date_time/to_start_of_week Returns the date representing the first day of the week for a specified date. Syntax: TO_START_OF_WEEK(date) -> Date ## TO_TIME https://www.datasyncpro.io/transformation/date_time/to_time Converts a time string from the context user's local time zone to a Time value in GMT. Syntax: TO_TIME(string) -> Time ## TO_UPPER_CASE https://www.datasyncpro.io/transformation/text/to_upper_case Converts all letters in the specified text to uppercase. Syntax: TO_UPPER_CASE(string, locale_optional) -> String ## TRIM https://www.datasyncpro.io/transformation/text/trim Returns a string with leading and trailing whitespace removed. Syntax: TRIM(string) -> String ## VALUE_IN https://www.datasyncpro.io/transformation/logical/value_in Returns TRUE if the provided value matches any of the specified compare values; otherwise, returns FALSE. Syntax: VALUE_IN(value, ...compare_values) -> Boolean ## VLOOKUP https://www.datasyncpro.io/transformation/advanced/vlookup Performs a dynamic lookup on a Salesforce object and returns the specified field value (including relational fields up to 5 levels), from the first matching record. Syntax: VLOOKUP(target_object_name, return_field_name, ...[matching_field_name, matching_field_value], additional_clause_optional) -> Object ## VLOOKUP_ALL https://www.datasyncpro.io/transformation/advanced/vlookup_all Queries the specified object and returns the designated fields (plus the record Id and lookup field) from all records that match one or more field-value pairs, with an optional additional filtering clause. Syntax: VLOOKUP_ALL(target_object_name, return_field_names, ...[matching_field_name, matching_field_value], additional_clause_optional) -> List> ## VLOOKUP_CONNECTION https://www.datasyncpro.io/transformation/advanced/vlookup_connection Performs a dynamic lookup on a Salesforce object through a connection and returns the specified field value (including relational fields up to 5 levels), from the first matching record. Syntax: VLOOKUP_CONNECTION(connection_name, object_name, return_field_name, ...[matching_field_name, matching_field_value], additional_clause_optional) -> Object ## VLOOKUP_RECORD https://www.datasyncpro.io/transformation/advanced/vlookup_record Performs a dynamic lookup on a Salesforce object and returns the full Object record from the first record that matches the provided field-value pairs. Syntax: VLOOKUP_RECORD(target_object_name, ...[matching_field_name, matching_field_value], additional_clause_optional) -> Object ## VLOOKUP_RECORD_CONNECTION https://www.datasyncpro.io/transformation/advanced/vlookup_record_connection Performs a dynamic lookup on a Salesforce object through a connection and returns the full Object record from the first record that matches the provided field-value pairs. Syntax: VLOOKUP_RECORD_CONNECTION(connection_name, object_name, ...[matching_field_name, matching_field_value], additional_clause_optional) -> Object ## VLOOKUP_SOURCE https://www.datasyncpro.io/transformation/advanced/vlookup_source Returns the value of the specified field (including relationship fields up to 5 levels) from the first record in the Source Connection that matches all of the given field-value pairs. Syntax: VLOOKUP_SOURCE(source_object_name, return_field_name, ...[matching_field_name, matching_field_value], additional_clause_optional) -> Object ## YEAR https://www.datasyncpro.io/transformation/date_time/year Returns the year component from a Date or Date Time, evaluated in the context user's local time zone. Syntax: YEAR(date/datetime) -> Integer ## YESTERDAY https://www.datasyncpro.io/transformation/date_time/yesterday Returns the date value representing yesterday, evaluated in the context user's local time zone. Syntax: YESTERDAY() -> Date ## AGG_AVG https://www.datasyncpro.io/transformation/advanced/agg_avg Performs a dynamic aggregation on a specified Salesforce object and returns the average of a selected numeric field from all records that match the given criteria. Syntax: AGG_AVG(aggregate_object_name, aggregate_field_name, ...[group_field_name, group_field_value], additional_filters_optional) -> Decimal ## AGG_COUNT https://www.datasyncpro.io/transformation/advanced/agg_count Performs a dynamic aggregation on a specified Salesforce object and returns the count of records matching the provided conditions. Syntax: AGG_COUNT(aggregate_object_name, aggregate_field_name, ...[group_field_name, group_field_value], additional_filters_optional) -> Integer ## AGG_COUNT_DISTINCT https://www.datasyncpro.io/transformation/advanced/agg_count_distinct Performs a dynamic aggregation on a specified Salesforce object and returns the count of unique (distinct) values in a selected field for the matching records. Syntax: AGG_COUNT_DISTINCT(aggregate_object_name, aggregate_field_name, ...[group_field_name, group_field_value], additional_filters_optional) -> Integer ## AGG_MAX https://www.datasyncpro.io/transformation/advanced/agg_max Performs a dynamic aggregation on a specified Salesforce object and returns the maximum value of a specified field among all matching records. Syntax: AGG_MAX(aggregate_object_name, aggregate_field_name, ...[group_field_name, group_field_value], additional_filters_optional) -> Decimal ## AGG_MIN https://www.datasyncpro.io/transformation/advanced/agg_min Performs a dynamic aggregation on a specified Salesforce object and returns the minimum value of a specified field among all matching records. Syntax: AGG_MIN(aggregate_object_name, aggregate_field_name, ...[group_field_name, group_field_value], additional_filters_optional) -> Decimal ## AGG_SUM https://www.datasyncpro.io/transformation/advanced/agg_sum Performs a dynamic aggregation on a specified Salesforce object and returns the sum of the selected numeric field from all records that match the provided criteria. Syntax: AGG_SUM(aggregate_object_name, aggregate_field_name, ...[group_field_name, group_field_value], additional_filters_optional) -> Decimal ## APEX CLASS https://www.datasyncpro.io/transformation/apex_class/apex_class pushtopics.SalesforceDataTransformer is a global interface that enables custom Apex logic within DSP formulas, extending the package’s out-of-box transformations when built-in functions are insufficient. Reference an implementation in a formula using the placeholder syntax #ApexClassName . ## $Joiner https://www.datasyncpro.io/transformation/joiner References a field from the Joiner record associated with the current source record. $Joiner is available after a Joiner formula, such as JOIN_OBJECT_SOURCE, JOIN_OBJECT_TARGET, JOIN_OBJECT_CONNECTION, or JOIN_JSON, has been applied. Syntax: $Joiner.FieldName ## AGGREGATION GENERAL https://www.datasyncpro.io/transformation/aggregate_general DSP optimizes performance by reducing SOQL queries, combining multiple mergeable aggregate functions into a single query whenever possible. # FAQs ## What is Data Sync Pro? https://www.datasyncpro.io/faqs/general/what-is-data-sync-pro Data Sync Pro (DSP) is a powerful, Salesforce-native, rules-driven engine with enforced modularity that streamlines business processes, boosts efficiency, ensures data quality, slashes technical debt, and delivers future-proof enterprise scalability. At its core, DSP provides five unified engines — #Batch , #Trigger , #Data List , #Action Button , and #Data Loader : each engine follows the same streamlined process — defined input, output, and rule-based transformation logic in between. Transformational Results: Empowers business and IT teams with rapid, powerful capabilities Addresses even the most complex customizations Cuts development effort by 95% Runs batch jobs up to 20× faster Drives technical debt toward zero through enforced modularity ## What are the five engines? https://www.datasyncpro.io/faqs/general/what-are-the-five-engines Data Sync Pro (DSP) unifies five purpose-built engines that span data processing, automation, and user interaction — all sharing the same record-based, declarative framework. #Batch — Handles large-volume processing. Replaces Apex batch jobs with declarative transformations, data enrich, cleansing, and high-performance org-to-org migrations. #Trigger — Executes bulkified automation on DML events (insert, update, delete, undelete), bringing rules-driven simplicity to transformations, validations, and downstream actions. #Data List — Turns queries into interactive, configurable tables with rules-driven actions, letting business users filter, explore, edit, and act on records at the list or row level. #Action Button — Adds configurable buttons to the Lightning Pages or Data Lists for guided actions, with support for pre-populated transformations, line editors and workflows. #Data Loader — Enables reusable CSV imports with built-in transformation logic, delivering secure, auditable, and scalable data loading across Salesforce orgs. Together, these engines form DSP's unified rules-driven foundation: modular, flexible, and enterprise-grade — with declarative simplicity at its core. ## Why does rules-driven, record-based, enforced modularity define the future of enterprise applications? https://www.datasyncpro.io/faqs/general/why-does-rules-driven-record-based-enforced-modularity-define-the-future-of-enterprise-applications Most enterprise applications start clean and degrade over time. Cross-cutting concerns get reimplemented inconsistently, logic grows deep and nested across code and configuration, and module boundaries blur as new requirements pile on. The result is the same in nearly every long-lived system: complexity no one fully understands, and changes that get riskier with every release. The fix isn't another layer on top of the same broken model. It's an engine built on three principles that work together to make modularity unbreakable: Rules-Driven — Business logic is defined as clear, declarative rules. In traditional development, cross-cutting concerns like bulk safety, error handling, and performance are left to each developer to handle correctly. A rules-driven engine pushes those concerns down into the runtime itself, so logic stays focused on intent — not plumbing. Record-Based — Rules live as structured records, not scattered code. Each rule is self-sufficient and stands on its own — fully defined in a single record. Traditional approaches — whether code or drag-and-drop canvases — grow deep and nested; record-based design keeps logic flat and bounded. Every rule is its own inspectable unit, so complexity can't quietly accumulate. Enforced Modularity — Every process has clearly defined input, output, and transformation logic in between — and the engine guarantees those boundaries hold. Modules can't reach into each other's internals, share hidden state, or quietly couple over time. Together, they reinforce each other: rules make logic visible, records make modules bounded, and enforcement makes the boundaries permanent. Most low-code tools just replace code with drag-and-drop canvases — but complexity doesn't disappear; it shifts onto the designers. A rules-driven, record-based engine with enforced modularity takes a different approach: complexity is bounded by design — not by discipline. ## Why Data Sync Pro? https://www.datasyncpro.io/faqs/general/why-data-sync-pro Most enterprise applications start clean and degrade over time — logic grows deep and nested, and module boundaries blur with every release. Data Sync Pro (DSP) is built to break that pattern. DSP is an engine built natively on the Salesforce platform, unifying five engines — #Batch , #Trigger , #Data List , #Action Button , and #Data Loader — across data processing, automation, and user interaction. All five share the same declarative model, built on three principles that work together to make modularity unbreakable: Rules-Driven — Business logic is defined as clear, declarative rules. Cross-cutting concerns like bulk safety, error handling, and performance are pushed into the runtime — so logic stays focused on intent, not plumbing. Record-Based — Every rule is a self-sufficient record. Logic stays flat and bounded instead of growing deep and nested, so complexity can't quietly accumulate. Enforced Modularity — Every process has defined input, output, and transformation logic in between — boundaries the engine guarantees, not boundaries developers are asked to respect. The result: rapid, powerful capabilities for business and IT teams, even on the most complex customizations — cutting development effort by up to 95%, running batch jobs up to 20× faster, and driving technical debt toward zero. DSP isn't another tool layered on top of the same broken model. It's a different model — bounded by design , not by discipline. ## Does DSP process any data outside the installed org? https://www.datasyncpro.io/faqs/general/does-dsp-process-any-data-outside-the-installed-org No. Data Sync Pro processes data entirely within the installed org, using native Salesforce Apex. When configured for org-to-org migration, data is transmitted directly to the target Salesforce org, but processing always remains in the installed org. No data ever passes hrough external systems or third-party services. ## How does DSP ensure security? https://www.datasyncpro.io/faqs/general/how-does-dsp-ensure-security Data Sync Pro runs entirely within your Salesforce org and uses Salesforce's native security model. Data Processing — All processing runs in Apex inside the installed org. No external systems or third-party services are involved. Remote Actions — Connections to other Salesforce orgs use Salesforce Named Credentials, fully managed by your admins. Record-Based Rule Access — All DSP rules are stored as Executable records, governed by standard Salesforce object-, field-, and record-level security. DSP ships with three permission sets to manage access: Data Sync Pro: Starter — Minimal access. Can run rules (except batch jobs and data loads) when given read access to Executable records. Data Sync Pro: App User — Can run asynchronous rules like Batch jobs and Data Loaders when given access to the relevant Executable records. Data Sync Pro: Administrator — Full administrative control over all DSP records. Every DSP operation stays inside Salesforce's native security boundaries — fully under your control. ## What are the three core user personas in Data Sync Pro? https://www.datasyncpro.io/faqs/general/what-are-the-three-core-user-personas-in-data-sync-pro Data Sync Pro defines three core user personas, each managed through a dedicated permission set that controls access and actions: Data Sync Pro: Starter – Provides minimal access to packaged components and objects. With additional read access to Executable records, users can run rules (except batch jobs and data loads). This serves as the default profile for most internal users. Data Sync Pro: App User – Allows execution of asynchronous rules such as Batch jobs and Data Loaders, provided the user has at least read access to the relevant Executables. Intended for super users who need to run jobs or upload CSVs with explicit Executable access grants. Data Sync Pro: Administrator – Grants full administrative control, including access to all configuration records. Typically assigned to developers in sandboxes, and to system admins or architects in the production. ## How do DSP's rules engines compare? https://www.datasyncpro.io/faqs/general/how-do-dsps-rules-engines-compare All DSP rules engines follow the same structured process — defined input, transformation logic, and an action on the target. What sets them apart is how they receive input: #Batch — Runs asynchronously on all records returned by a query, with full execution logs. #Trigger — Fires automatically on the source object's DML events (insert, update, delete, undelete), using the triggering records as input. #Data List — Displays query results to users from a predefined SOQL query. Users can Create, Update, Delete, or Clone records directly on the results, or select specific records to act on. #Action Button — Two modes: Connection-based: Runs as a global action with no input, or with input chained from a Data List. Direction-based: Uses either the current Lightning record or selected records from a Data List as input. #Data Loader — Like #Batch, but takes input from an uploaded CSV instead of a query. In short: every engine orchestrates data the same way — input, transformation logic, action. They differ only in where the input comes from and how they execute (async vs. sync). ## How much training is required to start building in Data Sync Pro? https://www.datasyncpro.io/faqs/general/how-much-training-is-required-to-start-building-in-data-sync-pro Very little. DSP is built natively on Salesforce (Apex and LWC) and introduces just seven intuitive configuration objects — Connection, Direction, Pipeline, Executable, Field Mapping, Variable, and Schedule. Most are self-explanatory by name. Building processes is as simple as creating records on these objects, with a one-time setup for Apex Triggers or Lightning Pages. Each rules engine comes with a guided interface that walks you through configuration step by step, with smart features like autocomplete for filters, mappings, and formulas. User manuals and starter recipes are included, and most teams are building useful rules within just a few hours. ## Does DSP development adhere to the Software Development Life Cycle (SDLC)? https://www.datasyncpro.io/faqs/general/does-dsp-development-adhere-to-the-software-development-life-cycle-sdlc Yes. Data Sync Pro supports SDLC-aligned deployments through two options: 1. Manual JSON Export & Import (best for SMBs) Executables and Pipelines can be exported as JSON files and imported into another org. This straightforward approach works well for smaller customizations with a limited number of Pipelines and Executables. 2. Deployment with Cross-Org Data Sync via #Batch (best for enterprises) DSP can deploy any record-based configuration — including its own. The DSP deployment template can be downloaded from the Data Sync Pro website and imported into your org — from there, deployment is one click away. ## Is DSP subject to Salesforce governor limits? https://www.datasyncpro.io/faqs/general/is-dsp-subject-to-salesforce-governor-limits Yes, DSP runs entirely within your Salesforce org and is therefore subject to Salesforce governor limits. ## What is a batch job in general? https://www.datasyncpro.io/faqs/rules-engines/batch/what-is-a-batch-job-in-general ## Why #Batch? https://www.datasyncpro.io/faqs/rules-engines/batch/why-batch ## What technologies are used to build the #Batch engine? https://www.datasyncpro.io/faqs/rules-engines/batch/what-technologies-are-used-to-build-the-batch-engine ## What are the common use cases for #Batch? https://www.datasyncpro.io/faqs/rules-engines/batch/what-are-the-common-use-cases-for-batch ## How efficiently does #Batch handle large data volumes? https://www.datasyncpro.io/faqs/rules-engines/batch/how-efficiently-does-batch-handle-large-data-volumes ## Where do I create a #Batch Executable? https://www.datasyncpro.io/faqs/rules-engines/batch/where-do-i-create-a-batch-executable ## Does #Batch only support cross-org data migrations? https://www.datasyncpro.io/faqs/rules-engines/batch/does-batch-only-support-cross-org-data-migrations ## What permissions are required to execute a #Batch? https://www.datasyncpro.io/faqs/rules-engines/batch/what-permissions-are-required-to-execute-a-batch ## What is the maximum dataset size that a DSP batch job can process? https://www.datasyncpro.io/faqs/rules-engines/batch/what-is-the-maximum-dataset-size-that-a-dsp-batch-job-can-process ## What is the maximum batch size that can be set? https://www.datasyncpro.io/faqs/rules-engines/batch/what-is-the-maximum-batch-size-that-can-be-set ## How can I chain multiple batch Executables to run in a specific sequence? https://www.datasyncpro.io/faqs/rules-engines/batch/how-can-i-chain-multiple-batch-executables-to-run-in-a-specific-sequence ## How can I schedule Batch jobs? https://www.datasyncpro.io/faqs/rules-engines/batch/how-can-i-schedule-batch-jobs ## How does a Schedule work? https://www.datasyncpro.io/faqs/rules-engines/batch/how-does-a-schedule-work ## Can a Pipeline execution be stopped if one of its Executables fails? https://www.datasyncpro.io/faqs/rules-engines/batch/can-a-pipeline-execution-be-stopped-if-one-of-its-executables-fails ## Can I apply a common SOQL filter to all Executables in a Pipeline? https://www.datasyncpro.io/faqs/rules-engines/batch/can-i-apply-a-common-soql-filter-to-all-executables-in-a-pipeline ## How do I easily create Batch Executables for parent–child data syncs? https://www.datasyncpro.io/faqs/rules-engines/batch/how-do-i-easily-create-batch-executables-for-parentchild-data-syncs ## How are logs tracked for running a #Batch Executable? https://www.datasyncpro.io/faqs/rules-engines/batch/how-are-logs-tracked-for-running-a-batch-executable ## Does DSP allow re-execution of failed batches? https://www.datasyncpro.io/faqs/rules-engines/batch/does-dsp-allow-re-execution-of-failed-batches ## Is it possible to revert the changes made a batch execution? https://www.datasyncpro.io/faqs/rules-engines/batch/is-it-possible-to-revert-the-changes-made-a-batch-execution ## How do I implement incremental retrieval? https://www.datasyncpro.io/faqs/rules-engines/batch/how-do-i-implement-incremental-retrieval ## What should I consider before enabling Bulk API? https://www.datasyncpro.io/faqs/rules-engines/batch/what-should-i-consider-before-enabling-bulk-api ## How can I set up notifications for completed batch executions? https://www.datasyncpro.io/faqs/rules-engines/batch/how-can-i-set-up-notifications-for-completed-batch-executions ## How can I test a Batch Executable on a small sample before running it on the full dataset? https://www.datasyncpro.io/faqs/rules-engines/batch/how-can-i-test-a-batch-executable-on-a-small-sample-before-running-it-on-the-full-dataset ## How should I structure a complex Batch job with multiple actions? https://www.datasyncpro.io/faqs/rules-engines/batch/how-should-i-structure-a-complex-batch-job-with-multiple-actions ## What is a #Data List? https://www.datasyncpro.io/faqs/rules-engines/data-list/what-is-a-data-list ## Why #Data List? https://www.datasyncpro.io/faqs/rules-engines/data-list/why-data-list ## How do I create an Actionable #Data List? https://www.datasyncpro.io/faqs/rules-engines/data-list/how-do-i-create-an-actionable-data-list ## What permissions are needed to use a #Data List? https://www.datasyncpro.io/faqs/rules-engines/data-list/what-permissions-are-needed-to-use-a-data-list ## How can I configure row's related lists in a #Data List? https://www.datasyncpro.io/faqs/rules-engines/data-list/how-can-i-configure-rows-related-lists-in-a-data-list ## Can I run a #Data Loader from a #Data List? https://www.datasyncpro.io/faqs/rules-engines/data-list/can-i-run-a-data-loader-from-a-data-list ## How do I use the Pipeline Data Lists component inside a custom LWC? https://www.datasyncpro.io/faqs/rules-engines/data-list/how-do-i-use-the-pipeline-data-lists-component-inside-a-custom-lwc ## How do I make a #Data List scroll horizontally? https://www.datasyncpro.io/faqs/rules-engines/data-list/how-do-i-make-a-data-list-scroll-horizontally ## What is an #Action Button? https://www.datasyncpro.io/faqs/rules-engines/action-button/what-is-an-action-button ## Why #Action Button? https://www.datasyncpro.io/faqs/rules-engines/action-button/why-action-button ## How can I execute multiple actions from a single #Action Button? https://www.datasyncpro.io/faqs/rules-engines/action-button/how-can-i-execute-multiple-actions-from-a-single-action-button ## What permissions are needed to use a #Action Button? https://www.datasyncpro.io/faqs/rules-engines/action-button/what-permissions-are-needed-to-use-a-action-button ## What is a #Data Loader? https://www.datasyncpro.io/faqs/rules-engines/data-loader/what-is-a-data-loader ## How do I create a #Data Loader? https://www.datasyncpro.io/faqs/rules-engines/data-loader/how-do-i-create-a-data-loader ## What permissions are needed to use a #Data Loader? https://www.datasyncpro.io/faqs/rules-engines/data-loader/what-permissions-are-needed-to-use-a-data-loader ## Does #Data Loader only support CSV file uploads? https://www.datasyncpro.io/faqs/rules-engines/data-loader/does-data-loader-only-support-csv-file-uploads ## How can I retry only the failed data load batches without reloading the whole dataset? https://www.datasyncpro.io/faqs/rules-engines/data-loader/how-can-i-retry-only-the-failed-data-load-batches-without-reloading-the-whole-dataset ## Is it possible to revert the changes made a data load? https://www.datasyncpro.io/faqs/rules-engines/data-loader/is-it-possible-to-revert-the-changes-made-a-data-load ## Can I make a load fail if a column is missing from the source file? https://www.datasyncpro.io/faqs/rules-engines/data-loader/can-i-make-a-load-fail-if-a-column-is-missing-from-the-source-file ## What is a #Trigger? https://www.datasyncpro.io/faqs/rules-engines/trigger/what-is-a-trigger ## Why #Trigger? https://www.datasyncpro.io/faqs/rules-engines/trigger/why-trigger ## What is a Self-Adaptive #Trigger? https://www.datasyncpro.io/faqs/rules-engines/trigger/what-is-a-self-adaptive-trigger ## How can I calculate rollup summaries using a Self-Adaptive #Trigger? https://www.datasyncpro.io/faqs/rules-engines/trigger/how-can-i-calculate-rollup-summaries-using-a-self-adaptive-trigger ## What is a #Trigger Action? https://www.datasyncpro.io/faqs/rules-engines/trigger/what-is-a-trigger-action ## How can I prevent recursive execution in update triggers? https://www.datasyncpro.io/faqs/rules-engines/trigger/how-can-i-prevent-recursive-execution-in-update-triggers ## How can I manage the execution order of #Trigger? https://www.datasyncpro.io/faqs/rules-engines/trigger/how-can-i-manage-the-execution-order-of-trigger ## How do I manage user access to a #Trigger? https://www.datasyncpro.io/faqs/rules-engines/trigger/how-do-i-manage-user-access-to-a-trigger ## Salesforce requires at least one line of test coverage in an Apex Trigger—how can I achieve this? https://www.datasyncpro.io/faqs/rules-engines/trigger/salesforce-requires-at-least-one-line-of-test-coverage-in-an-apex-triggerhow-can-i-achieve-this ## What is the TRIGGER_FLIPPER pattern? https://www.datasyncpro.io/faqs/rules-engines/trigger/what-is-the-triggerflipper-pattern ## What does Retrieve do? https://www.datasyncpro.io/faqs/processes/retrieve/what-does-retrieve-do The Retrieve step defines how source data is queried from a connected Salesforce org. It's the entry point for record selection in both #Batches and #Data Lists. In #Batch : Retrieve specifies the source records for batch execution—similar to the start() method in Salesforce's Database.Batchable interface. In #Data List : Retrieve defines the SOQL query used to display records to users in the UI. At runtime, DSP automatically fetches only the fields required by downstream steps ( Scoping , Match , Mapping ). Fields selected in the Retrieve query are used mainly for preview and display. ## How do I preview a source record with its transformed values before execution? https://www.datasyncpro.io/faqs/processes/retrieve/how-do-i-preview-a-source-record-with-its-transformed-values-before-execution Go to the Retrieve or Preview section and click a source record. This opens a detail view where you can see: Source: all field values from the retrieved record. Transformed: both the current values (if any) and the transformed values for mapped target fields. If the record doesn't meet execution criteria, you'll see "No target action will be taken for this source record". If multiple target matches exist, DSP shows them as tabs—click any tab to view its transformations. Note: To enable this preview, ensure Open Links in Record Page is unchecked in Query Builder. ## What is the purpose of the 'Additional Retrieve Criteria' field on a Pipeline? https://www.datasyncpro.io/faqs/processes/retrieve/what-is-the-purpose-of-the-additional-retrieve-criteria-field-on-a-pipeline It defines a shared SOQL filter applied to all Executables in the Pipeline. This ensures consistent data retrieval while letting each Executable add its own filters. Benefits: Standardizes data retrieval across Executables. Reduces redundancy by avoiding repeated filters Tip: When editing an Executable's Retrieve query, temporarily remove the shared criteria, make your changes, then reapply it to avoid conflicts. ## What does Preview do? https://www.datasyncpro.io/faqs/processes/preview/what-does-preview-do Preview works similarly to Retrieve , since both run a SOQL query to fetch source data. The difference lies in their purpose across rules engines: Retrieve In #Batch defines and filters source data during execution, determining which records are processed. In #Data List defines the query used to display records. Preview In #Triggers input data comes from the trigger context (records being inserted, updated, or deleted). In #Action Buttons : input data comes from the loaded record in the Lightning Record Page. Preview does not influence which records are processed. Both Retrieve and Preview let you view source records and inspect transformed values before execution—making it easy to validate queries, data, and transformations. ## How do I preview a source record with its transformed values before execution? https://www.datasyncpro.io/faqs/processes/preview/how-do-i-preview-a-source-record-with-its-transformed-values-before-execution Go to the Retrieve or Preview section and click a source record. This opens a detail view where you can see: Source: all field values from the retrieved record. Transformed: both the current values (if any) and the transformed values for mapped target fields. If the record doesn't meet execution criteria, you'll see "No target action will be taken for this source record". If multiple target matches exist, DSP shows them as tabs—click any tab to view its transformations. Note: To enable this preview, ensure Open Links in Record Page is unchecked in Query Builder. ## What is the difference between Preview and Retrieve? https://www.datasyncpro.io/faqs/processes/preview/what-is-the-difference-between-preview-and-retrieve Both Preview and Retrieve run a SOQL query to fetch source data, but they serve different roles: Retrieve (used in #Batch and #Data List ) defines which records are processed or displayed during execution. Preview (used in #Triggers and #Action Buttons ) does not affect input data; instead, it lets you inspect source records and their transformed values before execution. In short, Retrieve controls the records that run, while Preview helps you validate data and transformations without changing the input. ## What does Input do? https://www.datasyncpro.io/faqs/processes/input/what-does-input-do In #Data Loader, Input defines the data profile of an uploaded CSV file — specifying how its columns map to fields in DSP. This structure is then used in Scoping and Field Mappings to prepare the data for processing. Unlike other rules engines, where data comes directly from a Salesforce object, the Input step ensures uploaded CSV data is correctly interpreted and aligned before transformation and execution. ## How do I define an input data profile in Data Loader? https://www.datasyncpro.io/faqs/processes/input/how-do-i-define-an-input-data-profile-in-data-loader In #Data Loader , you can define an input data profile in three ways: During creation: Upload a CSV template file when creating a new Data Loader Executable. After creation: Go to the Input section of the Executable and upload a CSV template file. Manual setup: In the Input section, add CSV columns manually and click Save to store the configuration. ## What naming requirements apply to #Data Loader columns? https://www.datasyncpro.io/faqs/processes/input/what-naming-requirements-apply-to-data-loader-columns In #Data Loader , column names must follow a specific format so they can be referenced in formulas and expressions within Scoping and Field Mappings : Only English letters, numbers, and underscores are allowed. Column names must start with a letter. Column names cannot end with an underscore. ## What does Scoping do? https://www.datasyncpro.io/faqs/processes/scoping/what-does-scoping-do Scoping refines source data in-memory — using filters and joins — to define the exact dataset that flows into downstream processing. It's available in every DSP rules engine: #Batch , #Data List , #Trigger , #Action Button , and #Data Loader . Key functions: Scope Filters (in-memory filtering) — Use DSP formulas and expressions to determine which source records proceed to Match , Mapping , and Action steps. Source Joins — Combine source data with another object (from any Connection) or with a JSON array. DSP supports left joins and cross joins, enabling multi-source refinement and dynamic filtering. Scoping is intended for advanced data shaping that can't be expressed in the initial SOQL query (Retrieve). It runs after data is retrieved or uploaded — but before Match, Mapping, and Actions. ## What is a Scope Filter? https://www.datasyncpro.io/faqs/processes/scoping/what-is-a-scope-filter A Scope Filter is a formula-based condition used in the Scoping step to decide which source records continue through execution. A Scope Filter can return TRUE/FALSE to include/exclude records, or raise an error with the ERROR() function when used as a validation rule. Scope Filters are evaluated in sequence, allowing layered logic at different levels: Pipeline Scope Filter — a global pre-filter applied across all Executables in a Pipeline. Executable Scope Filter — the main condition for a single Executable. Trigger Scope Filters — event-specific filters for #Trigger Executables (e.g., Before Insert, After Update). Post-Join Scope Filter — applied after joins, for additional refinement of enriched data. Together, Scope Filters give precise, layered control — ensuring only relevant records move forward, while supporting validation and filtering at every stage. ## What is a Joiner? https://www.datasyncpro.io/faqs/processes/scoping/what-is-a-joiner In DSP, a Joiner combines each source record with records from an additional dataset. After the Joiner is applied, the combined records become the source data for subsequent processing. How the source data changes depends on the type of join: Left Join (matching key specified): Each source record is paired with matching Joiner records. Cross Join (no matching key specified): Each source record is paired with every Joiner record. The examples below show how the source data changes after each type of join. Left Join Example Source Object Account Joiner JOIN_OBJECT_SOURCE ("Opportunity", "AccountId", Id, "IsClosed = true") Matching Key Opportunity.AccountId = Account.Id Before Joiner Source Records Id Name Industry A1 Acme Technology A2 Beta Retail A3 Gamma Finance Joiner Records Id AccountId Name Amount O1 A1 Acme Renewal 10,000 O2 A1 Acme Expansion 5,000 O3 A1 Acme Upgrade 12,000 O4 A2 Beta Q1 Deal 8,000 After Joiner Id Name Industry $Joiner. Id $Joiner. AccountId $Joiner. Name $Joiner. Amount A1 Acme Technology O1 A1 Acme Renewal 10,000 A1 Acme Technology O2 A1 Acme Expansion 5,000 A1 Acme Technology O3 A1 Acme Upgrade 12,000 A2 Beta Retail O4 A2 Beta Q1 Deal 8,000 A3 Gamma Finance NULL NULL NULL NULL Each source record is paired with its matching Joiner records. One row is produced per match. If no match is found, the source record is retained with NULL values in the $Joiner fields. Cross Join Example Source Object Product2 Joiner JOIN_JSON ('[{"Region":"US"},{"Region":"EU"},{"Region":"APAC"}]') Matching Key None Before Joiner Source Records Id Name P1 Widget P2 Gadget Joiner Records Region US EU APAC After Joiner Id Name $Joiner. Region P1 Widget US P1 Widget EU P1 Widget APAC P2 Gadget US P2 Gadget EU P2 Gadget APAC Every source record is paired with every Joiner record. ## What does Match do? https://www.datasyncpro.io/faqs/processes/match/what-does-match-do Match links source records with their corresponding target records, determining how each action should be applied. It's central to Insert, Update, Upsert, Merge, Delete, and Undelete operations — ensuring records are routed and processed correctly. How Match works: Record Matching — Compares source records to target records using the Target Matching Field . Insert Logic — When a Target Matching Field is defined, records are inserted only if no match exists; without one, inserts proceed unconditionally. Multi-Field Matching — DSP supports a single Target Matching Field, but multi-field matching can be achieved through transformations such as VLOOKUP . Sorting & Selection — Matches can be sorted, and the Principal Matched Record Selection Rule controls whether the action runs on the first match or on all matches. Merge Matching — In Merge operations, the Principal Matched Record becomes the Master Record used to consolidate duplicates. ## What happens if a source record matches multiple target records in an action? https://www.datasyncpro.io/faqs/processes/match/what-happens-if-a-source-record-matches-multiple-target-records-in-an-action By default, DSP applies the action to all matched target records. When a Principal Matched Record Selection Rule is defined, the action runs only on the target record identified as the principal match. ## What happens if a source record matches existing target records during an Insert? https://www.datasyncpro.io/faqs/processes/match/what-happens-if-a-source-record-matches-existing-target-records-during-an-insert If a Target Matching Field is defined and a match is found, DSP skips the insert to avoid duplicates. ## Does DSP still run the Match step when 'Use Salesforce Upsert API' is enabled in an Upsert process? https://www.datasyncpro.io/faqs/processes/match/does-dsp-still-run-the-match-step-when-use-salesforce-upsert-api-is-enabled-in-an-upsert-process No. When this option is enabled, DSP skips its own Match step and relies on Salesforce's Upsert API to decide whether to insert or update. The Target Matching Field must be an External ID field on the target object for the API to perform the match. ## How do I match target records via multiple fields? https://www.datasyncpro.io/faqs/processes/match/how-do-i-match-target-records-via-multiple-fields To match target records using multiple fields, specify Target Matching Field as Id and use a VLOOKUP function in the field's mapping. Example: VLOOKUP("PermissionSetAssignment", "Id", "AssigneeId", Id, "PermissionSet.Name", "DataSyncProStarter") Target Matching Field : Id (of PermissionSetAssignment ) Source Object : e.g., User , using the Id field Matches on : AssigneeId (User Id) and PermissionSet.Name If multiple matches are found, use the Principal Matched Record Selection Rule to control which record is selected as needed. ## How does DSP handle multiple source records matching a single target record? https://www.datasyncpro.io/faqs/processes/match/how-does-dsp-handle-multiple-source-records-matching-a-single-target-record DSP processes the target record iteratively — applying transformations from each matching source record in turn. Later updates overwrite earlier ones, producing a single final version of the target record before execution. To process only one source record per matched target, use the IS_FIRST_IN_ITERATION(...expressions) function in a Scope Filter. This ensures that only the first source record in each group is applied. ## How does Match determine the principal(master) record in a Merge process? https://www.datasyncpro.io/faqs/processes/match/how-does-match-determine-the-principalmaster-record-in-a-merge-process In Merge operations, DSP applies the Principal Matched Record Selection Rule to decide which record becomes the principal (master). This record is retained after the merge, while the others are marked for deletion. Available selection rules: Most Complete – keeps the record with the most populated fields. Most Child Records – keeps the record with the most related child records (requires specifying the child relationship name in Principal Selection Child Relationship ). Most Recently Modified – keeps the record with the latest LastModifiedDate . First Record – keeps the first record according to a custom sort defined in Matched Records Sorting Components (using DSP formulas). When using DuplicateRecordItem as the matching object: By default, the principal is chosen at the DuplicateRecordItem level. You can instead select the principal on the underlying object (e.g., Account, Lead) by specifying its API name in Duplicate Record Object API Name . ## Can I match target records based on a relational field? https://www.datasyncpro.io/faqs/processes/match/can-i-match-target-records-based-on-a-relational-field Yes, simply set the Target Matching Field to a relational field, such as Parent__r.Key__c . ## What is the purpose of the 'Additional Target Matching Criteria' field? https://www.datasyncpro.io/faqs/processes/match/what-is-the-purpose-of-the-additional-target-matching-criteria-field The Additional Target Matching Criteria field lets you append extra SOQL conditions—such as filters or ORDER BY clauses—to the query DSP uses for matching target records. This enables: More precise matching by narrowing down candidate target records. Controlled sorting of matches, especially when combined with the Principal Matched Record Selection Rule . Use this field to fine-tune how DSP identifies and prioritizes target records during the Match step. ## What is the purpose of the 'Matched Records Sorting Components' field? https://www.datasyncpro.io/faqs/processes/match/what-is-the-purpose-of-the-matched-records-sorting-components-field The Matched Records Sorting Components field controls how DSP orders matched target records when multiple matches exist. It accepts semicolon-separated expressions, evaluated in ascending order by default. Example: IsPrimary__c; -$FIELDS_COUNT; -LastModifiedDate This sorts records first by the number of populated fields (DESC), and if equal, by LastModifiedDate (DESC). Prefixing an expression with a minus sign ( - ) indicates descending order. ## What does Mapping do? https://www.datasyncpro.io/faqs/processes/mapping/what-does-mapping-do Mapping defines, field-by-field, how each target field's value is calculated before the action runs. For every field on the target, the designer specifies a formula or expression that produces the value to be written — a direct source-field reference, an operator-based expression, a function call, or any combination — and DSP evaluates it for each record at runtime. Key Capabilities: Per-Field Configuration — Every target field has its own mapping row, with type-aware validation. References to source fields, related-record fields (e.g., Account.Name ), Variables, and DSP functions can all be combined in a single expression. Reference Field Handling — For relationship fields, designers can specify the Reference To object and the External Id Field , allowing target lookups to be resolved declaratively without writing custom logic. Autocomplete & Validation — As designers type, autocomplete suggests available fields, operators, and functions; mappings are validated on save to catch errors before runtime. Productivity Helpers — Quick actions like Add Default , Clear Mappings , and Unmapped Source Fields let designers manage large mapping sets efficiently — useful when working with objects that have hundreds of fields. Automatic Bulkification — Mappings are written as if processing one record; DSP bulkifies the evaluation automatically for high-volume execution. ## How can I manage data relationships? https://www.datasyncpro.io/faqs/transformation/how-can-i-manage-data-relationships Reference fields can be populated in several ways: Use the record ID directly if known. For Record Types, assign either the Developer Name or the ID. For objects with External IDs, map the External ID field. Use VLOOKUP to resolve the record ID by matching one or more fields. ## How do I control the order of field mappings' evaluation? https://www.datasyncpro.io/faqs/processes/mapping/how-do-i-control-the-order-of-field-mappings-evaluation You can control evaluation order using the Seq No. column in Field Mappings In the Executable, open the Related tab. Find the Field Mappings related list. Edit the Seq No. values inline to set the evaluation sequence. Save your changes. When Seq No. is defined, DSP processes mappings in that order. If the source and target are the same record, transformations are accumulative —so a field's output can be used in subsequent transformations. You may also use EVALUATED_FIELD_VALUE to reference the value of a target field from a prior evaluation. ## What does the Add Default button do? https://www.datasyncpro.io/faqs/processes/mapping/what-does-the-add-default-button-do Add Default auto-maps any unmapped target fields to source fields that share the same name and a compatible data type. After the suggested mappings appear, click Save to apply them. ## What does the Clear Mappings button do? https://www.datasyncpro.io/faqs/processes/mapping/what-does-the-clear-mappings-button-do Clear Mappings removes all field mappings except the Target Matching Field . After clearing, click Save to confirm and apply the changes. ## What does the Unmapped Source Fields button do? https://www.datasyncpro.io/faqs/processes/mapping/what-does-the-unmapped-source-fields-button-do Unmapped Source Fields highlights source fields that aren't yet mapped to any target field — making it easy to review what's been left out and decide whether each should be included in the mapping. ## What is the purpose of the 'Refresh' button? https://www.datasyncpro.io/faqs/processes/mapping/what-is-the-purpose-of-the-refresh-button Refresh updates the Mapping section with the latest source and target fields, making any newly available fields ready to map. It also re-sorts target fields into categories (Target Matching Field, Mapped Fields, Reference Fields, Non-Reference Fields), with mapped fields listed first and all fields sorted alphabetically for easier selection. ## What does the Save button do? https://www.datasyncpro.io/faqs/processes/mapping/what-does-the-save-button-do Save validates and stores all mappings in the Mapping section. If any mapping is invalid, an error icon appears next to it — hover over the icon to see the error message. ## What does Action do? https://www.datasyncpro.io/faqs/processes/action/what-does-action-do Action is the final step in an Executable — it defines what operation runs against the target object once Scoping , Match , and Mapping have produced the records to be processed. Action Settings include: Target Object & Action — Choose the target object and the operation to perform: Insert, Update, Upsert, Delete, Undelete, Merge, Publish, or extended actions like Lead Conversion, Send Email, and Bell Notification. Update Behavior — Skip Record Update if No Changes , Skip Fields if Target Value Exists , and Skip Null Value Fields give precise control over when and how target fields are written. DML Controls — All or Nothing governs whether partial successes are allowed; Bypass Duplicate Rule Alerts suppresses Salesforce duplicate warnings; Use Salesforce Upsert API opts into the native upsert behavior; Disable Feed Tracking suppresses Chatter feed entries for the operation. Source Writeback — Optionally write a value back to the source record after a successful action — useful for marking records as processed, deployed, or synced. Configured via Source Object Writeback Field and Source Object Writeback Value . Action Result Processor — Plug in custom logic to process the result of each action (e.g., post-action handling, custom logging). ## Which actions are supported? https://www.datasyncpro.io/faqs/processes/action/which-actions-are-supported DSP supports a wide range of standard DML operations and Apex-based actions, providing powerful flexibility for Salesforce data processing and automation. Standard DML Operations: Insert - Create new records in the target object. If Match is defined, DSP only inserts when no match is found. Update - Modify existing records based on matching criteria. Upsert - Insert if no match is found; otherwise, update the matched record. Delete - Delete target object records. Undelete - Restore records from the Recycle Bin. Merge - Deduplicate and merge records (Accounts, Contacts, Leads, Cases, Opportunities) using Salesforce native merge functionality , while preserving relationships. Publish - Publish platform events. Apex-Based Actions: Send Emails - Send email notifications to dynamic recipients. Bell Notifications - Trigger in-app Salesforce bell notifications. Lead Conversion - Automate converting leads into accounts, contacts, and opportunities. Approvals - Act on SubmitRequest and WorkitemRequest for approval processes. ## How can I avoid creating duplicate records if the target already exists? https://www.datasyncpro.io/faqs/processes/action/how-can-i-avoid-creating-duplicate-records-if-the-target-already-exists Set a Target Matching Field along with its mapping. DSP will check for existing target records before inserting and skip the Insert when a match is found. For more refined matching, use Additional Target Matching Criteria or VLOOKUP . ## How can I implement delta updates? https://www.datasyncpro.io/faqs/processes/action/how-can-i-implement-delta-updates In an Update process, enable Skip Record Update If No Changes . DSP will compare transformed values with existing target values and skip the update if no differences are found. This minimizes unnecessary DML operations and, in many cases, can significantly reduce system overhead—especially for objects with heavy automations. ## Can I skip updating a field if the target already has a value? https://www.datasyncpro.io/faqs/processes/action/can-i-skip-updating-a-field-if-the-target-already-has-a-value Yes. Enable Skip Fields If Target Value Exists to prevent overwriting fields that already contain a value during updates. ## Can I skip a field update if the transformed value is blank? https://www.datasyncpro.io/faqs/processes/action/can-i-skip-a-field-update-if-the-transformed-value-is-blank Yes. Enable Skip Null Value Fields to prevent updating target fields when the transformed value is blank or NULL . ## What is the purpose of Writeback? https://www.datasyncpro.io/faqs/processes/action/what-is-the-purpose-of-writeback Writeback updates the source record after its related target records have been successfully actioned. It's useful for tracking processing status, marking completion, and preventing duplicate processing in future runs. When a Source Writeback Field is configured, DSP supports: Target Record ID(s): Writes a comma-separated list of successfully processed target record IDs back to the source. Static Value (TRUE or FALSE): Writes either TRUE or FALSE to the specified source field. ## What is the purpose of the 'Use Salesforce Upsert API' field? https://www.datasyncpro.io/faqs/processes/action/what-is-the-purpose-of-the-use-salesforce-upsert-api-field This field tells DSP to use Salesforce's native Upsert API with an External ID for upsert actions. Benefits: Improves performance by avoiding extra match queries. Simplifies matching—Salesforce handles the lookup automatically. Supports enabling Bulk API. Considerations: Skip Record Update if No Changes is not supported, since DSP's Match step is bypassed. The Target Matching Field must be an External ID field. ## How does Action support Salesforce Big Objects? https://www.datasyncpro.io/faqs/processes/action/how-does-action-support-salesforce-big-objects When the target is a Salesforce Big Object, DSP supports two operations: Insert — Adds new records. If a record with the same index fields already exists, Salesforce overrides it (this is standard Big Object behavior, even with Insert). Delete — Removes records based on the index fields. The Target Big Object Index Fields must be configured for either operation to run correctly. ## How does Action support Platform Events? https://www.datasyncpro.io/faqs/processes/action/how-does-action-support-platform-events When the target object is a Platform Event, set the Action to Publish. On execution, DSP publishes the event records — making them available to subscribers in near real time for asynchronous processing and integrations. ## What does Verify do? https://www.datasyncpro.io/faqs/processes/verify/what-does-verify-do Verify (available only in #Batch ) defines a query on the target object. After each Batch Execution, the batch log includes a Verify tab where DSP automatically queries and displays target records with the fields defined in the Executable's Verify step. Verify is a built-in inspection step in #Batch that lets you query and review records on the target object — without leaving DSP. It runs at two levels: On a #Batch Executable (Verify tab) — Run an ad-hoc SOQL query against the target object to spot-check data before or after an execution. Useful for confirming records meet expected criteria, validating field values, or building queries with the Query Builder. On a #Batch Execution record (Verify tab) — Automatically scoped to the target records processed by that specific run, so you can review exactly which records were affected and confirm the batch produced the expected outcome. Together, these views make it easy to validate logic during build, troubleshoot after a run, and audit results for compliance — all using familiar SOQL, directly inside DSP. ## What should I keep in mind when using Verify with Action to Bulk API enabled? https://www.datasyncpro.io/faqs/processes/verify/what-should-i-keep-in-mind-when-using-verify-with-action-to-bulk-api-enabled Verify may not work as expected when Bulk API is enabled and target record IDs aren't captured in the Batch Execution log. This typically happens with Insert or Upsert actions, where DSP submits the job asynchronously and the resulting record IDs aren't immediately returned. For actions like Update, where target record IDs are known before submission, Verify continues to work as expected. ## Why is bulkified transformation critical in enterprise data management? https://www.datasyncpro.io/faqs/transformation/why-is-bulkified-transformation-critical-in-enterprise-data-management Bulkified transformation is what allows business rules defined for a single record to scale safely across thousands or millions of records — without rewriting logic or hitting governor limits. In traditional development, bulkification is left to the developer: gather IDs, run queries outside loops, manage collections, batch DML. It's repetitive, easy to break, and a major source of tech debt. DSP removes that burden. All functions, expressions, and relational references — including aggregations like AGG_SUM and parent traversals like Parent.OwnerId — are bulkified automatically. You define rules as if working with one record, and DSP handles the rest. Benefits: Simplicity — Rules read the same way they're described in business terms. Performance — Queries and DMLs are consolidated automatically. Lower tech debt — No hand-written bulkification code to maintain, review, or rewrite as logic evolves. In short: Bulkified transformation is essential for enterprise scale — and DSP makes it effortless. ## What data types does DSP support in its formulas? https://www.datasyncpro.io/faqs/transformation/what-data-types-does-dsp-support-in-its-formulas DSP supports all primitive data types that Salesforce supports, including Blob. ## Can formulas be nested? https://www.datasyncpro.io/faqs/transformation/can-formulas-be-nested Yes. DSP fully supports nesting, allowing one formula to be used inside another. Example: IF( AND( CONTAINS_IGNORE_CASE(Status, "open"), DAYS_BETWEEN(TODAY(), TO_DATE(ClosedDate)) ## How can I handle complex transformations that aren't natively supported? https://www.datasyncpro.io/faqs/transformation/how-can-i-handle-complex-transformations-that-arent-natively-supported When DSP's built-in functions don't cover a specific transformation, you can extend the engine by creating a custom Apex class that implements the SalesforceDataTransformer interface. If your logic is broadly applicable and could benefit other users, we'd love to hear about it — reach out at hello@data-sync-pro.io to suggest it as a built-in enhancement. ## How can I create a reusable formula? https://www.datasyncpro.io/faqs/transformation/how-can-i-create-a-reusable-formula Create a Variable from an Executable's related list by giving it a name and assigning a formula. Variables let you simplify complex expressions and reuse the same logic across multiple mappings, filters, and rules. Each Variable has a defined scope , which controls where it can be referenced: Executable — Available only within the parent Executable. Pipeline — Shared across all Executables in the Pipeline. Connection — Shared across all Executables that share the same Source Connection. Global — Available on every Executable. ## How do I mask sensitive data in sandbox environments? https://www.datasyncpro.io/faqs/transformation/how-do-i-mask-sensitive-data-in-sandbox-environments Use masking functions in an Executable's Field Mappings to generate masked values during execution. DSP provides functions such as: RANDOMIZE — Randomize an existing value (e.g., RANDOMIZE(Birthdate) ). RANDOM_ITEM — Pick a random value from a defined list (e.g., RANDOM_ITEM("United States", "Canada", "Germany", ...) ). SCRAMBLE — Shuffle the characters of an existing value (e.g., SCRAMBLE(FirstName) ). These functions are only supported in sandbox environments to prevent accidental modification of production data. You can also build custom masking formulas — for example, generating obfuscated email addresses: FirstName & "." & LastName & "@test.com" For the full set of masking and transformation functions, see the Transformation documentation. ## How do I evaluate DSP expressions from Apex? https://www.datasyncpro.io/faqs/transformation/how-do-i-evaluate-dsp-expressions-from-apex You can compile and evaluate DSP expressions directly in Apex: Compile a single expression: pushtopics.Expression expr = pushtopics.Expression.compile('TO_UPPER_CASE(LastName)'); Object value = expr.evaluate(myContact); // Example: returns 'SMITH' if myContact.LastName = 'Smith' Compile a list of expressions: pushtopics.Expression[] exprs = pushtopics.Expression.compile( new String[]{ 'TO_UPPER_CASE(LastName)', 'IS_BLANK(Email)' } ); Handle bulkification (for expressions with VLOOKUP or AGG functions): pushtopics.Expression.setContextRecords(externalObjectList); pushtopics.Expression expr = pushtopics.Expression.compile( 'VLOOKUP("Account", "Parent.Type", "AccountExternalID__c", AccountExternalID__c)' ); Object value = expr.evaluate(myExternalObject); pushtopics.Expression.clearContextRecords(); Use setContextRecords and clearContextRecords when evaluating bulk expressions to ensure query optimization and bulkified execution. ## What is Query Manager? https://www.datasyncpro.io/faqs/query-manager/what-is-query-manager ## How do I build a SOQL query with Query Builder? https://www.datasyncpro.io/faqs/query-manager/how-do-i-build-a-soql-query-with-query-builder ## What happens when you execute a query? https://www.datasyncpro.io/faqs/query-manager/what-happens-when-you-execute-a-query ## How does a dynamic filter work? https://www.datasyncpro.io/faqs/query-manager/how-does-a-dynamic-filter-work ## Is pagination handled server-side or client-side? https://www.datasyncpro.io/faqs/query-manager/is-pagination-handled-server-side-or-client-side ## Is the Tooling API supported in Query? https://www.datasyncpro.io/faqs/query-manager/is-the-tooling-api-supported-in-query ## How can I manage my frequently used queries? https://www.datasyncpro.io/faqs/query-manager/how-can-i-manage-my-frequently-used-queries ## Does splitting an Apex batch class with multiple actions into multiple batch Executables slow performance a lot? https://www.datasyncpro.io/faqs/rules-engines/batch/does-splitting-an-apex-batch-class-with-multiple-actions-into-multiple-batch-executables-slow-performance-a-lot