Skip to main content

#WhyAdminsDrink0 debatiendo

Issue:  I have been tasked with creating a simple scoring system for certain Task types in either a field or a report formula.  

 

After trying several options, the simplest way seemed to be a custom formula field on the Activity object with the output being number so that it can be SUM'ed at the report level. BUT I can't reference the Task's Type field in the formula, it oddly doesn't seem to exist as an option.  I settled on the Subject field and a case formula which works great for everything except Emails because the subject of the email is never "Email".  

 

This is the current formula:

 

CASE( Subject

, "Outreach", 1

, "LinkedIn Message", 1

, "InMail", 1

, "Email", 1

, "Call", 1

, "Cold Email", 1

, "Text Message", 1

, "Meeting", 5

, "Client Meeting - Development", 5

, "Client Meeting - Retention", 5

, "Video Call", 5

, "Meal Meeting", 10

, "Client Meeting - Retention", 10

, "Business Review", 10

, "Client Meeting - Special", 10

, 0

)

 

I also tried working with this field at the report formula level where I created various versions of a formula stating IF (ISPICKVAL( TASK_TYPE, "Email"), 1, Activity.Activity_Score__c).  BUT that ends up being an issue because Text vs Number.

 

Any suggestions on how I can include Emails (with a score of 1) in these calculations?   

 

@Formulas - Help, Tips and Tricks 

11 respuestas
0/9000

I cannot find a way to add the Knowledge Article List component to any page on an LWR site.

 

it looks like it was beta in Winter 24, but now it's just MIA?

 

https://help.salesforce.com/s/articleView?id=release-notes.rn_knowledge_article_list_component.htm&release=246&type=5

40 respuestas
  1. Andrew Russo (BACA Systems) Forum Ambassador
    11 sept 2024, 19:45
    Deal
0/9000