0

How to populate the FROM field on Email option with different email IDs based on the Case record type.

For example, I would like to show Accounts@email.com for Accounts Case record type, finance@email.com for Finance Case record type. How to use the formula field on below screen to populate with different email Ids.

enter image description here

1

You don't need to mention the Case object in your formula:

IF ($RecordType.Name = 'Account', 
   'Accounts@email.com',
   IF ($RecordType.Name = 'Finance',
      'Finance@email.com',
      ''
   )
)

You can use CASE function as well:

CASE(
  $RecordType.Name, 
  'Account', 'Accounts@email.com', 
  'Finance', 'Finance@email.com',
  ''
)
1
  • It worked. Thank you. – Abby Jun 8 '20 at 19:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.