Loading
Insurance
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Update the Flow to Call the Apex Class

          Update the Flow to Call the Apex Class

          Update the Send Email with Attachment To Policy Holder action in the Flow to call the Apex class to send an email with attachment to the policyholder when a case is closed.

          REQUIRED EDITIONS
          Available in: Lightning Experience in Professional, Enterprise, and Unlimited editions where Financial Services Cloud license is enabled with FSC Insurance add-on.
          USER PERMISSIONS NEEDED
          To set up the Request Insurance Proof service process:

          Industries Service Process, Industry Service Excellence, Omnistudio, Case, Service Catalog Request objects Read, Create, Edit, Delete, View All Records

          AND

          FSC Insurance

          AND

          Financial Services Cloud Extension OR FSC Sales

          OR

          Financial Services Cloud Basic

          OR

          Financial Services Cloud Standard

          To use Request Insurance Proof service process:

          Industries Service Process, Industry Service Excellence, Omnistudio, Case, Service Catalog Request objects Read, Create, Edit, Delete, View All Records

          AND

          FSC Insurance

          AND

          Financial Services Cloud Extension OR FSC Sales

          OR

          Financial Services Cloud Basic

          OR

          Financial Services Cloud Standard

          1. Open the cloned orchestration that you created.
          2. Select Notify Account and Close Case.
          3. Click Open Flow in Flow Builder.
          4. Click Send Email with Attachment To Policy Holder.
          5. Click the plus symbol between the Send Email with Attachment to Policy Holder action and the Is Email Sent with Attachment decision element.
          6. Click Action.
          7. Search for and select the Send Email to user with attachment apex action.
          8. Enter these details:
            FIELD NAME VALUE
            Label Send Email with Attachment To Policy Holder
            API Name SendEmailWithAttachmentToPolicyHolder
            Description Calls an action that sends an email with attachment to the policy holder when a case is closed.
             
            Store Output Values (Show advanced options)
            output emailAttachmentStatus
             
            Set Input Values for the Selected Action
            CaseId caseId
            Email Body ClosureEmailBodyTextTemplate
            Email Subject ClosureEmailSubjectTextTemplate
            Send To Email Id accountEmail
             
            Show advanced options
            Manually assign variables Select
          9. Save the flow.
           
          Loading
          Salesforce Help | Article