Skip to main content

#Automation50 discutindo

Hi all! I think I can't get around this but I'm wondering if anyone has any ideas. I have two lines of business (line a and line b) and line b wants to see some information from line a. Previously this has not been needed or possible. 

 

I have managed (using a looking field on the opportunity and a sharing rule) to make that happen. The problem is that if line b runs an account report (for example) they get line a info and we don't want that to happen. If I remove the sharing rule that makes this whole thing work - what I created falls apart. 

 

I'm thinking the only way is do something thing that would require a LOT of work and probably involve bringing in a developer - one or more of the following 

- custom dl account reference object 

- screen flow search 

- custom LWC 

anyone have any other thoughts/ideas? 

Thank you in advance as always for any help!  :) 

 

#Salesforce Admin  #Salesforce  #Sales Cloud  #Automation

2 respostas
0/9000

Hey Trailblazers 👋 

 

Sharing a new update to Salesforce Metadata Navigator: manage queue and group membership directly from the extension. 

 

You can now:

🔎 Search for queues and groups 

➕ Add members 

➖ Remove members

All in a few clicks, from one place. 

 

Whether you’re onboarding someone or updating membership after a team change, the goal is simple: reduce repetitive Setup navigation and make everyday admin tasks easier. 

 

Watch the demo below 👇 

Hey Trailblazers 👋 Sharing a new update to Salesforce Metadata Navigator: manage queue and group membership directly from the extension.

 

 

 

Try the extension: 

https://chromewebstore.google.com/detail/salesforce-metadata-navig/bhhjfabaooemhhmiigmcemjelhmjhmkf

 

 

If you manage queues and groups regularly, what would make this workflow more useful for you?

#Salesforce Developer #Salesforceadmins #TrailblazerCommunity

 

#Salesforce @* Release Readiness Trailblazers *@* Salesforce Administrators *@Admin Tricks #RRTreasureHunts #New Releases #Automation

0/9000

Hi everyone,

I am designing a Data Cloud flow where a CRM staging object is regularly purged due to retention rules. In Data Cloud, we need to keep the processed data in a permanent target table for audit purposes, even after the source records are deleted.

With UI-based Batch Data Transforms, platform-managed Full Refreshes periodically rebuild the target table from scratch based only on current source data. This would wipe out our historical target records once the source is purged.

I want to confirm how Python Custom Code Extensions (PySpark SDK) handle this:

  1. When using client.write_to_dmo(..., write_mode=WriteMode.APPEND), does PySpark strictly append new rows without ever wiping or truncating the target table?
  2. Is PySpark execution completely immune to automatic platform Full Refreshes, meaning Data Cloud will never automatically wipe and rebuild a target table written via Custom Code?
  3. Under WriteMode.MERGE, if a record is deleted from the source table, can we confirm it remains untouched in the target table rather than being deleted?

Has anyone implemented this pattern for keeping permanent history from short-lived staging sources in Data Cloud?

Thanks!  

 

#Data360  #Automation

2 respostas
  1. 21 de set., 20:46

    Hi Alessandro,

    Regarding your design pattern for preserving historical audit records from short-lived staging sources in Data Cloud, here are the technical confirmations for how PySpark Custom Code Extensions handle write operations: 

     

    1.WriteMode.APPEND Execution:Append Behavior. 

    When using client.write_to_dmo(..., write_mode=WriteMode.APPEND), PySpark strictly appends new incoming rows to the target Data Model Object (DMO) or Data Lake Object (DLO) without truncating or wiping existing data. It will never automatically rebuild or clear out historical rows. 

     

    2.Immunity to Full Refreshes:Platform Independence. 

    PySpark code execution is completely separate from the platform-managed Full Refresh schedules used by standard UI Batch Data Transforms. Data Cloud will not automatically trigger a full rebuild or drop table operation on targets populated via Custom Code Extensions. 

     

    3.WriteMode.MERGE and Source Deletions:Merge Behavior on Deletions. 

    Under WriteMode.MERGE, records that are deleted or purged from the source staging table remain untouched and preserved in the target table. Merge updates or inserts matching records based on keys, but it does not propagate source deletions to remove historical records from the target.

0/9000
Nich Weidman perguntou em #Flows

