Newer Version Available

This content describes an older version of this product. View Latest

Sample Case Management Formulas

Available in: All Editions

For details about using the functions included in these samples, see Formula Operators and Functions Overview.

Autodial

This formula creates a linkable phone number field that automatically dials the phone number when clicked. In this example, replace "servername" and "call" with the name of your dialing tool and the command it uses to dial. The merge field, Id, inserts the identifier for the contact, lead, or account record. The first Phone merge field tells the dialing tool what number to call and the last Phone merge field uses the value of the Phone field as the linkable text the user clicks to dial.

1HYPERLINK("http://servername/call?id=" & Id & "&phone=" &
2                      Phone, Phone)

Case Categorization

This formula displays a text value of “RED,” “YELLOW,” or “GREEN,” depending on the value of a case age custom text field.

1IF(DaysOpen__c > 20, "RED",
2IF(DaysOpen__c > 10, "YELLOW", 
3"GREEN") )

Case Data Completeness Tracking

This formula calculates the percentage of specific custom fields that contain data. The formula checks the values of two custom number fields: Problem Num and Severity Num. If the fields are empty, the formula returns the value “0.” The formula returns a value of “1” for each field that contains a value and multiplies this total by fifty to give you the percentage of fields that contain data.

1(IF(ISBLANK(Problem_Num__c), 0, 1) + IF(ISBLANK(Severity_Num__c ), 0,1)) * 50

Suggested Agent Prompts

This formula prompts an agent with cross-sell offers based on past purchases.

1CASE(Product_Purch__c, 
2"Printer", "Extra toner cartridges", "Camera", "Memory cards", 
3"Special of the day")

Suggested Offers

This formula suggests a product based on the support history for a computer reseller. When the Problem custom field matches a field, the formula field returns a suggestion.

1CASE(Problem__c, 
2"Memory", "Suggest new memory cards", "Hard Drive failure", "Suggest new hard drive with tape backup", 
3"")