Skip to main content

#Data Management107 diskutieren mit

I had created a data stream with snowflake connector. I am trying to deploy it with the data kit. 

I have followed these steps. 

1- I have created a devops data kit type. 

2- Added data stream to the data kit. DMO is added with data stream. 

3- I download the package from manifest file. 

4- Authorize the VS code with source org. 

5- Retrieve the component in VS code with package.xml. 

6- Change the org in vs code to target org. 

7- Deployed the components in the target org with package.xml. 

8- On the target org. I can see the data kit but when i clicked on data kit deploy. It got failed with error. 

"DataKit Job Failed due to Internal Error. Please reach out to support team with ID:"   Can anyone help me on this error? 

Is this correct way for data cloud deployment or do we have any other way to deploy with the help of data kit. 

 

@* Data 360 * 

6 Antworten
  1. Gestern 10:12

     In my project, I encountered a similar situation where we were unable to promote Data Kits to other Salesforce instances, whether it was a Partial Copy or a Full Copy sandbox. We reached out to Salesforce Support, but they didn’t have a clue. From my perspective, combining Salesforce CLI, VS Code, and AI

    is the best approach to successfully deploy Data Kits. 

     

    The Issue

    Salesforce generates a single package.xml file for the DevOps Data Kit. While it contains all the items required for deployment, the deployment itself fails due to underlying Salesforce platform limitations and bugs. 

     

    The Resolution

    1. Extract the Data Kit package.xml file.
    2. Retrieve all metadata from your source organization.
    3. Run a validation against the destination organization.
    4. Capture all the deployment errors you receive.
    5. Feed the package.xml and error screenshots into an AI tool, then ask it to split the main package.xml into smaller, logical parts for deployment. Note: This step involves some trial and error. If you are lucky, you will get it right on the first try; otherwise, it might take 2 to 3 iterations.
    6. Deploy the single Data Kit in phases based on the split versions of the package.xml generated by the AI, bypassing the single-file method provided by Salesforce.

    Additional Context

    When you open a Salesforce Support ticket for assistance, they rarely know how to fix this particular issue. Eventually, they suggested we use Change Sets to promote the changes. However, manually selecting Data Kit dependencies is incredibly tedious—in our case, a single Data Kit had 1,000+ dependencies

    . By using AI to break down the massive package into manageable parts, I successfully promoted our changes all the way to Production without any issues. 

     

    Probable Root Cause

    Salesforce launched Data Cloud in a rush. I noticed a very similar pattern when they launched Community Cloud back in 2013, where we faced persistent deployment issues for it all the way up until 2020 and the main issue was promoting dependencies in sequence. same we are noticing in data kit deployments. 

0/9000

I have created a flow that updates 4 custom phone and email fields on the event object. This issue is that it will not update the event series and users are having to go in and edit each even to pull in the needed info. Can you use a flow to actually update an entier series of events?

 Thanks 

 

#Data Management

9 Antworten
0/9000

I have done a couple of FULL Data EXPORTS for SETUP/ADMIN/DATA/DATA EXPORT and I get the same issue where the first few ZIP files cannot be opened, there are 54 ZIP files created and the middle ZIP files are readable but there are no CSV files in them 

 

Has anyone encountered this?

Is there a solution?

 

I have raised a support case but thought I ask the community.

 

many thanks in advance 

 

#Salesforce Developer  #Data Management  #CRM Configuration

1 Antwort
  1. 10. Okt., 12:26

    Try downloading the first few ZIP files again, as large exports often get corrupted during download. If they still will not open, check the export status in Setup to make sure it finished fully before you downloaded. For the readable ZIPs with no CSV files, those objects likely have no data to export, which is normal. If re-downloading does not help, your support case is the right path since they can check the export on their end.

0/9000

Hi, I am working on managing duplicate records on a custom object that contains very few fields :

  • Two Master-Detail fields (Account, Contact)
  • Some Formula fields
  • and the usual standard fields (created by, last modified...)

I know that Formula fields and the standards fields are not supported in the matching rule. Also, I know that a matching rule can only have one lookup relationship field, but we actually only use these two M-D fields to create a record.

 

Salesforce asks to add another field for the matching rule, but no other fields are supported/available for the matching rule.

 