We have a process we're updating that involves sending out an automated email when a new record is created on a custom object.  Everything tested out in Sandbox, but when migrated to Prod, two slightly different emails are triggering when I test.  Talking with the internal customer, they said, "Yeah, that's always been going out," but they don't know who originally set it up.   

 

  • It would have been set some time before me...but it's not triggering in Preprod, which has been refreshed recently - so I'd think it would.
  • Checking Flow triggers, the only other flow triggering off of that custom object updates a field - there are no send email elements to it.
  • I don't see any legacy email alerts or Workflow actions for it
  • I turned off my Flow, opened a debug log on the automated process user, and nothing generated when I triggered that mystery email (that still came through.)

 

I'm kind of at a loss to figure out where to check from here. 

 

#Flows  #Email  #Flow  #Automation

3 respostas
  1. Smitha Thomas (CIBC) Forum Ambassador
    5 de out., 23:27

    Hi @Nich Weidman

     

    When Salesforce sends a system email, it includes special header fields that identify the source organization and user. To identify the source, locate the following fields in the raw email headers:

    • X-SFDC-LK — The Salesforce Organization ID (the 15- or 18-character org ID of the org that sent the email).
    • X-SFDC-User — The Salesforce User ID of the user whose automation triggered the email.
    • X-SFDC-EntityId — The record ID of the Salesforce entity (such as a workflow rule or report) that triggered the email.
    • X-SFDC-Emailcategory — The category of the email (for example, workflow, report, or Chatter digest).
    • X-SFDC-ORGTYPE — The type of org that sent the email. Note: this field only appears in emails sent from Free or Trial orgs. It does not appear for production, sandbox, or developer org emails.

    Important:

    Use the original .msg formatted email — not a forwarded copy. Forwarding an email overwrites the original headers, making it impossible to identify the source org. 

     

    Find the User Id from

    X-SFDC-User

    then go to set up and add a Debug trace for the user and then triggert the email. This will create a debug log for you to read and find the source. 

     

    Check out these articles for more info:

    1. Find the email headers for emails
    2. How to Identify the Salesforce Organization That Sent a System Notification Email 

       

0/9000

Anyone have any flows they are created to do either of these functions? 

Any resources out there that you know of?  

Would appreciate any comments 

 

#Trailhead Challenges  #Trailhead  #Salesforce Developer  #Salesforce Admin  #Salesforce  #TrailblazerCommunity  #Flow  #Sales Cloud  #Automation

3 respostas
  1. 5 de out., 19:01

    What are you trying to accomplish outside of the native tools?  If you can give a scenario, then the community might be better able to assist you.  As your question reads, @Vishal Verma provided the best answer - as a rule of thumb, it is always better to use out of the box functionality in Saleforce because it scales better. :)

0/9000

Hi everyone,

I’m working on a Tableau dashboard where users select a Mission ID using a filter dropdown.

Some Mission IDs are milestone-based, while others are not.

I have a field [Milestone Rank], and the condition for a milestone-based Mission ID is:

COUNTD([Milestone Rank]) > 0

I have a separate dashboard section containing several milestone-related charts. What I want is:

  •  If the selected Mission ID is milestone-based → show the milestone section. 
  •  If the selected Mission ID is not milestone-based → completely hide the milestone section. 
  •  When the section is hidden, I also want the empty space to collapse, rather than leaving a blank area. 
  •  The Mission ID list comes from the database, so new Mission IDs can be added over time. 
  •  Ideally, I want to keep the Mission ID as a filter dropdown, rather than requiring the user to manually change another Show/Hide parameter. 

I tried using Dynamic Zone Visibility, but Tableau does not show my Boolean calculated field as an available value for “Control visibility using value.”

I also tried a Boolean parameter for Show/Hide, but then the user has to manually change the parameter every time they select a different Mission ID, which isn't practical.

Is there a way to make Dynamic Zone Visibility respond automatically to the selected Mission ID while keeping the Mission ID as a filter?

If not, what would be the recommended Tableau approach for achieving:

Mission ID filter → detect whether milestone exists → automatically show/hide a dashboard zone → collapse the space when hidden?

Thanks! 

 

