Skip to main content Take our 5-minute Community Survey. Open now through 4/11/2025. Click here to participate.

Feed

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

I get an error that says, "it looks like the Unified Link 2 Flow element does not have the correct settings for the second filter." I see the mistake but, when I go to edit the issue, I don't have an option to save the changes. Instead, I have the option to "Save as a New Version" but the system only seems to verify V1 so saving a new version doesn't allow me to advance.  

 

#Trailhead Challenges

4 answers
0/9000

We are creating an LWC component using the @wire hook to retrieve an image from a product. Our approach is to fetch the product using ConnectApi.CommerceCatalog.getProduct and then access product.defaultImage.url. However, the URL we receive is unexpected and does not successfully open an image. Example: 

 

/cms/delivery/media/MCJN3JGPO2BNH5HH74G3THSV7ZDM?channelId=0ap9O0000001ISk&oid=00D9O00000CXtbV 

 

What could be the misunderstanding here did we go in to wrong direction or we might miss some configuration? 

1 answer
0/9000

I'm calling an apex class from omniscript with following code:

@JsonAccess(serializable='always')

global with sharing class Omniscript implements omnistudio.VlocityOpenInterface2 {

global Map<String,Object> invokeMethod(String methodName, Map<String, Object> inputMap, Map<String, Object> outMap, Map<String, Object> optMap) {

Boolean result = true;

try {

if(methodName.equals('test')) {

respOmnistudio(inputMap, outMap);

}

} catch (Exception e) {

System.debug('Error: ' + e.getMessage());

result = false;

}

return outMap;

}

private static void respOmnistudio(Map<String, Object> inputMap, Map<String, Object> outMap) {

System.debug('inputMap: ' + inputMap);

outMap.put('treeType', 'Pino');

System.debug('outMap: ' + outMap);

}

}

but I'm getting the error "Invalid conversion from runtime type Omniscript to System.Callable". Seems to be something related to serialize. So checking documentation, it says : 

"A Remote Action calls the specified Apex class and method or the specified Invocable Action. You can also pass in invocation options and data. The Apex class must implement the Callable interface.If the data a Remote Action returns isn't in Map<String, Object> format, an Integration Procedure or DataRaptor might not be able to process it. You can convert the data in one of these ways:In the Remote Action, under Remote Options, add a Key named reserialize with a Value of true.In a subsequent Set Values step, use the RESERIALIZE function on the Remote Action's output.For information about related functions such as DESERIALIZE and SERIALIZE, see the Function Reference.An error message that begins with Invalid conversion from runtime type String often indicates a need to reserialize data.

but adding the key "reserialize":"true" in remote options, does nothing. Any help wilil be appretiated.

4 answers
0/9000

Hi, Can we use custom actions in SDR agent for updating lead record? if yes how can we pass just created lead to an agent? 

 

 

Thanks! 

 

#Agentforce

4 answers
  1. Mar 21, 11:46 PM

     ExamForSure made my Salesforce certification journey so much easier. Their practice tests were spot on! 

0/9000

Hello! 

 

I'm having issues with the "General FAQ" topic when I'm creating a Service Agent, what happens is that the "Answer Questions with Knowledge" action is not retrieving any data even though i already added a Data Library, already checked the permission group (which doesn't have the Knowledge Object Read setting so i had to make another permisssion set that gives the permission to read Knowledge" . 

 

I also checked and Data Cloud is enable, i can even look at the Search Index.  

 

I also tried by adding my knowledge articles into a file and adding the file to another Data Library but it's still not working.  

 

#Agentforce

4 answers
  1. Mar 22, 12:53 AM

    Check data mapping, re-index knowledge articles, verify API access, and review debug logs. If the issue persists, contact Salesforce Support.

0/9000

I've enabled financial roll-ups via the custom settings, but Bank Accounts are not rolling up to the Financial Summary on the household.  Investment and Insurance Policies are rolling up. 

 

Can someone advise how to trouble shoot this?  Thanks! 

 

#Trailhead Challenges

3 answers
  1. Apr 2, 5:42 PM

    Found the issue.  Needed to find the correct RBL to activate in the Rollup By Lookup Configurations object.

0/9000

I'm simply trying to assign this Action Plan Template to a program. The target object in the template is set to Program, and the template is published but I keep getting this error. I have checked all my permissions and CRE settings and everything should be working just fine. I made a few other tests targeting different objects and have still gotten the same errors. Really not sure what else could be going wrong here. 

Unable to assign Action Plan Template

4 answers
  1. Today, 6:32 PM

    @Padmini Katekar It's been a while, but I remember it being a simple solution. Is your Action Plan Template in "published" status? 

0/9000

I'm trying to display the most recent 'original value' from a fields history.  

The status field (active, inactive, deactivated) is a formula field, so to enable field history I created a hidden field that is populated by whatever is in the status field, and tracked the hidden field. What I'm trying to do now is show the value that the field was updated from on the record.  

For example, if a contact's status was active and has now been updated to inactive, I want the Current Status field to show Inactive, and the Previous Status field to show Active (based on the current status field history).  

Is there a way to do this? 

 

#Nonprofit

6 answers
  1. Today, 6:31 PM

    @Miriam Bernstein

    Yeah, you should be okay to deprecate it (AFTER you've validated the Flow) 

     

    You should also be able to do a retroactive backfill of the new custom field from an Field History Report (if you have the source field tracked)

0/9000

We are using a Salesforce Labs managed package (Trail Tracker ), and we noticed that some of the Apex classes and triggers are on an API version below 45.0. Can anyone help us how to upgrade this managed package.     

3 answers
  1. Mar 23, 2:38 PM

    To upgrade the API version for "Magic Mover for Notes and Attachments":

    1. Check if there's an update for the package in Setup > Installed Packages and install it if available.
    2. If you need to update manually, go to Apex Classes or Apex Triggers, open the ones you need, change the API version at the top, and save.

    After updating, test everything to make sure it works!

0/9000

ResourceAbsence is a standard object.  Reports are not checked by default.  I need my service managers to be able to report on these absences for KPI report purposes.  What do I need to do here to allow reporting?

1 answer
  1. Today, 6:31 PM

    Hi,

     

    If

    ResourceAbsence is a standard object, it should appear by default when creating a new report.

    Let’s go step by step:

    1. First, as an administrator, you should have full access to create reports for this object.
    2. If you don’t see it in the "Create Report" window, scroll down to the Hidden Reports section.
    3. Click on Manage Reports to make it visible or create a custom report type that suits your needs.

    Finally, once everything is set up, make sure the users have the necessary access to the ResourceAbsence object to view or use the report.

0/9000