Have you faced similar issue? Thanks

 

 
2 Antworten
  1. 9. Okt., 15:29

    Hi @John C ,Hope your issue was resolved! 

    I faced a similar issue, as org’s matching criteria allow only one lookup field per Matching Rule. 

    So, you cannot include both Account and Contact lookup fields in a single matching rule. 

     

    A possible workaround would be to create two separate Matching Rules for the junction object(which has 2 M-D relationship fields) , one using the Account lookup field and another rule using the Contact lookup field and associate both rules with the same Duplicate Rule

    (Click add rule in Duplicate Rule ) configured to block duplicates. 

     

    Ensure that both Matching Rules are activated for the Duplicate Rule.

    One important consideration is the business requirement: 

     

    • If the goal is to prevent duplicate Account-Contact combinations, both fields must match the existing record.
    • If the goal is to prevent either Account or Contact from appearing more than once, the matching logic would be different.

    Note that using two separate Matching Rules may not enforce the first requirement by itself, so test the configuration to ensure it behaves as intended. 

     

    Hi ,Hope your issue was resolved! I faced a similar issue, as org’s matching criteria allow only one lookup field per Matching Rule.

     

    Thanks!!

0/9000

When I deleted Account it's related Contact got deleted. The Contact was associated with Lookup Relationship with Account. 

5 Antworten
  1. 17. Sept., 05:32

    Hi @Shiv Murti Pal

      

    Although Account–Contact is a Lookup Relationship, Salesforce has a special cascade-delete behavior for standard Account and Contact records.

    When an Account is deleted, its related Contacts are also deleted.

     

    This is standard Salesforce behavior and differs from typical lookup relationships on custom objects. 

     

    Hope this helps! 

0/9000

The DRS SQL Database Repair Tool is among the best solutions to fix issues when the SQL Server transaction log is full due to LOG_BACKUP. Unlike manual methods, which can be risky and complicated, this tool ensures safe recovery of SQL database files without compromising integrity. It supports all SQL Server versions and restores complete database objects with 100% accuracy. The software also provides a preview feature to check recovered data before saving. With its robust recovery engine and user-friendly interface, it is ideal for both IT professionals and beginners.    

3 Antworten
  1. 8. Okt., 11:26

    I’ve often encountered situations when a SQL Server database stops accepting changes due to a full transaction log that results in an error LOG_BACKUP

    . Although it may seem at first that the database is corrupt, in most cases, the problem is caused by transaction log backups or related issues preventing SQL Server from reusing space in the log. 

     

    The first thing to do is to check the database recovery model and ensure that transaction log backups are properly maintained. To do that, open the Database Properties window in SSMS, select the Options page, and verify that the database is not in the Simple recovery model. 

     

    If the database is in Full or Bulk-Logged recovery model, ensure that regular transaction log backups are being taken. You can also check the current log space usage with the following command: 

     

    DBCC SQLPERF(LOGSPACE);

     

     

    Then, execute the below query to see if your SQL Server instance waits to reuse the log: 

     

    SELECT name, log_reuse_wait_desc FROM sys.databases;

     

     

    If the

    log_reuse_wait_desc column returns LOG_BACKUP

    , perform a transaction log backup: 

     

    BACKUP LOG [DatabaseName] TO DISK = 'D:\Backup\DatabaseName.trn'

     

     

    After that, repeat the previous steps to check the log space and wait descriptions. Do not change the database recovery model to Simple to resolve the issue “transaction log for database is full” unless you want to stop backing up the database. 

     

    In most cases, users try to shrink the .ldf file right away when they see that the transaction log is full. Although it may give a quick fix, this is not an appropriate solution for resolving SQL Server log full errors. Moreover, it is not advisable to attempt to delete the .ldf file or use any other radical measures such as killing all queries or repairing the database with a limited understanding of the risks involved. 

     

    Sometimes, long-running transactions, failed jobs, or replication processes can cause the log to fill up. If none of the suggested steps above works, check whether your database has not been physically corrupted or severely damaged. In such cases, the problem may not be related to the log and may require a different approach to resolve. 

     

    Kernel for SQL Recovery can recover database objects and data from corrupt or damaged SQL database files. It is recommended for severe cases when MDF / NDF files are inaccessible and unavailable for any operations.