#Tableau Desktop & Web Authoring  #Reports & Dashboards  #Tableau Cloud  #Automation  #Analytics

3 respostas
  1. 5 de out., 08:13

    Chris's Set and FIXED LOD approach looks like the right solution.

     

    One additional dashboard-layout point: if the milestone section contains multiple worksheets, place all of them inside a single tiled layout container and apply Dynamic Zone Visibility to that container rather than to each worksheet individually.

     

    That way, when the Boolean calculation returns False, the entire milestone section is hidden and the surrounding tiled content can use the released space.

0/9000

so currently I'm making my own chatbot app, I'm training my own AI using machine learning and NLP for that app but how am I supposed to implement that AI model into Salesforce.. basically I want to make a UI and provide a database for that app, so what kind of salesforce technologies can help me to make a UI and to provide an overall backend + any additional tips?

#Sales Cloud #Salesforce Developer #Service Cloud #Experience Cloud #Integration #CRM Configuration #Automation 

2 respostas
  1. 2 de out., 10:54

    For a chatbot interface, I would keep the first screen very simple. Give users a few clear options and an obvious place to type their question. A visible route to human support is important too. Then test the interface with ordinary users. Their confusion will quickly reveal what needs changing.

0/9000

Ever wish you could grab Salesforce field API names without leaving the record page? 😅 

 

Yes, tools like Salesforce Inspector can help with API names too. 

 

But I wanted something more seamless with Salesforce Metada Navigator

 

👉 You're already on the Record Details page  

👉 Click Show/Copy API 

👉 See the API names right next to the fields 

👉 Ctrl + Click to select multiple API names 

👉 Copy them all at once 

👉 Paste directly into the SOQL Query Editor 

 

And here's the part that saves even more time:

The copied API names are automatically converted into SOQL format. ⚡

No opening another tab. 

No jumping between pages. 

No copying fields one by one. 

No manually formatting your query. 

 

Just:

Record Page → Select Fields → Copy → Paste → SOQL 🚀 

 

It's a small feature, but these are the kinds of small workflow improvements that can save a surprising amount of time when you're working in Salesforce every day. 

 

Ever wish you could grab Salesforce field API names without leaving the record page? 😅 Yes, tools like Salesforce Inspector can help with API names too.

 

#Salesforce @* Release Readiness Trailblazers *@* Salesforce Administrators *@Admin Tricks #RRTreasureHunts #New Releases #Automation

0/9000

Hello everyone

I need help to complete a unit in a trailmix set up case esclation project

Unit :create an automation with flow builder

I created the automation flow process but while I create the case to taste the flow

It gives me this message

And I tried to delete the flow , but it can't be deleted too!

Any help, please?

Thanks

#Trailhead#Flow #Automation
3 respostas
  1. Eric Burté (DEVOTEAM) Forum Ambassador
    29 de set., 22:49

    Hello @Mohamed Magdy

    make sure you have well set up all lines with ID in your flow configuration items. See for example the note from within the trailhead unit : "Note: Make sure you select the Account ID option that has a Record data type, signified by a > in its row. Could you please also provide us a debug trace of your flow, or screenshots of your configured elements from within your flow ? 

    Eric 

     

     

0/9000

I’m working with a Salesforce Flow that processes a relatively large number of records, and I’m looking for ways to improve its performance and reliability. 

 

The Flow currently performs several record queries and updates during execution. As the amount of data increases

,

the Flow takes longer to complete and can sometimes approach Salesforce governor limits. 

 

What are some recommended approaches for optimizing a Flow in this situation? For example, would reducing Get Records operations, using collections more effectively, or moving some logic to Apex help? 

 

I’d appreciate any practical suggestions or best practices for designing scalable Salesforce Flows. 

 

#Salesforce Platform  #*saleforce Platform Basic* - Understand The Salesforce Architecture  #Flows  #Slack Developers  #Automation

3 respostas
  1. 29 de set., 10:31

    Hi @James K.k

     

     

    The biggest win is usually reducing database operations, not just reducing Flow elements.

    I’d bulkify the Flow around collections, eliminate Get Records/DML inside loops, and query only the fields/records actually needed. If the volume or logic still pushes governor limits, I’d move that part to Apex and let Flow handle the orchestration.

0/9000