Skip to main content Salesforce and Tableau exam registrations are now closed through July 21st. Learn more about the new Salesforce certification experience coming soon.

Feed

Connect with fellow Trailblazers. Ask and answer questions to build your skills and network.

Challenge Not yet complete... here's what's wrong: 

We can't find all of the expected emails were restored. Make sure you've identified all contacts affected by the data corruption event. 

 

#Trailhead Challenges

5 answers
  1. Today, 8:46 AM

    Hi @Harshini Kadambala this challenge requires you to restore the correct email data corrupted by Marketing Integration User. To see the records you can query on ContactHistory object where data type is Email and Contact.LastModifiedBy Marketing Integration User, later you can restore the old email id to correct the data.

0/9000

Hello all 

 

We are exploring an idea of triggering 'Data action'(Feature in Data Cloud that works on CDC architecture) through apex change event trigger. Since we already have it for Sobject(platform feature), we want to extend apex trigger for Data Cloud objects as well. Have you seen this ask from customers or prospects or you have a need? Basically, trying to see the value of ideating this topic

3 answers
0/9000
0/9000

I already turned on this setting:Why I still encounter

But still got this error in Login History monitoring when I request token in PostmanScreenshot 2024-11-18 113142.png

Asking for help. Thanks

 

 

#Security

7 answers
0/9000

Hi All ,  

 

I've a requirement where I need to log errors occuring inside omnistudio components like Integration procedure(IP). To log the errors , I've written an apex class as given below. The apex class will basically log all the errors occurring inside omnistudio components in a custom object called 'Error logger'.  

 

I have an IP where there is an error which says 'Regex too long' . My requirement is to firstly read this error from the IP and log it inside the custom object. For doing this , I've created a remote action and configured the apex class inside it. I've passed all the required input params to this remote action . 

I've configured this remote action step right after the step that's causing the regex error. The idea is , the error will firstly appear in the error block of the IP , below the debug log and then am reading this error message from 'Error' node and sending it to the class. 

 

But am encountering an issue in this approach. The IP is not executing after the error causing step . so the remote action is not at all executing . To prevent this i tried unchecking 'fail on step error' checkbox in all the elements but its still the same.  

 

Can someone kindly help me on this and let me know if the above requirement is feasible to acheive inside omnistudio components. 

 

Apex class I wrote: 

 

global with sharing class OmniStudioErrorLogger implements Callable { 

 

    /** 

     * This method is invoked through the System.Callable interface 

     * Typically from OmniStudio via a Remote Action in Integration Procedure 

     */ 

    global Object call(String action, Map<String, Object> args) { 

        if (action == 'logError') { 

            return logError(args); 

        } 

        return null; 

    } 

 

    /** 

     * Logs the error details into Error_Logger__c object 

     */ 

    private Object logError(Map<String, Object> args) { 

        try { 

            String errorMessage = (String)args.get('errorMessage'); 

            String componentName = (String)args.get('componentName'); 

            String stackTrace = (String)args.get('stackTrace'); // optional 

 

            Error_Logger__c logEntry = new Error_Logger__c( 

                Name = 'Error - ' + componentName + ' - ' + DateTime.now().format(), 

                Error_Message__c = errorMessage, 

                Component_Name__c = componentName, 

                Time_Logged__c = DateTime.now(), 

                Stack_Trace__c = stackTrace 

            ); 

 

            insert logEntry; 

            return 'Error Logged Successfully'; 

        } catch (Exception ex) { 

            // Optionally handle logging failure here 

            System.debug('Failed to log error: ' + ex.getMessage()); 

            return 'Logging Failed: ' + ex.getMessage(); 

        } 

    } 

 

 

#Omnistudio  #Apex

0/9000

Step not yet complete in Data Cloud and Einstein AI

We can't find a Data Cloud Related List on the Contact object for the ExternalReservation object with a child relationship name of Reservations. 

 

#Trailhead Challenges

2 answers
0/9000

Unable to find copy binding machine in the pick list. 

Can you please help me with this 

I connected with developer addition only. 

Unable to find

Please help me with this . 

Thanks in Advance 

 

 

#Trailhead

4 answers
0/9000