0/9000

I am trying to install and use Salesforce Data Loader (v67) on my Windows machine. I have successfully downloaded the latest version, extracted the files, and completed the installation process. However, when I try to open Data Loader, the application does not launch properly — a terminal window briefly appears and immediately closes, and the GUI never opens. I have also tried doing a completely fresh installation by removing all previously installed files and configuration data, but the issue persists. Could someone please help me resolve this?  

 

#Data Management

1 Antwort
  1. 8. Okt., 00:43

    Hi Anish,

    That blink is the launcher hitting an error and the console closing before you can read it. On Windows, Data Loader starts from a batch file, so a double-click gives you a window that vanishes the moment Java fails.

    Open Command Prompt, cd into the folder you extracted, and run dataloader.bat from there. If you installed with install.bat, run that the same way so the text stays on screen. Whatever line it stops on is the real failure. Wiping the old config won't show you that line.

    Current Data Loader does not bundle Java. Salesforce's install notes say to install a Java 17 runtime first, 64-bit. Azul Zulu 17 is the one those notes point people at. Set JAVA_HOME to that JDK folder, put its bin directory first on PATH, then open a new Command Prompt. Run java -version in that window. If it isn't the Zulu 17 you just installed, the bat file is still seeing a different Java, or none.

    The other thing that causes the same blink is the folder. Extract to a short path such as C:\DataLoader. Skip Program Files, OneDrive, and any path with spaces or non-English characters. If Windows blocked the zip, unblock it and extract again.

    Config for a given version lives under your user folder in dataloader, then the version, then configs. Clearing that is fine, and it still won't open the GUI if JAVA_HOME is wrong. The write-up is Install Data Loader and Considerations for Installing Data Loader.

0/9000
Hello,

 

Can we mass update help text fields (for standard and custom fields)? 

 

Saw a link https://success.salesforce.com/ideaView?id=08730000000Bp67AAC but solutioning is not very clear.
2 Antworten
0/9000

Hi everyone,

Scenario

  • I ingest data from Amazon S3 into Data Cloud through a data stream, which creates a DLO.
  • I mapped the DLO to a DMO and made some changes to the data in Data Cloud.
  • I now want to write this data back to the matching Salesforce CRM object (in my case a custom object called account_data, matched on account_id).

What I tried

 

I built a

Data Cloud-triggered Flow on the DMO (trigger: a record is created or updated). It uses Get Records to find the CRM record by account_id, then Update Records to copy the field value (for example model) from the DMO record.

The problem

 

The flow only runs when a record in the DMO is

created or updated after the flow is activated. Records that already exist in the DMO, or are reloaded with the same values, never trigger it, so their data never reaches CRM.

What I want

 

A way to push the data from the DMO to CRM for

all records, including existing ones, without having to create or modify the records in Data Cloud to fire a trigger.

What I'm considering

  • A Copy Field enrichment in Data Cloud
  • A schedule-triggered flow that reads the DMO and updates CRM
  • A one-time backfill with Data Loader
  • Give me best practices.

Questions

  1. What is the recommended way to sync existing DMO data to a CRM object on demand or on a schedule?
  2. Is Copy Field enrichment suitable for this, and are there limits I should know about?
  3. Can a schedule-triggered flow read from a Data Cloud object at scale, or will it hit limits?
  4. I think enrichments is only for standard objects and not for custom objects ?

Thanks in advance for any guidance. 

 

#Data360  #Data Cloud  #Data Management  #Salesforce Admin

3 Antworten
  1. 6. Okt., 10:01

    Hi Venkata, 

     

    Best answer to your core ask: use Data Cloud's native Writeback feature (a Batch Transform/Data Transform with a Salesforce Object as the target), not a scheduled Flow. This directly solves your problem — it reads the entire DMO (all existing + new records) on a schedule, writes to CRM via Upsert matched on your key field (account_id), and isn't triggered by create/update events at all, so backfill and ongoing sync use the exact same mechanism. 

     

    How to set it up: 

    1. Data Cloud → Data Transforms → create a Batch Transform (or use an existing one) sourced from your DMO 

    2. In the Writeback/target configuration: Target Type = Salesforce Object, select your account_data custom object 

    3. Action Type = Upsert, map account_id as the matching key, map your other fields (e.g., model) 

    4. Schedule the transform to run as often as needed (this is a genuine scheduled batch job on Data Cloud's side, not something bound by Flow governor limits) 

     

    This directly answers your numbered questions: 

     

    1. Recommended way: Writeback via Data Transform (above), not a flow-based approach, for anything beyond small volumes. 

    2. Copy Field enrichment: works, but it's designed for real-time, per-record enrichment onto existing CRM records as they're viewed/queried — not a backfill mechanism for records that already exist and won't re-trigger. Not the right tool for "sync everything now." 

    3. Scheduled Flow reading DMO at scale: it'll work for low volume, but Flow's Get Records/Update Records has standard governor limits (SOQL rows, DML rows per transaction) — it's not built for bulk DMO-to-CRM sync the way a Data Transform writeback is. Expect it to struggle or need batching logic once you're past a few thousand records. 

    4. Correct — Copy Field enrichment is standard-objects-only. But Writeback via Data Transform is not restricted that way: Salesforce Object as Target Object explicitly supports custom objects, which is exactly your account_data case. 

     

    For the one-time backfill specifically: you don't need Data Loader as a separate step — just run the Writeback transform once manually (on demand) for the backfill, then put it on a schedule for ongoing sync. Same mechanism handles both. 

     

    Reference:

    https://help.salesforce.com/s/articleView?id=ind.dpe_salesforce_object_as_wb_datacloud.htm&language=en_US&type=5

0/9000

How are others handling Video Calls that fail to related to an Account due to prospects joining from their car or a conference room full of people?  We have more records unassigned than assigned and getting the Sales Users to related records back to the proper accounts after the fact is proving to be difficult.  I thought creating a flow that reviews names that DID log as joined against Contact and Lead records, as well as Video Call subject line would be helpful to at least populate another 10-20% of those blanks.  However upon reading more documentation, it looks like SF doesn't support additional flows to match unless we turn off org wide matching.   

How have others addressed this issue, or is it truly an Enablement/Sales issue?  Perhaps an addon tool like

Otter.ai

- or will that also conflict with existing matching?  

 

#Flow  #Agentforce  #Salesforce Developer  #Data Management

3 Antworten
  1. 28. Aug., 15:56

    Hey Misty, 

     

    Your read is accurate: per Salesforce's own docs, Related Record Matching is an org-wide, all-or-nothing setting, when it's on, ECI runs its own algorithm (participant email/domain matching against Contact, Lead, Account) and populates the Related Record field automatically. If you want to run your own Flow-based matching logic instead (your name-against-Contact/Lead + subject line idea), you have to turn Related Record Matching OFF entirely, then a Flow becomes the only thing setting that field. You can't layer a supplemental Flow on top of the native matching to "catch the extra 10-20%", it's one or the other, not additive. 

     

    Given that, your options really are: 

    1. Turn off native matching, build your own Flow to replicate ECI's built-in logic PLUS your extra fallback rules (name-against-Contact/Lead, subject line parsing). This means you inherit responsibility for the baseline matching ECI already does well, not just the edge cases, that's a bigger lift than it initially sounds. 

    2. Keep native matching on, and instead build a separate Flow/batch job that runs afterward on unmatched records only, checking if Related Record is null, then applying your own supplemental logic to update it. This avoids fighting the native system since you're only touching records ECI already gave up on, not replacing its matching entirely. 

    3. Turn on Einstein Activity Capture integration alongside ECI, per Salesforce's own guidance, this specifically enhances guest participant matching quality, which sounds directly relevant to your "joining from a car/conference room" problem, worth testing before building custom logic at all. 

     

    On

    Otter.ai

    or similar tools: since ECI's matching is a Salesforce-side process, not tied to which video/transcription vendor recorded the call, a third-party transcription add-on wouldn't conflict with ECI's matching logic, but it also wouldn't replace or feed into it automatically. It solves a different problem (better transcript quality) than record-matching itself. 

     

    Given the scale you're describing, option 2 (supplement only nulls, don't disable native matching) is usually the least disruptive path, worth prototyping that before considering a full matching rebuild. 

     

    Reference:

    https://help.salesforce.com/s/articleView?language=en_US&id=sales.call_coaching.htm&type=5

0/9000